Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1548356 > unrolled thread

[PATCH v2] ARM: dts: qcom: apq8064: Add missing scm clock

Started byBjorn Andersson <bjorn.andersson@linaro.org>
First post2016-12-29 21:10 +0100
Last post2017-01-02 17:50 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH v2] ARM: dts: qcom: apq8064: Add missing scm clock Bjorn Andersson <bjorn.andersson@linaro.org> - 2016-12-29 21:10 +0100
    Re: [PATCH v2] ARM: dts: qcom: apq8064: Add missing scm clock Andy Gross <andy.gross@linaro.org> - 2017-01-02 17:50 +0100

#1548356 — [PATCH v2] ARM: dts: qcom: apq8064: Add missing scm clock

FromBjorn Andersson <bjorn.andersson@linaro.org>
Date2016-12-29 21:10 +0100
Subject[PATCH v2] ARM: dts: qcom: apq8064: Add missing scm clock
Message-ID<sTPbr-2Ka-5@gated-at.bofh.it>
As per the device tree binding the apq8064 scm node requires the core
clock to be specified, so add this.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
---

Changes since v1:
- Changed clock to Daytona Fabric

 arch/arm/boot/dts/qcom-apq8064.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi
index 1dbe697b2e90..a27cc96ac069 100644
--- a/arch/arm/boot/dts/qcom-apq8064.dtsi
+++ b/arch/arm/boot/dts/qcom-apq8064.dtsi
@@ -4,6 +4,7 @@
 #include <dt-bindings/clock/qcom,gcc-msm8960.h>
 #include <dt-bindings/reset/qcom,gcc-msm8960.h>
 #include <dt-bindings/clock/qcom,mmcc-msm8960.h>
+#include <dt-bindings/clock/qcom,rpmcc.h>
 #include <dt-bindings/soc/qcom,gsbi.h>
 #include <dt-bindings/interrupt-controller/irq.h>
 #include <dt-bindings/interrupt-controller/arm-gic.h>
@@ -303,6 +304,9 @@
 	firmware {
 		scm {
 			compatible = "qcom,scm-apq8064";
+
+			clocks = <&rpmcc RPM_DAYTONA_FABRIC_CLK>;
+			clock-names = "core";
 		};
 	};
 
-- 
2.11.0

[toc] | [next] | [standalone]


#1549290

FromAndy Gross <andy.gross@linaro.org>
Date2017-01-02 17:50 +0100
Message-ID<sVdY5-1dY-9@gated-at.bofh.it>
In reply to#1548356
On Thu, Dec 29, 2016 at 04:06:11AM -0800, Bjorn Andersson wrote:
> As per the device tree binding the apq8064 scm node requires the core
> clock to be specified, so add this.
> 
> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
> ---

Thanks.  This works quite nicely.  I'll send a fixes pull for this.

Andy

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web