From patchwork Wed Mar 22 08:18:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 9638213 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1E8EA60327 for ; Wed, 22 Mar 2017 08:20:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F1C16281F9 for ; Wed, 22 Mar 2017 08:20:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E002027317; Wed, 22 Mar 2017 08:20:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5983627317 for ; Wed, 22 Mar 2017 08:20:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758961AbdCVIUN (ORCPT ); Wed, 22 Mar 2017 04:20:13 -0400 Received: from mail-wm0-f45.google.com ([74.125.82.45]:33352 "EHLO mail-wm0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758939AbdCVISj (ORCPT ); Wed, 22 Mar 2017 04:18:39 -0400 Received: by mail-wm0-f45.google.com with SMTP id v203so6815915wmg.0 for ; Wed, 22 Mar 2017 01:18:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=OR1e/BLUCt2lDF9orBnG179QDgUOthDG4NfEdifp+go=; b=QXlM2tNKwD0ptA66WPblujXufmuQEx/1isUFrq9xsfzeYtLxPBJay9DZIwkWlVO8R2 baxDM9Tlh0+LK+Tckj16PKLF/JpGGPBvwS76zAbj4aIKizLz66Yl0hNDS7/MNqK3gwGk WHfoCD892lZNQgf2aLAtP0Pz1bWAo2LCs+OIo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=OR1e/BLUCt2lDF9orBnG179QDgUOthDG4NfEdifp+go=; b=qkfOEpSkO6NXiLq4+uYcRfzoVbRuykNsNk4OcH8W2CEUeIUMpM9/JtzI7F+QIesPlK lZGHFcDfjNkPY9Yd6X5BMMMStXiP7OWIrNMq5Gc2TjQAN0lZBTcfk4hwcnQP7HX8sdEC TrLCJCPgdhVBQWefDHFRWTAOZandhsLS9sA5jlhnkMtcEoD1p8tmjRgJOk5u1c46TrbE yOABX8dW1YmV0DX/EMMb1IhApc0czGfwsFKTw9g/fz07CJ3FiEXUl2i0N7Oq9U7mgRmH G+EB9UXJ/a1OdQFUEx3Tdz2N97td7/qmqhfO9k34vVtP4Gq+U7fEn422iUSGld7dZPQ1 3HiQ== X-Gm-Message-State: AFeK/H2HIaivXqjPRCW6lYgk6nrYLKwL4ArhzXps0zDDw7RPmHc1368UFt63K8sVPFuPrxF4 X-Received: by 10.25.37.10 with SMTP id l10mr10036609lfl.17.1490170717566; Wed, 22 Mar 2017 01:18:37 -0700 (PDT) Received: from localhost.localdomain (c-357171d5.014-348-6c756e10.cust.bredbandsbolaget.se. [213.113.113.53]) by smtp.gmail.com with ESMTPSA id g65sm235887lfk.10.2017.03.22.01.18.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Mar 2017 01:18:36 -0700 (PDT) From: Linus Walleij To: Michael Turquette , Stephen Boyd Cc: linux-clk@vger.kernel.org, linux-arm-msm@vger.kernel.org, Linus Walleij , devicetree@vger.kernel.org Subject: [PATCH 1/3] clk: qcom: Update DT bindings for the MSM8660/APQ8060 RPMCC Date: Wed, 22 Mar 2017 09:18:23 +0100 Message-Id: <20170322081823.20446-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.9.3 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP These compatible strings need to be added to extend support for the RPM CC to cover MSM8660/APQ8060. We also need to add enumberators to the include file for a few clocks that were missing. Cc: devicetree@vger.kernel.org Signed-off-by: Linus Walleij Acked-by: Rob Herring --- Documentation/devicetree/bindings/clock/qcom,rpmcc.txt | 2 ++ include/dt-bindings/clock/qcom,rpmcc.h | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/qcom,rpmcc.txt b/Documentation/devicetree/bindings/clock/qcom,rpmcc.txt index a7235e9e1c97..d470a0187035 100644 --- a/Documentation/devicetree/bindings/clock/qcom,rpmcc.txt +++ b/Documentation/devicetree/bindings/clock/qcom,rpmcc.txt @@ -10,6 +10,8 @@ Required properties : - compatible : shall contain only one of the following. The generic compatible "qcom,rpmcc" should be also included. + "qcom,rpmcc-msm8660", "qcom,rpmcc" + "qcom,rpmcc-apq8060", "qcom,rpmcc" "qcom,rpmcc-msm8916", "qcom,rpmcc" "qcom,rpmcc-msm8974", "qcom,rpmcc" "qcom,rpmcc-apq8064", "qcom,rpmcc" diff --git a/include/dt-bindings/clock/qcom,rpmcc.h b/include/dt-bindings/clock/qcom,rpmcc.h index 96b63c00249e..44358562a031 100644 --- a/include/dt-bindings/clock/qcom,rpmcc.h +++ b/include/dt-bindings/clock/qcom,rpmcc.h @@ -37,6 +37,10 @@ #define RPM_SYS_FABRIC_A_CLK 19 #define RPM_SFPB_CLK 20 #define RPM_SFPB_A_CLK 21 +#define RPM_PLL4_CLK 22 +#define RPM_PLL4_A_CLK 23 +#define RPM_SMI_CLK 24 +#define RPM_SMI_A_CLK 25 /* SMD RPM clocks */ #define RPM_SMD_XO_CLK_SRC 0