Re: [PATCH 3/3] arm64: dts: renesas: rzt2h-n2h-evk: Enable RTC support

Geert Uytterhoeven <[email protected]>
Newsgroups org.kernel.vger.linux-renesas-soc,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel
Message-ID <CAMuHMdUULBe5y9tk7qj8PogPZ2+o8c8B3v1LD1+35ncV-RUPBA@mail.gmail.com>
Hi Wolfram,

On Mon, 24 Aug 2026 at 11:26, Wolfram Sang
<[email protected]> wrote:
> > +             rtc0 = &rtc0;
>
> Maybe 'rtc' instead of 'rtc0' throughout the patchset?
>
> @Geert: do we have a rule for this? There is also only 'gic' instead of
> 'gic0'?

There is only one GIC to rul'em all, but there can be multiple RTCs
in a system.

> What is this alias for? I don't think this is HW description?

I understand rtc0 is the main RTC.

drivers/rtc/class.c:            of_id = of_alias_get_id(dev->of_node, "rtc");
drivers/rtc/class.c:            of_id =
of_alias_get_id(dev->parent->of_node, "rtc");

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.