Skip to contentSkip to conversation

arm64: Realtek RTD1295 watchdog

PATCH Applied Andreas Färber 1 participant 5 messages Oct 20, 2019 – Oct 29, 2019

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

v3 cover arm64: Realtek RTD1295 watchdog

Hello,

This series adds the watchdog for the Realtek RTD1295 SoC.

v3 adds the missing DT node, previously dependent on an unreviewed clk series.

Have a lot of fun!

Cheers,
Andreas

v2 -> v3:
* Driver was merged
* Split off needed osc27M clock from clk patch series

v1 -> v2:
* Prepared remove (Guenther)
* Set timeout field (Guenther)
* Cleanups (Guenther, Andreas)

Andreas Färber (2):
arm64: dts: realtek: Add oscillator for RTD129x
arm64: dts: realtek: Add watchdog node for RTD129x

 arch/arm64/boot/dts/realtek/rtd129x.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)
Signature · 1 line
2.16.4
#1 lore raw

PATCH v3 1/2 arm64: dts: realtek: Add oscillator for RTD129x

Add 27 MHz oscillator clock node.

---
v3: New (from previously blocking clk patch series)

 arch/arm64/boot/dts/realtek/rtd129x.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)
arch/arm64/boot/dts/realtek/rtd129x.dtsi +7 -0
index a26c375ee1bb..4fb16611159b 100644
@@ -23,6 +23,13 @@
 		interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
 	};
 
+	osc27M: osc {
+		compatible = "fixed-clock";
+		clock-frequency = <27000000>;
+		#clock-cells = <0>;
+		clock-output-names = "osc27M";
+	};
+
 	soc {
 		compatible = "simple-bus";
 		#address-cells = <1>;
Signature · 1 line
2.16.4
author Applied
#2 lore raw

Re: [PATCH v3 1/2] arm64: dts: realtek: Add oscillator for RTD129x

Am 20.10.19 um 17:36 schrieb Andreas Färber:

Quoted 8 lines

Add 27 MHz oscillator clock node.

---
v3: New (from previously blocking clk patch series)

 arch/arm64/boot/dts/realtek/rtd129x.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

Applied to linux-realtek.git v5.5/dt64:

https://git.kernel.org/pub/scm/linux/kernel/git/afaerber/linux-realtek.git/log/?h=v5.5/dt64

Regards,
Andreas

Signature · 4 lines
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer
HRB 36809 (AG Nürnberg)
#3 lore raw

PATCH v3 2/2 arm64: dts: realtek: Add watchdog node for RTD129x

In reply to Andreas Färber

Add the watchdog node to the RTD129x Device Tree.

[AF: Moved from RTD1295 to new RTD129x]

---
v2 -> v3:
* rtd129x.dtsi was factored out of rtd1295.dtsi, add it there

v1 -> v2: Unchanged

 arch/arm64/boot/dts/realtek/rtd129x.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm64/boot/dts/realtek/rtd129x.dtsi +6 -0
index 4fb16611159b..0b2ac0c33b8b 100644
@@ -37,6 +37,12 @@
 		/* Exclude up to 2 GiB of RAM */
 		ranges = <0x80000000 0x80000000 0x80000000>;
 
+		wdt: watchdog@98007680 {
+			compatible = "realtek,rtd1295-watchdog";
+			reg = <0x98007680 0x100>;
+			clocks = <&osc27M>;
+		};
+
 		uart0: serial@98007800 {
 			compatible = "snps,dw-apb-uart";
 			reg = <0x98007800 0x400>;
Signature · 1 line
2.16.4
author Applied
#4 lore raw

Re: [PATCH v3 2/2] arm64: dts: realtek: Add watchdog node for RTD129x

Am 20.10.19 um 17:36 schrieb Andreas Färber:

Quoted 6 lines

Add the watchdog node to the RTD129x Device Tree.

[AF: Moved from RTD1295 to new RTD129x]
Quoted 8 lines

---
v2 -> v3:
* rtd129x.dtsi was factored out of rtd1295.dtsi, add it there

v1 -> v2: Unchanged

 arch/arm64/boot/dts/realtek/rtd129x.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

Applied to linux-realtek.git v5.5/dt64:

https://git.kernel.org/pub/scm/linux/kernel/git/afaerber/linux-realtek.git/log/?h=v5.5/dt64

Regards,
Andreas

Signature · 4 lines
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer
HRB 36809 (AG Nürnberg)