[PATCH v3 0/8] Add ADC driver support for RZ/V2H(P) and RZ/V2N SoCs

From: Prabhakar

Date: Fri Oct 23 2026 - 14:00:51 EST


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

Hi all,

This patch series aims to add ADC support for the RZ/V2H(P) and RZ/V2N
SoCs. The ADC IP on these SoCs is similar to the one found on the RZ/T2H
SoC but varies slightly in terms of available channels and configuration
options.

v2->v3:
- Added Ack from Conor for the DT binding patch
- Avoided splitting up the ndelay calculation into multiple lines
in patch#2
- rzt2h_adc_pm_runtime_suspend() now checks the return value of
reset_control_assert() and returns if non-zero. This is to
avoid churn in future patch.
- In rzt2h_adc_write_scale() used multiplication() operation
for comparison by dropping the div_u64_rem in patch #8

v1->v2:
- Dropped using DIV_ROUND_UP_ULL to DIV_ROUND_UP
- Included time64.h
- Returned -ENODATA in case device_get_match_data() returns NULL
- Renamed RZT2H_ADC_VREF_MV to RZT2H_ADC_VREF_mV
- Updated Kconfig description
- Included array_size.h
- Dropped unnecessary extra line in rzt2h_adc_write_scale

v2: https://lore.kernel.org/all/20261009184122.1378797-1-prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx/
v1: https://lore.kernel.org/all/20260929124248.237032-1-prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx/

Cheers,
Prabhakar

Lad Prabhakar (8):
dt-bindings: iio: adc: renesas,r9a09g077-adc: Add RZ/V2H(P) and RZ/V2N
support
iio: adc: rzt2h: Wait for the analog part to stop after a forced stop
iio: adc: rzt2h: Add chip-specific configuration
iio: adc: rzt2h: Add optional reset support
iio: adc: rzt2h: Prepare for SoCs without sample state registers
iio: adc: rzt2h: Prepare for SoCs with different ADC info
iio: adc: rzt2h: Use scan type for ADC scale
iio: adc: rzt2h: Add support for RZ/V2H(P) SoC

.../iio/adc/renesas,r9a09g077-adc.yaml | 38 +-
drivers/iio/adc/Kconfig | 10 +-
drivers/iio/adc/rzt2h_adc.c | 327 ++++++++++++++++--
3 files changed, 346 insertions(+), 29 deletions(-)

--
2.55.0