Skip to contentSkip to conversation

ARM: dts: r9a06g032-rzn1d400-db: enable rtc0

PATCH In review Clément Léger 2 participants 3 messages Jun 8, 2022 – Jun 9, 2022 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: r9a06g032-rzn1d400-db: enable rtc0

The RZ/N1D-DB board does have a battery to power the RTC. Enable the RTC device on this board.

---
 arch/arm/boot/dts/r9a06g032-rzn1d400-db.dts | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/boot/dts/r9a06g032-rzn1d400-db.dts +4 -0
index 3f8f3ce87e12..c736d398325a 100644
@@ -31,3 +31,7 @@ &wdt0 {
 	timeout-sec = <60>;
 	status = "okay";
 };
+
+&rtc0 {
+	status = "okay";
+};
Signature · 1 line
2.36.1
Reviewed-by on v1 1/1
#1 lore raw

Hi Clément,

Quoted 4 lines · Clément Léger

The RZ/N1D-DB board does have a battery to power the RTC. Enable the RTC device on this board.

Thanks for your patch!

arch/arm/boot/dts/r9a06g032-rzn1d400-db.dts &wdt0 { · line 37

Quoted 10 lines
arch/arm/boot/dts/r9a06g032-rzn1d400-db.dts +4 -0
@@ -31,3 +31,7 @@ &wdt0 {
        timeout-sec = <60>;
        status = "okay";
 };
+
+&rtc0 {
+       status = "okay";
+};

i.e. will queue in renesas-devel for v5.20, with rtc0 moved up to preserve sort order (no need to resend).

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

#2 lore raw
Quoted 22 lines · Geert Uytterhoeven

Hi Clément,

Quoted 4 lines · Clément Léger

The RZ/N1D-DB board does have a battery to power the RTC. Enable the RTC device on this board.

Thanks for your patch!

arch/arm/boot/dts/r9a06g032-rzn1d400-db.dts &wdt0 { · line 37

Quoted 10 lines
arch/arm/boot/dts/r9a06g032-rzn1d400-db.dts +4 -0
@@ -31,3 +31,7 @@ &wdt0 {
        timeout-sec = <60>;
        status = "okay";
 };
+
+&rtc0 {
+       status = "okay";
+};  
Quoted 2 lines

i.e. will queue in renesas-devel for v5.20, with rtc0 moved up to preserve sort order (no need to resend).

Acked, I checked the order but the wdt0 has already been inserted after the uart0 node so I assumed it was unsorted.

Thanks !

Quoted 11 lines

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

Signature · 3 lines
Clément Léger,
Embedded Linux and Kernel engineer at Bootlin
https://bootlin.com