* [PATCH 0/4] Add ADC support for RZ/V2H(P) and RZ/V2N SoCs
@ 2026-09-29 12:48 Prabhakar
2026-09-29 12:48 ` [PATCH 1/4] arm64: dts: renesas: r9a09g057: Add ADC node Prabhakar
` (3 more replies)
0 siblings, 4 replies; 13+ messages in thread
From: Prabhakar @ 2026-09-29 12:48 UTC (permalink / raw)
To: Geert Uytterhoeven, Magnus Damm, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Cosmin Tanislav
Cc: linux-renesas-soc, devicetree, linux-kernel, Prabhakar, Biju Das,
Fabrizio Castro, Lad Prabhakar
From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Hi all,
This series aims to add ADC support for the RZ/V2H(P) and RZ/V2N SoCs
and enable it on the respective EVKs.
Note this series depends on below:
- https://lore.kernel.org/all/20260929124248.237032-1-prabhakar.mahadev-lad.rj@bp.renesas.com/
- https://lore.kernel.org/all/20260929122407.219448-1-prabhakar.mahadev-lad.rj@bp.renesas.com/
Cheers,
Prabhakar
Lad Prabhakar (4):
arm64: dts: renesas: r9a09g057: Add ADC node
arm64: dts: renesas: r9a09g056: Add ADC nodes
arm64: dts: renesas: r9a09g057h44-rzv2h-evk: Enable ADC
arm64: dts: renesas: r9a09g056n48-rzv2n-evk: Enable ADC
arch/arm64/boot/dts/renesas/r9a09g056.dtsi | 144 ++++++++++++++++++
.../dts/renesas/r9a09g056n48-rzv2n-evk.dts | 12 ++
arch/arm64/boot/dts/renesas/r9a09g057.dtsi | 48 ++++++
.../dts/renesas/r9a09g057h44-rzv2h-evk.dts | 4 +
4 files changed, 208 insertions(+)
--
2.55.0
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH 1/4] arm64: dts: renesas: r9a09g057: Add ADC node
2026-09-29 12:48 [PATCH 0/4] Add ADC support for RZ/V2H(P) and RZ/V2N SoCs Prabhakar
@ 2026-09-29 12:48 ` Prabhakar
2026-12-02 16:19 ` Geert Uytterhoeven
2026-09-29 12:48 ` [PATCH 2/4] arm64: dts: renesas: r9a09g056: Add ADC nodes Prabhakar
` (2 subsequent siblings)
3 siblings, 1 reply; 13+ messages in thread
From: Prabhakar @ 2026-09-29 12:48 UTC (permalink / raw)
To: Geert Uytterhoeven, Magnus Damm, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Cosmin Tanislav
Cc: linux-renesas-soc, devicetree, linux-kernel, Prabhakar, Biju Das,
Fabrizio Castro, Lad Prabhakar
From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Add the ADC device node to the RZ/V2H(P) SoC DTSI.
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
arch/arm64/boot/dts/renesas/r9a09g057.dtsi | 48 ++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r9a09g057.dtsi b/arch/arm64/boot/dts/renesas/r9a09g057.dtsi
index bbaab75681c2..d40d38c6a31c 100644
--- a/arch/arm64/boot/dts/renesas/r9a09g057.dtsi
+++ b/arch/arm64/boot/dts/renesas/r9a09g057.dtsi
@@ -608,6 +608,54 @@ wdt1: watchdog@14400000 {
status = "disabled";
};
+ adc: adc@11c00000 {
+ compatible = "renesas,r9a09g057-adc";
+ reg = <0 0x11c00000 0 0x400>;
+ interrupts = <GIC_SPI 918 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 919 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 920 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "adi", "gbadi", "gcadi",
+ "cmpai", "cmpbi";
+ clocks = <&cpg CPG_MOD 0x108>, <&cpg CPG_MOD 0x107>;
+ clock-names = "adclk", "pclk";
+ resets = <&cpg 0xf6>;
+ power-domains = <&cpg>;
+ dmas = <&dmac0 0x24c8>, <&dmac1 0x24c8>, <&dmac2 0x24c8>,
+ <&dmac3 0x24c8>, <&dmac4 0x24c8>;
+ dma-names = "rx", "rx", "rx", "rx", "rx";
+ status = "disabled";
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ channel@0 {
+ reg = <0>;
+ };
+ channel@1 {
+ reg = <1>;
+ };
+ channel@2 {
+ reg = <2>;
+ };
+ channel@3 {
+ reg = <3>;
+ };
+ channel@4 {
+ reg = <4>;
+ };
+ channel@5 {
+ reg = <5>;
+ };
+ channel@6 {
+ reg = <6>;
+ };
+ channel@7 {
+ reg = <7>;
+ };
+ };
+
rtc: rtc@11c00800 {
compatible = "renesas,r9a09g057-rtca3", "renesas,rz-rtca3";
reg = <0 0x11c00800 0 0x400>;
--
2.55.0
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH 2/4] arm64: dts: renesas: r9a09g056: Add ADC nodes
2026-09-29 12:48 [PATCH 0/4] Add ADC support for RZ/V2H(P) and RZ/V2N SoCs Prabhakar
2026-09-29 12:48 ` [PATCH 1/4] arm64: dts: renesas: r9a09g057: Add ADC node Prabhakar
@ 2026-09-29 12:48 ` Prabhakar
2026-12-02 16:23 ` Geert Uytterhoeven
2026-09-29 12:48 ` [PATCH 3/4] arm64: dts: renesas: r9a09g057h44-rzv2h-evk: Enable ADC Prabhakar
2026-09-29 12:48 ` [PATCH 4/4] arm64: dts: renesas: r9a09g056n48-rzv2n-evk: " Prabhakar
3 siblings, 1 reply; 13+ messages in thread
From: Prabhakar @ 2026-09-29 12:48 UTC (permalink / raw)
To: Geert Uytterhoeven, Magnus Damm, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Cosmin Tanislav
Cc: linux-renesas-soc, devicetree, linux-kernel, Prabhakar, Biju Das,
Fabrizio Castro, Lad Prabhakar
From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Add the three ADC device nodes to the RZ/V2N SoC DTSI.
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
arch/arm64/boot/dts/renesas/r9a09g056.dtsi | 144 +++++++++++++++++++++
1 file changed, 144 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r9a09g056.dtsi b/arch/arm64/boot/dts/renesas/r9a09g056.dtsi
index 175e24c98e11..51370f38989d 100644
--- 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 {
+ compatible = "renesas,r9a09g056-adc", "renesas,r9a09g057-adc";
+ reg = <0 0x11c00000 0 0x400>;
+ interrupts = <GIC_SPI 918 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 919 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 920 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "adi", "gbadi", "gcadi",
+ "cmpai", "cmpbi";
+ clocks = <&cpg CPG_MOD 0x108>, <&cpg CPG_MOD 0x107>;
+ clock-names = "adclk", "pclk";
+ resets = <&cpg 0xf6>;
+ power-domains = <&cpg>;
+ dmas = <&dmac0 0x24c8>, <&dmac1 0x24c8>, <&dmac2 0x24c8>,
+ <&dmac3 0x24c8>, <&dmac4 0x24c8>;
+ dma-names = "rx", "rx", "rx", "rx", "rx";
+ status = "disabled";
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ channel@0 {
+ reg = <0>;
+ };
+ channel@1 {
+ reg = <1>;
+ };
+ channel@2 {
+ reg = <2>;
+ };
+ channel@3 {
+ reg = <3>;
+ };
+ channel@4 {
+ reg = <4>;
+ };
+ channel@5 {
+ reg = <5>;
+ };
+ channel@6 {
+ reg = <6>;
+ };
+ channel@7 {
+ reg = <7>;
+ };
+ };
+
+ adc1: adc@11c02800 {
+ compatible = "renesas,r9a09g056-adc", "renesas,r9a09g057-adc";
+ reg = <0 0x11c02800 0 0x400>;
+ interrupts = <GIC_SPI 926 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 927 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 928 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 929 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 930 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "adi", "gbadi", "gcadi",
+ "cmpai", "cmpbi";
+ clocks = <&cpg CPG_MOD 0x108>, <&cpg CPG_MOD 0x107>;
+ clock-names = "adclk", "pclk";
+ resets = <&cpg 0xf6>;
+ power-domains = <&cpg>;
+ dmas = <&dmac0 0x25b5>, <&dmac1 0x25b5>, <&dmac2 0x25b5>,
+ <&dmac3 0x25b5>, <&dmac4 0x25b5>;
+ dma-names = "rx", "rx", "rx", "rx", "rx";
+ status = "disabled";
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ channel@0 {
+ reg = <0>;
+ };
+ channel@1 {
+ reg = <1>;
+ };
+ channel@2 {
+ reg = <2>;
+ };
+ channel@3 {
+ reg = <3>;
+ };
+ channel@4 {
+ reg = <4>;
+ };
+ channel@5 {
+ reg = <5>;
+ };
+ channel@6 {
+ reg = <6>;
+ };
+ channel@7 {
+ reg = <7>;
+ };
+ };
+
+ adc2: adc@11c02c00 {
+ compatible = "renesas,r9a09g056-adc", "renesas,r9a09g057-adc";
+ reg = <0 0x11c02c00 0 0x400>;
+ interrupts = <GIC_SPI 931 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 932 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 933 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 934 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 935 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "adi", "gbadi", "gcadi",
+ "cmpai", "cmpbi";
+ clocks = <&cpg CPG_MOD 0x108>, <&cpg CPG_MOD 0x107>;
+ clock-names = "adclk", "pclk";
+ resets = <&cpg 0xf6>;
+ power-domains = <&cpg>;
+ dmas = <&dmac0 0x25ba>, <&dmac1 0x25ba>, <&dmac2 0x25ba>,
+ <&dmac3 0x25ba>, <&dmac4 0x25ba>;
+ dma-names = "rx", "rx", "rx", "rx", "rx";
+ status = "disabled";
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ channel@0 {
+ reg = <0>;
+ };
+ channel@1 {
+ reg = <1>;
+ };
+ channel@2 {
+ reg = <2>;
+ };
+ channel@3 {
+ reg = <3>;
+ };
+ channel@4 {
+ reg = <4>;
+ };
+ channel@5 {
+ reg = <5>;
+ };
+ channel@6 {
+ reg = <6>;
+ };
+ channel@7 {
+ reg = <7>;
+ };
+ };
+
rtc: rtc@11c00800 {
compatible = "renesas,r9a09g056-rtca3", "renesas,rz-rtca3";
reg = <0 0x11c00800 0 0x400>;
--
2.55.0
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH 3/4] arm64: dts: renesas: r9a09g057h44-rzv2h-evk: Enable ADC
2026-09-29 12:48 [PATCH 0/4] Add ADC support for RZ/V2H(P) and RZ/V2N SoCs Prabhakar
2026-09-29 12:48 ` [PATCH 1/4] arm64: dts: renesas: r9a09g057: Add ADC node Prabhakar
2026-09-29 12:48 ` [PATCH 2/4] arm64: dts: renesas: r9a09g056: Add ADC nodes Prabhakar
@ 2026-09-29 12:48 ` Prabhakar
2026-12-02 16:24 ` Geert Uytterhoeven
2026-09-29 12:48 ` [PATCH 4/4] arm64: dts: renesas: r9a09g056n48-rzv2n-evk: " Prabhakar
3 siblings, 1 reply; 13+ messages in thread
From: Prabhakar @ 2026-09-29 12:48 UTC (permalink / raw)
To: Geert Uytterhoeven, Magnus Damm, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Cosmin Tanislav
Cc: linux-renesas-soc, devicetree, linux-kernel, Prabhakar, Biju Das,
Fabrizio Castro, Lad Prabhakar
From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Enable the ADC on the RZ/V2H EVK.
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
arch/arm64/boot/dts/renesas/r9a09g057h44-rzv2h-evk.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r9a09g057h44-rzv2h-evk.dts b/arch/arm64/boot/dts/renesas/r9a09g057h44-rzv2h-evk.dts
index 0926ab891fa5..8939e35639a5 100644
--- a/arch/arm64/boot/dts/renesas/r9a09g057h44-rzv2h-evk.dts
+++ b/arch/arm64/boot/dts/renesas/r9a09g057h44-rzv2h-evk.dts
@@ -130,6 +130,10 @@ y1: y1-clock {
};
};
+&adc {
+ status = "okay";
+};
+
&audio_extal_clk {
clock-frequency = <22579200>;
};
--
2.55.0
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH 4/4] arm64: dts: renesas: r9a09g056n48-rzv2n-evk: Enable ADC
2026-09-29 12:48 [PATCH 0/4] Add ADC support for RZ/V2H(P) and RZ/V2N SoCs Prabhakar
` (2 preceding siblings ...)
2026-09-29 12:48 ` [PATCH 3/4] arm64: dts: renesas: r9a09g057h44-rzv2h-evk: Enable ADC Prabhakar
@ 2026-09-29 12:48 ` Prabhakar
2026-12-03 8:34 ` Geert Uytterhoeven
3 siblings, 1 reply; 13+ messages in thread
From: Prabhakar @ 2026-09-29 12:48 UTC (permalink / raw)
To: Geert Uytterhoeven, Magnus Damm, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Cosmin Tanislav
Cc: linux-renesas-soc, devicetree, linux-kernel, Prabhakar, Biju Das,
Fabrizio Castro, Lad Prabhakar
From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Enable the ADCs on the RZ/V2N EVK.
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
.../boot/dts/renesas/r9a09g056n48-rzv2n-evk.dts | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r9a09g056n48-rzv2n-evk.dts b/arch/arm64/boot/dts/renesas/r9a09g056n48-rzv2n-evk.dts
index c43325dd1c55..5daad7f37e3d 100644
--- a/arch/arm64/boot/dts/renesas/r9a09g056n48-rzv2n-evk.dts
+++ b/arch/arm64/boot/dts/renesas/r9a09g056n48-rzv2n-evk.dts
@@ -122,6 +122,18 @@ y1: y1-clock {
};
};
+&adc0 {
+ status = "okay";
+};
+
+&adc1 {
+ status = "okay";
+};
+
+&adc2 {
+ status = "okay";
+};
+
&audio_extal_clk {
clock-frequency = <22579200>;
};
--
2.55.0
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 1/4] arm64: dts: renesas: r9a09g057: Add ADC node
2026-09-29 12:48 ` [PATCH 1/4] arm64: dts: renesas: r9a09g057: Add ADC node Prabhakar
@ 2026-12-02 16:19 ` Geert Uytterhoeven
2026-12-02 16:25 ` Geert Uytterhoeven
0 siblings, 1 reply; 13+ messages in thread
From: Geert Uytterhoeven @ 2026-12-02 16:19 UTC (permalink / raw)
To: Prabhakar
Cc: Magnus Damm, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Cosmin Tanislav, linux-renesas-soc, devicetree, linux-kernel,
Prabhakar, Biju Das, Fabrizio Castro, Lad Prabhakar
On Tue, 29 Sept 2026 at 14:48, Prabhakar <prabhakar.csengg@gmail.com> wrote:
> From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
>
> Add the ADC device node to the RZ/V2H(P) SoC DTSI.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
i.e. will queue in renesas-devel for v7.5.
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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 2/4] arm64: dts: renesas: r9a09g056: Add ADC nodes
2026-09-29 12:48 ` [PATCH 2/4] arm64: dts: renesas: r9a09g056: Add ADC nodes Prabhakar
@ 2026-12-02 16:23 ` Geert Uytterhoeven
2026-12-02 16:51 ` Prabhakar Mahadev Lad
0 siblings, 1 reply; 13+ messages in thread
From: Geert Uytterhoeven @ 2026-12-02 16:23 UTC (permalink / raw)
To: Prabhakar
Cc: Magnus Damm, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Cosmin Tanislav, linux-renesas-soc, devicetree, linux-kernel,
Prabhakar, Biju Das, Fabrizio Castro, Lad Prabhakar
Hi Prabhakar,
On Tue, 29 Sept 2026 at 14:48, Prabhakar <prabhakar.csengg@gmail.com> wrote:
> From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
>
> Add the three ADC device nodes to the RZ/V2N SoC DTSI.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
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.
> + 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?
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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 3/4] arm64: dts: renesas: r9a09g057h44-rzv2h-evk: Enable ADC
2026-09-29 12:48 ` [PATCH 3/4] arm64: dts: renesas: r9a09g057h44-rzv2h-evk: Enable ADC Prabhakar
@ 2026-12-02 16:24 ` Geert Uytterhoeven
0 siblings, 0 replies; 13+ messages in thread
From: Geert Uytterhoeven @ 2026-12-02 16:24 UTC (permalink / raw)
To: Prabhakar
Cc: Magnus Damm, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Cosmin Tanislav, linux-renesas-soc, devicetree, linux-kernel,
Prabhakar, Biju Das, Fabrizio Castro, Lad Prabhakar
On Tue, 29 Sept 2026 at 14:48, Prabhakar <prabhakar.csengg@gmail.com> wrote:
> From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
>
> Enable the ADC on the RZ/V2H EVK.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
i.e. will queue in renesas-devel for v7.5.
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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 1/4] arm64: dts: renesas: r9a09g057: Add ADC node
2026-12-02 16:19 ` Geert Uytterhoeven
@ 2026-12-02 16:25 ` Geert Uytterhoeven
0 siblings, 0 replies; 13+ messages in thread
From: Geert Uytterhoeven @ 2026-12-02 16:25 UTC (permalink / raw)
To: Prabhakar
Cc: Magnus Damm, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Cosmin Tanislav, linux-renesas-soc, devicetree, linux-kernel,
Prabhakar, Biju Das, Fabrizio Castro, Lad Prabhakar
On Wed, Dec 2, 2026, at 17:19, Geert Uytterhoeven wrote:
> On Tue, 29 Sept 2026 at 14:48, Prabhakar <prabhakar.csengg@gmail.com> wrote:
>> From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
>>
>> Add the ADC device node to the RZ/V2H(P) SoC DTSI.
>>
>> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
>
> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
> i.e. will queue in renesas-devel for v7.5.
With the sort order fixed, of couse.
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
^ permalink raw reply [flat|nested] 13+ messages in thread
* RE: [PATCH 2/4] arm64: dts: renesas: r9a09g056: Add ADC nodes
2026-12-02 16:23 ` Geert Uytterhoeven
@ 2026-12-02 16:51 ` Prabhakar Mahadev Lad
2026-12-03 8:26 ` Geert Uytterhoeven
0 siblings, 1 reply; 13+ messages in thread
From: Prabhakar Mahadev Lad @ 2026-12-02 16:51 UTC (permalink / raw)
To: geert, Prabhakar
Cc: magnus.damm, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Cosmin-Gabriel Tanislav, linux-renesas-soc, devicetree,
linux-kernel, Prabhakar, Biju Das, Fabrizio Castro
Hi Geert,
Thank you for the review.
> From: Geert Uytterhoeven <geert@linux-m68k.org>
> Sent: 02 December 2026 16:24
> To: Prabhakar <prabhakar.csengg@gmail.com>
> Cc: magnus.damm <magnus.damm@gmail.com>; Rob Herring <robh@kernel.org>;
> Krzysztof Kozlowski <krzk+dt@kernel.org>; Conor Dooley
> <conor+dt@kernel.org>; Cosmin-Gabriel Tanislav <cosmin-
> gabriel.tanislav.xa@renesas.com>; linux-renesas-soc@vger.kernel.org;
> devicetree@vger.kernel.org; linux-kernel@vger.kernel.org; Prabhakar
> <prabhakar.csengg+renesas@gmail.com>; Biju Das
> <biju.das.jz@bp.renesas.com>; Fabrizio Castro
> <fabrizio.castro.jz@renesas.com>; Prabhakar Mahadev Lad
> <prabhakar.mahadev-lad.rj@bp.renesas.com>
> 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@gmail.com>
> wrote:
> > From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> >
> > Add the three ADC device nodes to the RZ/V2N SoC DTSI.
> >
> > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
>
> 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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 2/4] arm64: dts: renesas: r9a09g056: Add ADC nodes
2026-12-02 16:51 ` Prabhakar Mahadev Lad
@ 2026-12-03 8:26 ` Geert Uytterhoeven
2026-12-03 9:44 ` Lad, Prabhakar
0 siblings, 1 reply; 13+ messages in thread
From: Geert Uytterhoeven @ 2026-12-03 8:26 UTC (permalink / raw)
To: Lad Prabhakar, Prabhakar
Cc: Magnus Damm, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Cosmin Tanislav, linux-renesas-soc, devicetree, linux-kernel,
Prabhakar, Biju Das, Fabrizio Castro
Hi Prabhakar,
On Wed, Dec 2, 2026, at 17:51, Prabhakar Mahadev Lad wrote:
>> From: Geert Uytterhoeven <geert@linux-m68k.org>
>> On Tue, 29 Sept 2026 at 14:48, Prabhakar <prabhakar.csengg@gmail.com>
>> wrote:
>> > From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
>> >
>> > Add the three ADC device nodes to the RZ/V2N SoC DTSI.
>> >
>> > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
>>
>> 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)
No need to resend, I will fix that while applying.
>> > + 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
OK, thanks!
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
i.e. will queue in renesas-devel for v7.5.
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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 4/4] arm64: dts: renesas: r9a09g056n48-rzv2n-evk: Enable ADC
2026-09-29 12:48 ` [PATCH 4/4] arm64: dts: renesas: r9a09g056n48-rzv2n-evk: " Prabhakar
@ 2026-12-03 8:34 ` Geert Uytterhoeven
0 siblings, 0 replies; 13+ messages in thread
From: Geert Uytterhoeven @ 2026-12-03 8:34 UTC (permalink / raw)
To: Prabhakar
Cc: Magnus Damm, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Cosmin Tanislav, linux-renesas-soc, devicetree, linux-kernel,
Prabhakar, Biju Das, Fabrizio Castro, Lad Prabhakar
On Tue, 29 Sept 2026 at 14:48, Prabhakar <prabhakar.csengg@gmail.com> wrote:
> From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
>
> Enable the ADCs on the RZ/V2N EVK.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
i.e. will queue in renesas-devel for v7.5.
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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 2/4] arm64: dts: renesas: r9a09g056: Add ADC nodes
2026-12-03 8:26 ` Geert Uytterhoeven
@ 2026-12-03 9:44 ` Lad, Prabhakar
0 siblings, 0 replies; 13+ messages in thread
From: Lad, Prabhakar @ 2026-12-03 9:44 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Lad Prabhakar, Magnus Damm, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Cosmin Tanislav, linux-renesas-soc, devicetree,
linux-kernel, Prabhakar, Biju Das, Fabrizio Castro
Hi Geert,
On Thu, Dec 3, 2026 at 8:26 AM Geert Uytterhoeven
<geert+renesas@glider.be> wrote:
>
> Hi Prabhakar,
>
> On Wed, Dec 2, 2026, at 17:51, Prabhakar Mahadev Lad wrote:
> >> From: Geert Uytterhoeven <geert@linux-m68k.org>
> >> On Tue, 29 Sept 2026 at 14:48, Prabhakar <prabhakar.csengg@gmail.com>
> >> wrote:
> >> > From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> >> >
> >> > Add the three ADC device nodes to the RZ/V2N SoC DTSI.
> >> >
> >> > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> >>
> >> 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)
>
> No need to resend, I will fix that while applying.
>
Thank you for taking care for it.
Cheers,
Prabhakar
> >> > + 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
>
> OK, thanks!
>
> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
> i.e. will queue in renesas-devel for v7.5.
>
> 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
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2026-12-03 9:45 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-29 12:48 [PATCH 0/4] Add ADC support for RZ/V2H(P) and RZ/V2N SoCs Prabhakar
2026-09-29 12:48 ` [PATCH 1/4] arm64: dts: renesas: r9a09g057: Add ADC node Prabhakar
2026-12-02 16:19 ` Geert Uytterhoeven
2026-12-02 16:25 ` Geert Uytterhoeven
2026-09-29 12:48 ` [PATCH 2/4] arm64: dts: renesas: r9a09g056: Add ADC nodes Prabhakar
2026-12-02 16:23 ` Geert Uytterhoeven
2026-12-02 16:51 ` Prabhakar Mahadev Lad
2026-12-03 8:26 ` Geert Uytterhoeven
2026-12-03 9:44 ` Lad, Prabhakar
2026-09-29 12:48 ` [PATCH 3/4] arm64: dts: renesas: r9a09g057h44-rzv2h-evk: Enable ADC Prabhakar
2026-12-02 16:24 ` Geert Uytterhoeven
2026-09-29 12:48 ` [PATCH 4/4] arm64: dts: renesas: r9a09g056n48-rzv2n-evk: " Prabhakar
2026-12-03 8:34 ` Geert Uytterhoeven
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®