* [PATCH 1/3] dt-bindings: iio: adc: renesas,r9a09g077-adc: Drop unwired interrupts
2026-09-21 11:01 [PATCH 0/3] Drop unwired ADC interrupts for RZ/T2H and RZN2H SoCs Prabhakar
@ 2026-09-21 11:01 ` Prabhakar
2026-09-22 15:30 ` Geert Uytterhoeven
2026-09-21 11:01 ` [PATCH 2/3] arm64: dts: renesas: r9a09g077: Drop unwired ADC interrupts Prabhakar
2026-09-21 11:01 ` [PATCH 3/3] arm64: dts: renesas: r9a09g087: " Prabhakar
2 siblings, 1 reply; 8+ messages in thread
From: Prabhakar @ 2026-09-21 11:01 UTC (permalink / raw)
To: Geert Uytterhoeven, Cosmin Tanislav, David Lechner, Nuno Sá,
Andy Shevchenko, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Magnus Damm
Cc: linux-iio, linux-renesas-soc, devicetree, linux-kernel,
Prabhakar, Biju Das, Fabrizio Castro, Lad Prabhakar
From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Remove the compare match and compare mismatch interrupts from the binding,
as these interrupts are not wired to the GIC on RZ/T2H and RZ/N2H SoCs
according to the hardware manual Rev. 1.30.
While this change introduces an ABI break, the expected impact on existing
users is minimal, if any, since the interrupts are not wired to the GIC
and are not used by the driver.
Fixes: 4d8d58987cb5 ("dt-bindings: iio: adc: document RZ/T2H and RZ/N2H ADC")
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
.../bindings/iio/adc/renesas,r9a09g077-adc.yaml | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/Documentation/devicetree/bindings/iio/adc/renesas,r9a09g077-adc.yaml b/Documentation/devicetree/bindings/iio/adc/renesas,r9a09g077-adc.yaml
index 4b5934ac296b..5b496729022e 100644
--- a/Documentation/devicetree/bindings/iio/adc/renesas,r9a09g077-adc.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/renesas,r9a09g077-adc.yaml
@@ -34,8 +34,6 @@ properties:
- description: A/D scan end interrupt for Group C
- description: Window A compare match
- description: Window B compare match
- - description: Compare match
- - description: Compare mismatch
interrupt-names:
items:
@@ -44,8 +42,6 @@ properties:
- const: gcadi
- const: cmpai
- const: cmpbi
- - const: wcmpm
- - const: wcmpum
clocks:
items:
@@ -119,11 +115,9 @@ examples:
<GIC_SPI 709 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 710 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 711 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 712 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 855 IRQ_TYPE_EDGE_RISING>,
- <GIC_SPI 856 IRQ_TYPE_EDGE_RISING>;
+ <GIC_SPI 712 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "adi", "gbadi", "gcadi",
- "cmpai", "cmpbi", "wcmpm", "wcmpum";
+ "cmpai", "cmpbi";
clocks = <&cpg CPG_CORE R9A09G077_CLK_PCLKL>,
<&cpg CPG_MOD 225>;
clock-names = "adclk", "pclk";
--
2.55.0
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [PATCH 1/3] dt-bindings: iio: adc: renesas,r9a09g077-adc: Drop unwired interrupts
2026-09-21 11:01 ` [PATCH 1/3] dt-bindings: iio: adc: renesas,r9a09g077-adc: Drop unwired interrupts Prabhakar
@ 2026-09-22 15:30 ` Geert Uytterhoeven
2026-09-25 2:33 ` Jonathan Cameron
0 siblings, 1 reply; 8+ messages in thread
From: Geert Uytterhoeven @ 2026-09-22 15:30 UTC (permalink / raw)
To: Prabhakar
Cc: Cosmin Tanislav, David Lechner, Nuno Sá,
Andy Shevchenko, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Magnus Damm, linux-iio, linux-renesas-soc, devicetree,
linux-kernel, Biju Das, Fabrizio Castro, Lad Prabhakar
Hi Prabhakar,
Thanks for your patch!
On Mon, 21 Sept 2026 at 13:01, Prabhakar <prabhakar.csengg@gmail.com> wrote:
> From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
>
> Remove the compare match and compare mismatch interrupts from the binding,
> as these interrupts are not wired to the GIC on RZ/T2H and RZ/N2H SoCs
> according to the hardware manual Rev. 1.30.
These are indeed only wired to the DMAC and Event Link Controller.
>
> While this change introduces an ABI break, the expected impact on existing
> users is minimal, if any, since the interrupts are not wired to the GIC
> and are not used by the driver.
>
> Fixes: 4d8d58987cb5 ("dt-bindings: iio: adc: document RZ/T2H and RZ/N2H ADC")
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
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] 8+ messages in thread* Re: [PATCH 1/3] dt-bindings: iio: adc: renesas,r9a09g077-adc: Drop unwired interrupts
2026-09-22 15:30 ` Geert Uytterhoeven
@ 2026-09-25 2:33 ` Jonathan Cameron
0 siblings, 0 replies; 8+ messages in thread
From: Jonathan Cameron @ 2026-09-25 2:33 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Prabhakar, Cosmin Tanislav, David Lechner, Nuno Sá,
Andy Shevchenko, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Magnus Damm, linux-iio, linux-renesas-soc, devicetree,
linux-kernel, Biju Das, Fabrizio Castro, Lad Prabhakar
On Tue, 22 Sep 2026 17:30:47 +0200
Geert Uytterhoeven <geert@linux-m68k.org> wrote:
> Hi Prabhakar,
>
> Thanks for your patch!
>
> On Mon, 21 Sept 2026 at 13:01, Prabhakar <prabhakar.csengg@gmail.com> wrote:
> > From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> >
> > Remove the compare match and compare mismatch interrupts from the binding,
> > as these interrupts are not wired to the GIC on RZ/T2H and RZ/N2H SoCs
> > according to the hardware manual Rev. 1.30.
>
> These are indeed only wired to the DMAC and Event Link Controller.
>
> >
> > While this change introduces an ABI break, the expected impact on existing
> > users is minimal, if any, since the interrupts are not wired to the GIC
> > and are not used by the driver.
> >
> > Fixes: 4d8d58987cb5 ("dt-bindings: iio: adc: document RZ/T2H and RZ/N2H ADC")
> > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
>
> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
I'll assume the dt maintainers won't mind me merging a patch that
drops stuff without a tag from them.
Applied to the testing branch of iio.git which basically means queued for 7.4
Thanks,
Jonathan
>
> Gr{oetje,eeting}s,
>
> Geert
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 2/3] arm64: dts: renesas: r9a09g077: Drop unwired ADC interrupts
2026-09-21 11:01 [PATCH 0/3] Drop unwired ADC interrupts for RZ/T2H and RZN2H SoCs Prabhakar
2026-09-21 11:01 ` [PATCH 1/3] dt-bindings: iio: adc: renesas,r9a09g077-adc: Drop unwired interrupts Prabhakar
@ 2026-09-21 11:01 ` Prabhakar
2026-09-22 15:31 ` Geert Uytterhoeven
2026-09-21 11:01 ` [PATCH 3/3] arm64: dts: renesas: r9a09g087: " Prabhakar
2 siblings, 1 reply; 8+ messages in thread
From: Prabhakar @ 2026-09-21 11:01 UTC (permalink / raw)
To: Geert Uytterhoeven, Cosmin Tanislav, David Lechner, Nuno Sá,
Andy Shevchenko, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Magnus Damm
Cc: linux-iio, linux-renesas-soc, devicetree, linux-kernel,
Prabhakar, Biju Das, Fabrizio Castro, Lad Prabhakar
From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Remove the compare match and compare mismatch interrupts from the ADC
device nodes, as these interrupts are not wired to the GIC according to
the hardware manual Rev.1.30.
Fixes: a82a42963c89 ("arm64: dts: renesas: r9a09g077: Add ADCs support")
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
arch/arm64/boot/dts/renesas/r9a09g077.dtsi | 18 ++++++------------
1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/arch/arm64/boot/dts/renesas/r9a09g077.dtsi b/arch/arm64/boot/dts/renesas/r9a09g077.dtsi
index 486692bb84cf..674e35e4f242 100644
--- a/arch/arm64/boot/dts/renesas/r9a09g077.dtsi
+++ b/arch/arm64/boot/dts/renesas/r9a09g077.dtsi
@@ -1271,11 +1271,9 @@ adc0: adc@90014000 {
<GIC_SPI 699 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 700 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 701 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 702 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 851 IRQ_TYPE_EDGE_RISING>,
- <GIC_SPI 852 IRQ_TYPE_EDGE_RISING>;
+ <GIC_SPI 702 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "adi", "gbadi", "gcadi",
- "cmpai", "cmpbi", "wcmpm", "wcmpum";
+ "cmpai", "cmpbi";
clocks = <&cpg CPG_CORE R9A09G077_CLK_PCLKL>,
<&cpg CPG_MOD 206>;
clock-names = "adclk", "pclk";
@@ -1295,11 +1293,9 @@ adc1: adc@90014400 {
<GIC_SPI 704 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 705 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 706 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 707 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 853 IRQ_TYPE_EDGE_RISING>,
- <GIC_SPI 854 IRQ_TYPE_EDGE_RISING>;
+ <GIC_SPI 707 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "adi", "gbadi", "gcadi",
- "cmpai", "cmpbi", "wcmpm", "wcmpum";
+ "cmpai", "cmpbi";
clocks = <&cpg CPG_CORE R9A09G077_CLK_PCLKL>,
<&cpg CPG_MOD 207>;
clock-names = "adclk", "pclk";
@@ -1319,11 +1315,9 @@ adc2: adc@80008000 {
<GIC_SPI 709 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 710 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 711 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 712 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 855 IRQ_TYPE_EDGE_RISING>,
- <GIC_SPI 856 IRQ_TYPE_EDGE_RISING>;
+ <GIC_SPI 712 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "adi", "gbadi", "gcadi",
- "cmpai", "cmpbi", "wcmpm", "wcmpum";
+ "cmpai", "cmpbi";
clocks = <&cpg CPG_CORE R9A09G077_CLK_PCLKL>,
<&cpg CPG_MOD 225>;
clock-names = "adclk", "pclk";
--
2.55.0
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [PATCH 2/3] arm64: dts: renesas: r9a09g077: Drop unwired ADC interrupts
2026-09-21 11:01 ` [PATCH 2/3] arm64: dts: renesas: r9a09g077: Drop unwired ADC interrupts Prabhakar
@ 2026-09-22 15:31 ` Geert Uytterhoeven
0 siblings, 0 replies; 8+ messages in thread
From: Geert Uytterhoeven @ 2026-09-22 15:31 UTC (permalink / raw)
To: Prabhakar
Cc: Cosmin Tanislav, David Lechner, Nuno Sá,
Andy Shevchenko, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Magnus Damm, linux-iio, linux-renesas-soc, devicetree,
linux-kernel, Biju Das, Fabrizio Castro, Lad Prabhakar
On Mon, 21 Sept 2026 at 13:02, Prabhakar <prabhakar.csengg@gmail.com> wrote:
> From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
>
> Remove the compare match and compare mismatch interrupts from the ADC
> device nodes, as these interrupts are not wired to the GIC according to
> the hardware manual Rev.1.30.
>
> Fixes: a82a42963c89 ("arm64: dts: renesas: r9a09g077: Add ADCs support")
> 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.4.
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] 8+ messages in thread
* [PATCH 3/3] arm64: dts: renesas: r9a09g087: Drop unwired ADC interrupts
2026-09-21 11:01 [PATCH 0/3] Drop unwired ADC interrupts for RZ/T2H and RZN2H SoCs Prabhakar
2026-09-21 11:01 ` [PATCH 1/3] dt-bindings: iio: adc: renesas,r9a09g077-adc: Drop unwired interrupts Prabhakar
2026-09-21 11:01 ` [PATCH 2/3] arm64: dts: renesas: r9a09g077: Drop unwired ADC interrupts Prabhakar
@ 2026-09-21 11:01 ` Prabhakar
2026-09-22 15:31 ` Geert Uytterhoeven
2 siblings, 1 reply; 8+ messages in thread
From: Prabhakar @ 2026-09-21 11:01 UTC (permalink / raw)
To: Geert Uytterhoeven, Cosmin Tanislav, David Lechner, Nuno Sá,
Andy Shevchenko, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Magnus Damm
Cc: linux-iio, linux-renesas-soc, devicetree, linux-kernel,
Prabhakar, Biju Das, Fabrizio Castro, Lad Prabhakar
From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Remove the compare match and compare mismatch interrupts from the ADC
device nodes, as these interrupts are not wired to the GIC according to
the hardware manual Rev.1.30.
Fixes: 4ed27b4fdeb1 ("arm64: dts: renesas: r9a09g087: Add ADCs support")
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
arch/arm64/boot/dts/renesas/r9a09g087.dtsi | 18 ++++++------------
1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/arch/arm64/boot/dts/renesas/r9a09g087.dtsi b/arch/arm64/boot/dts/renesas/r9a09g087.dtsi
index bf81ab9b64c5..68c8daed557b 100644
--- a/arch/arm64/boot/dts/renesas/r9a09g087.dtsi
+++ b/arch/arm64/boot/dts/renesas/r9a09g087.dtsi
@@ -1274,11 +1274,9 @@ adc0: adc@90014000 {
<GIC_SPI 699 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 700 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 701 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 702 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 851 IRQ_TYPE_EDGE_RISING>,
- <GIC_SPI 852 IRQ_TYPE_EDGE_RISING>;
+ <GIC_SPI 702 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "adi", "gbadi", "gcadi",
- "cmpai", "cmpbi", "wcmpm", "wcmpum";
+ "cmpai", "cmpbi";
clocks = <&cpg CPG_CORE R9A09G087_CLK_PCLKL>,
<&cpg CPG_MOD 206>;
clock-names = "adclk", "pclk";
@@ -1298,11 +1296,9 @@ adc1: adc@90014400 {
<GIC_SPI 704 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 705 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 706 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 707 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 853 IRQ_TYPE_EDGE_RISING>,
- <GIC_SPI 854 IRQ_TYPE_EDGE_RISING>;
+ <GIC_SPI 707 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "adi", "gbadi", "gcadi",
- "cmpai", "cmpbi", "wcmpm", "wcmpum";
+ "cmpai", "cmpbi";
clocks = <&cpg CPG_CORE R9A09G087_CLK_PCLKL>,
<&cpg CPG_MOD 207>;
clock-names = "adclk", "pclk";
@@ -1322,11 +1318,9 @@ adc2: adc@80008000 {
<GIC_SPI 709 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 710 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 711 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 712 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 855 IRQ_TYPE_EDGE_RISING>,
- <GIC_SPI 856 IRQ_TYPE_EDGE_RISING>;
+ <GIC_SPI 712 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "adi", "gbadi", "gcadi",
- "cmpai", "cmpbi", "wcmpm", "wcmpum";
+ "cmpai", "cmpbi";
clocks = <&cpg CPG_CORE R9A09G087_CLK_PCLKL>,
<&cpg CPG_MOD 225>;
clock-names = "adclk", "pclk";
--
2.55.0
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [PATCH 3/3] arm64: dts: renesas: r9a09g087: Drop unwired ADC interrupts
2026-09-21 11:01 ` [PATCH 3/3] arm64: dts: renesas: r9a09g087: " Prabhakar
@ 2026-09-22 15:31 ` Geert Uytterhoeven
0 siblings, 0 replies; 8+ messages in thread
From: Geert Uytterhoeven @ 2026-09-22 15:31 UTC (permalink / raw)
To: Prabhakar
Cc: Cosmin Tanislav, David Lechner, Nuno Sá,
Andy Shevchenko, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Magnus Damm, linux-iio, linux-renesas-soc, devicetree,
linux-kernel, Biju Das, Fabrizio Castro, Lad Prabhakar
On Mon, 21 Sept 2026 at 13:02, Prabhakar <prabhakar.csengg@gmail.com> wrote:
> From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
>
> Remove the compare match and compare mismatch interrupts from the ADC
> device nodes, as these interrupts are not wired to the GIC according to
> the hardware manual Rev.1.30.
>
> Fixes: 4ed27b4fdeb1 ("arm64: dts: renesas: r9a09g087: Add ADCs support")
> 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.4.
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] 8+ messages in thread