Skip to contentSkip to conversation

arm64: dts: r8a77965: Add Watchdog Timer controller node using RCLK Watchdog Timer

PATCH Superseded Yoshihiro Kaneko 3 participants 5 messages May 23, 2018 – May 29, 2018

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: r8a77965: Add Watchdog Timer controller node using RCLK Watchdog Timer

From: Takeshi Kihara <[email protected]>

Add a device node for the Watchdog Timer (WDT) controller on the Renesas R-Car M3N (R8A77965) SoC.

Based on a similar patch of the R8A7796 device tree by Geert Uytterhoeven <[email protected]>.

---

This patch is based on the devel branch of Simon Horman's renesas tree.

 arch/arm64/boot/dts/renesas/r8a77965.dtsi | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/renesas/r8a77965.dtsi +6 -1
index 486aeca..fb7100f 100644
@@ -139,8 +139,13 @@
 		ranges;
 
 		wdt0: watchdog@e6020000 {
+			compatible = "renesas,r8a77965-wdt",
+				     "renesas,rcar-gen3-wdt";
 			reg = <0 0xe6020000 0 0x0c>;
-			/* placeholder */
+			clocks = <&cpg CPG_MOD 402>;
+			power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
+			resets = <&cpg 402>;
+			status = "disabled";
 		};
 
 		gpio0: gpio@e6050000 {
Signature · 1 line
1.9.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 10 lines · Yoshihiro Kaneko

From: Takeshi Kihara <[email protected]>

Add a device node for the Watchdog Timer (WDT) controller on the Renesas R-Car M3N (R8A77965) SoC.

Based on a similar patch of the R8A7796 device tree by Geert Uytterhoeven <[email protected]>.

This looks fine but I will wait to see if there are other reviews before applying.

Reviewed-by Tested-by on v1 1/1
#2 lore raw
In reply to Yoshihiro Kaneko
Quoted 10 lines · Yoshihiro Kaneko

From: Takeshi Kihara <[email protected]>

Add a device node for the Watchdog Timer (WDT) controller on the Renesas R-Car M3N (R8A77965) SoC.

Based on a similar patch of the R8A7796 device tree by Geert Uytterhoeven <[email protected]>.

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
#3 lore raw

Hi Kaneko-san,

(after adding more coffee)

The summary prefix should be "arm64: dts: renesas: r8a77965:"

Quoted 5 lines · Geert Uytterhoeven
Quoted 4 lines · Yoshihiro Kaneko

From: Takeshi Kihara <[email protected]>

Add a device node for the Watchdog Timer (WDT) controller on the Renesas R-Car M3N (R8A77965) SoC.

M3-N

Quoted 8 lines
Quoted 5 lines

Based on a similar patch of the R8A7796 device tree by Geert Uytterhoeven <[email protected]>.

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
#4 lore raw

Hi Geert-san,

Thanks for your review.
I will correct the commit message as per your instructions.

Thanks,
Kaneko

2018-05-28 22:07 GMT+09:00 Geert Uytterhoeven <[email protected]>:

Quoted 35 lines

Hi Kaneko-san,

(after adding more coffee)

The summary prefix should be "arm64: dts: renesas: r8a77965:"

Quoted 5 lines · Geert Uytterhoeven
Quoted 4 lines · Yoshihiro Kaneko

From: Takeshi Kihara <[email protected]>

Add a device node for the Watchdog Timer (WDT) controller on the Renesas R-Car M3N (R8A77965) SoC.

M3-N

Quoted 8 lines
Quoted 5 lines

Based on a similar patch of the R8A7796 device tree by Geert Uytterhoeven <[email protected]>.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds