2019-08-29 20:05:16

by Jorge Ramirez-Ortiz

[permalink] [raw]
Subject: [PATCH 1/2] arm64: dts: qcom: qcs404: add sleep clk fixed rate oscillator

This fixed rate clock is required for the operation of some devices
(ie watchdog).

Signed-off-by: Jorge Ramirez-Ortiz <[email protected]>
---
arch/arm64/boot/dts/qcom/qcs404.dtsi | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi
index a97eeb4569c0..131d8046d3be 100644
--- a/arch/arm64/boot/dts/qcom/qcs404.dtsi
+++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi
@@ -22,6 +22,12 @@
#clock-cells = <0>;
clock-frequency = <19200000>;
};
+
+ sleep_clk: sleep-clk {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <32768>;
+ };
};

cpus {
--
2.22.0


2019-08-30 05:34:32

by Stephen Boyd

[permalink] [raw]
Subject: Re: [PATCH 1/2] arm64: dts: qcom: qcs404: add sleep clk fixed rate oscillator

Quoting Jorge Ramirez-Ortiz (2019-08-29 13:03:39)
> This fixed rate clock is required for the operation of some devices
> (ie watchdog).
>
> Signed-off-by: Jorge Ramirez-Ortiz <[email protected]>
> ---

Reviewed-by: Stephen Boyd <[email protected]>