diff mbox

[v3,4/8] arm64: dts: qcom: 8x16: Add fixed rate sleep clock oscillator

Message ID 1445360280-2347-5-git-send-email-georgi.djakov@linaro.org
State New
Headers show

Commit Message

Georgi Djakov Oct. 20, 2015, 4:57 p.m. UTC
The sleep clock oscillator should be in the DT instead of being
hard-coded into the clock drivers.

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

--
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/
diff mbox

Patch

diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi
index 355a2acea796..fda4d5cd574a 100644
--- a/arch/arm64/boot/dts/qcom/msm8916.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi
@@ -87,6 +87,13 @@ 
 			clock-frequency = <19200000>;
 			clock-output-names = "xo_board";
 		};
+
+		sleep_clk: sleep_clk {
+			compatible = "fixed-clock";
+			#clock-cells = <0>;
+			clock-frequency = <32768>;
+			clock-output-names = "sleep_clk_src";
+		};
 	};
 
 	soc: soc {