RE: [PATCH 2/4] arm64: dts: renesas: r9a09g056: Add ADC nodes

From: Prabhakar Mahadev Lad

Date: Wed Dec 02 2026 - 11:52:01 EST


Hi Geert,

Thank you for the review.

> From: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> Sent: 02 December 2026 16:24
> To: Prabhakar <prabhakar.csengg@xxxxxxxxx>
> Cc: magnus.damm <magnus.damm@xxxxxxxxx>; Rob Herring <robh@xxxxxxxxxx>;
> Krzysztof Kozlowski <krzk+dt@xxxxxxxxxx>; Conor Dooley
> <conor+dt@xxxxxxxxxx>; Cosmin-Gabriel Tanislav <cosmin-
> gabriel.tanislav.xa@xxxxxxxxxxx>; linux-renesas-soc@xxxxxxxxxxxxxxx;
> devicetree@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; Prabhakar
> <prabhakar.csengg+renesas@xxxxxxxxx>; Biju Das
> <biju.das.jz@xxxxxxxxxxxxxx>; Fabrizio Castro
> <fabrizio.castro.jz@xxxxxxxxxxx>; Prabhakar Mahadev Lad
> <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx>
> Subject: Re: [PATCH 2/4] arm64: dts: renesas: r9a09g056: Add ADC nodes
>
> Hi Prabhakar,
>
> On Tue, 29 Sept 2026 at 14:48, Prabhakar <prabhakar.csengg@xxxxxxxxx>
> wrote:
> > From: Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx>
> >
> > Add the three ADC device nodes to the RZ/V2N SoC DTSI.
> >
> > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx>
>
> Thanks for your patch!
>
> > --- a/arch/arm64/boot/dts/renesas/r9a09g056.dtsi
> > +++ b/arch/arm64/boot/dts/renesas/r9a09g056.dtsi
> > @@ -626,6 +626,150 @@ wdt1: watchdog@14400000 {
> > status = "disabled";
> > };
> >
> > + adc0: adc@11c00000 {
>
> Please preserve sort order.
>
I will fix that and send a v2 (along with patch #4)

> > + adc1: adc@11c02800 {
> > + compatible = "renesas,r9a09g056-adc",
> > + "renesas,r9a09g057-adc";
>
> > + dmas = <&dmac0 0x25b5>, <&dmac1 0x25b5>, <&dmac2
> 0x25b5>,
> > + <&dmac3 0x25b5>, <&dmac4 0x25b5>;
>
>
> > + adc2: adc@11c02c00 {
>
> > + dmas = <&dmac0 0x25ba>, <&dmac1 0x25ba>, <&dmac2
> 0x25ba>,
> > + <&dmac3 0x25ba>, <&dmac4 0x25ba>;
>
> I can't find the MID/RID values for the second and third instance.
> Largest DkRQ_SELn value documented in Table 4.7-22 ("DMA Transfer Request
> Detection Operation Setting Table") is 0x1b4?
>
This info is missing in the current HW manual the next updated manual
should have the updated info. I got the below info from HW team[0]

[0] https://github.com/prabhakarlad/img/blob/main/adc-dmac.png

Cheers,
Prabhakar

> The rest LGTM to me.
>
> 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