[PATCH 1/8] dt-bindings: iio: adc: renesas,r9a09g077-adc: Add RZ/V2H(P) and RZ/V2N support

From: Prabhakar

Date: Tue Sep 29 2026 - 08:43:18 EST


From: Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx>

Extend the ADC binding for the RZ/V2H(P) and RZ/V2N SoCs to describe the
ADC variant used by these SoCs and its differences from RZ/T2H.

The RZ/V2H(P) ADC provides 8 channels, has a fixed conversion time of
20 ADCLK cycles, does not support calibration, and supports selectable
12-bit and 8-bit conversion resolution.

Add RZ/V2N with RZ/V2H(P) as its fallback compatible, as the ADC IP is
identical between the two SoCs.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx>
---
.../iio/adc/renesas,r9a09g077-adc.yaml | 38 +++++++++++++++++--
1 file changed, 34 insertions(+), 4 deletions(-)

diff --git a/Documentation/devicetree/bindings/iio/adc/renesas,r9a09g077-adc.yaml b/Documentation/devicetree/bindings/iio/adc/renesas,r9a09g077-adc.yaml
index 5b496729022e..a0fed2f31370 100644
--- a/Documentation/devicetree/bindings/iio/adc/renesas,r9a09g077-adc.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/renesas,r9a09g077-adc.yaml
@@ -18,10 +18,14 @@ description: |
properties:
compatible:
oneOf:
+ - enum:
+ - renesas,r9a09g057-adc # RZ/V2H(P)
+ - renesas,r9a09g077-adc # RZ/T2H
- items:
- - const: renesas,r9a09g087-adc # RZ/N2H
- - const: renesas,r9a09g077-adc # RZ/T2H
+ - const: renesas,r9a09g056-adc # RZ/V2N
+ - const: renesas,r9a09g057-adc # RZ/V2H(P)
- items:
+ - const: renesas,r9a09g087-adc # RZ/N2H
- const: renesas,r9a09g077-adc # RZ/T2H

reg:
@@ -55,19 +59,22 @@ properties:

dmas:
minItems: 1
- maxItems: 3
+ maxItems: 5
description:
Must contain a list of references to DMA RX specifiers.

dma-names:
minItems: 1
- maxItems: 3
+ maxItems: 5
items:
const: rx

power-domains:
maxItems: 1

+ resets:
+ maxItems: 1
+
'#address-cells':
const: 1

@@ -101,6 +108,29 @@ required:
- clock-names
- power-domains

+allOf:
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: renesas,r9a09g057-adc
+ then:
+ required:
+ - resets
+ patternProperties:
+ "^channel@[8-f]$": false
+ "^channel@[0-7]$":
+ properties:
+ reg:
+ maximum: 7
+ else:
+ properties:
+ dmas:
+ maxItems: 3
+ dma-names:
+ maxItems: 3
+ resets: false
+
additionalProperties: false

examples:
--
2.55.0