Re: [PATCH v4 5/7] watchdog: rzv2h: Add syscon support for WDTDCR
Geert Uytterhoeven <[email protected]>
| Newsgroups | org.kernel.vger.linux-renesas-soc,org.kernel.vger.linux-clk,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel,org.kernel.vger.linux-watchdog |
|---|---|
| Message-ID | <CAMuHMdWL1xCSQn4RxL0ZMbu-AK0LiYqE6auPte=JMjW7V9-Arw@mail.gmail.com> |
On Mon, 17 Aug 2026 at 21:26, Prabhakar <[email protected]> wrote: > From: Lad Prabhakar <[email protected]> > > On RZ/T2H and RZ/N2H SoCs, the WDTDCR (WDT Debug Control Register) resides > in the second register region of the CPG/MSSR block. Since this > multi-function block is shared with other peripherals, it is exposed via a > syscon regmap interface. > > Look up the SYSC regmap using the optional "renesas,sysc" property and > derive the WDTDCR offset from the watchdog instance index. > > Retain the existing MMIO-based access method when the "renesas,sysc" > property is absent to preserve compatibility with existing DT's. > > Signed-off-by: Lad Prabhakar <[email protected]> Reviewed-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