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


Groups > linux.kernel > #1273143 > unrolled thread

[PATCH v4 2/5] arm64: dts: qcom: msm8916: Add fixed rate on-board oscillator

Started byGeorgi Djakov <georgi.djakov@linaro.org>
First post2015-11-19 15:00 +0100
Last post2015-11-21 01:50 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v4 2/5] arm64: dts: qcom: msm8916: Add fixed rate on-board oscillator Georgi Djakov <georgi.djakov@linaro.org> - 2015-11-19 15:00 +0100
    Re: [PATCH v4 2/5] arm64: dts: qcom: msm8916: Add fixed rate  on-board oscillator Stephen Boyd <sboyd@codeaurora.org> - 2015-11-21 01:50 +0100

#1273143 — [PATCH v4 2/5] arm64: dts: qcom: msm8916: Add fixed rate on-board oscillator

FromGeorgi Djakov <georgi.djakov@linaro.org>
Date2015-11-19 15:00 +0100
Subject[PATCH v4 2/5] arm64: dts: qcom: msm8916: Add fixed rate on-board oscillator
Message-ID<qwxUK-1Bc-11@gated-at.bofh.it>
Currently the rates of the xo and sleep clocks are hard-coded in the
GCC driver, but this is a board layout description that actually should
be in the DT. Moving them into DT also allows us to insert the RPM
controlled clocks between the DT and GCC clocks.

Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
---
 arch/arm64/boot/dts/qcom/msm8916.dtsi |   14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi
index 80cf15087d01..d577127cc81e 100644
--- a/arch/arm64/boot/dts/qcom/msm8916.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi
@@ -95,6 +95,20 @@
 			     <GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
 	};
 
+	clocks {
+		xo_board: xo_board {
+			compatible = "fixed-clock";
+			#clock-cells = <0>;
+			clock-frequency = <19200000>;
+		};
+
+		sleep_clk: sleep_clk {
+			compatible = "fixed-clock";
+			#clock-cells = <0>;
+			clock-frequency = <32768>;
+		};
+	};
+
 	soc: soc {
 		#address-cells = <1>;
 		#size-cells = <1>;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1274578 — Re: [PATCH v4 2/5] arm64: dts: qcom: msm8916: Add fixed rate on-board oscillator

FromStephen Boyd <sboyd@codeaurora.org>
Date2015-11-21 01:50 +0100
SubjectRe: [PATCH v4 2/5] arm64: dts: qcom: msm8916: Add fixed rate on-board oscillator
Message-ID<qx4xj-6i8-11@gated-at.bofh.it>
In reply to#1273143
On 11/19, Georgi Djakov wrote:
> Currently the rates of the xo and sleep clocks are hard-coded in the
> GCC driver, but this is a board layout description that actually should
> be in the DT. Moving them into DT also allows us to insert the RPM
> controlled clocks between the DT and GCC clocks.
> 
> Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
> ---

I'll leave this one to Andy.

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web