diff mbox series

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

Message ID 20220608090850.92735-1-clement.leger@bootlin.com (mailing list archive)
State Mainlined
Commit 9e8322dcf5f677cfc65d982546fb3aa6fa8b399a
Delegated to: Geert Uytterhoeven
Headers show
Series ARM: dts: r9a06g032-rzn1d400-db: enable rtc0 | expand

Commit Message

Clément Léger June 8, 2022, 9:08 a.m. UTC
The RZ/N1D-DB board does have a battery to power the RTC. Enable the
RTC device on this board.

Signed-off-by: Clément Léger <clement.leger@bootlin.com>
---
 arch/arm/boot/dts/r9a06g032-rzn1d400-db.dts | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Geert Uytterhoeven June 9, 2022, 9:36 a.m. UTC | #1
Hi Clément,

On Wed, Jun 8, 2022 at 11:10 AM Clément Léger <clement.leger@bootlin.com> wrote:
> The RZ/N1D-DB board does have a battery to power the RTC. Enable the
> RTC device on this board.
>
> Signed-off-by: Clément Léger <clement.leger@bootlin.com>

Thanks for your patch!

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

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
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 -- geert@linux-m68k.org

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
Clément Léger June 9, 2022, 9:38 a.m. UTC | #2
Le Thu, 9 Jun 2022 11:36:13 +0200,
Geert Uytterhoeven <geert@linux-m68k.org> a écrit :

> Hi Clément,
> 
> On Wed, Jun 8, 2022 at 11:10 AM Clément Léger <clement.leger@bootlin.com> wrote:
> > The RZ/N1D-DB board does have a battery to power the RTC. Enable the
> > RTC device on this board.
> >
> > Signed-off-by: Clément Léger <clement.leger@bootlin.com>  
> 
> Thanks for your patch!
> 
> > --- a/arch/arm/boot/dts/r9a06g032-rzn1d400-db.dts
> > +++ b/arch/arm/boot/dts/r9a06g032-rzn1d400-db.dts
> > @@ -31,3 +31,7 @@ &wdt0 {
> >         timeout-sec = <60>;
> >         status = "okay";
> >  };
> > +
> > +&rtc0 {
> > +       status = "okay";
> > +};  
> 
> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
> 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 ! 

> 
> Gr{oetje,eeting}s,
> 
>                         Geert
> 
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
> 
> 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
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/r9a06g032-rzn1d400-db.dts b/arch/arm/boot/dts/r9a06g032-rzn1d400-db.dts
index 3f8f3ce87e12..c736d398325a 100644
--- a/arch/arm/boot/dts/r9a06g032-rzn1d400-db.dts
+++ b/arch/arm/boot/dts/r9a06g032-rzn1d400-db.dts
@@ -31,3 +31,7 @@  &wdt0 {
 	timeout-sec = <60>;
 	status = "okay";
 };
+
+&rtc0 {
+	status = "okay";
+};