All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] arm64: dts: qcom: qcs404: add sleep clk fixed rate oscillator
@ 2019-08-29 20:03 Jorge Ramirez-Ortiz
  2019-08-29 20:03 ` [PATCH 2/2] arm64: dts: qcom: qcs404: add the watchdog node Jorge Ramirez-Ortiz
  2019-08-30  5:25 ` [PATCH 1/2] arm64: dts: qcom: qcs404: add sleep clk fixed rate oscillator Stephen Boyd
  0 siblings, 2 replies; 4+ messages in thread
From: Jorge Ramirez-Ortiz @ 2019-08-29 20:03 UTC (permalink / raw)
  To: jorge.ramirez-ortiz, bjorn.andersson, agross, robh+dt,
	mark.rutland
  Cc: linux-arm-msm, devicetree, linux-kernel

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

Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
---
 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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] arm64: dts: qcom: qcs404: add the watchdog node
  2019-08-29 20:03 [PATCH 1/2] arm64: dts: qcom: qcs404: add sleep clk fixed rate oscillator Jorge Ramirez-Ortiz
@ 2019-08-29 20:03 ` Jorge Ramirez-Ortiz
  2019-08-30  5:25   ` Stephen Boyd
  2019-08-30  5:25 ` [PATCH 1/2] arm64: dts: qcom: qcs404: add sleep clk fixed rate oscillator Stephen Boyd
  1 sibling, 1 reply; 4+ messages in thread
From: Jorge Ramirez-Ortiz @ 2019-08-29 20:03 UTC (permalink / raw)
  To: jorge.ramirez-ortiz, bjorn.andersson, agross, robh+dt,
	mark.rutland
  Cc: linux-arm-msm, devicetree, linux-kernel

Allows QCS404 based designs to enable watchdog support

Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
---
 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 131d8046d3be..17d4dd54c53a 100644
--- a/arch/arm64/boot/dts/qcom/qcs404.dtsi
+++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi
@@ -875,6 +875,12 @@
 			#mbox-cells = <1>;
 		};
 
+		watchdog@b017000 {
+			compatible = "qcom,kpss-wdt";
+			reg = <0x0b017000 0x1000>;
+			clocks = <&sleep_clk>;
+		};
+
 		timer@b120000 {
 			#address-cells = <1>;
 			#size-cells = <1>;
-- 
2.22.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] arm64: dts: qcom: qcs404: add sleep clk fixed rate oscillator
  2019-08-29 20:03 [PATCH 1/2] arm64: dts: qcom: qcs404: add sleep clk fixed rate oscillator Jorge Ramirez-Ortiz
  2019-08-29 20:03 ` [PATCH 2/2] arm64: dts: qcom: qcs404: add the watchdog node Jorge Ramirez-Ortiz
@ 2019-08-30  5:25 ` Stephen Boyd
  1 sibling, 0 replies; 4+ messages in thread
From: Stephen Boyd @ 2019-08-30  5:25 UTC (permalink / raw)
  To: agross, bjorn.andersson, jorge.ramirez-ortiz, mark.rutland,
	robh+dt
  Cc: linux-arm-msm, devicetree, linux-kernel

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 <jorge.ramirez-ortiz@linaro.org>
> ---

Reviewed-by: Stephen Boyd <sboyd@kernel.org>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/2] arm64: dts: qcom: qcs404: add the watchdog node
  2019-08-29 20:03 ` [PATCH 2/2] arm64: dts: qcom: qcs404: add the watchdog node Jorge Ramirez-Ortiz
@ 2019-08-30  5:25   ` Stephen Boyd
  0 siblings, 0 replies; 4+ messages in thread
From: Stephen Boyd @ 2019-08-30  5:25 UTC (permalink / raw)
  To: agross, bjorn.andersson, jorge.ramirez-ortiz, mark.rutland,
	robh+dt
  Cc: linux-arm-msm, devicetree, linux-kernel

Quoting Jorge Ramirez-Ortiz (2019-08-29 13:03:40)
> Allows QCS404 based designs to enable watchdog support
> 
> Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
> ---

Reviewed-by: Stephen Boyd <sboyd@kernel.org>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-08-30  5:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-29 20:03 [PATCH 1/2] arm64: dts: qcom: qcs404: add sleep clk fixed rate oscillator Jorge Ramirez-Ortiz
2019-08-29 20:03 ` [PATCH 2/2] arm64: dts: qcom: qcs404: add the watchdog node Jorge Ramirez-Ortiz
2019-08-30  5:25   ` Stephen Boyd
2019-08-30  5:25 ` [PATCH 1/2] arm64: dts: qcom: qcs404: add sleep clk fixed rate oscillator Stephen Boyd

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.