]> git.ipfire.org Git - thirdparty/linux.git/commit
iio: adc: add RZ/T2H / RZ/N2H ADC driver
authorCosmin Tanislav <cosmin-gabriel.tanislav.xa@renesas.com>
Sun, 5 Oct 2025 11:13:18 +0000 (14:13 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 19 Oct 2025 10:59:18 +0000 (11:59 +0100)
commitfc3b97dd71ab428d6cf6a49c7f67b7067feb6456
treef91d58b9517d5e8ef9abf2d8c380b986a5979f60
parent4d8d58987cb57b3fe9721590888a99310a0e2cda
iio: adc: add RZ/T2H / RZ/N2H ADC driver

Add support for the A/D 12-Bit successive approximation converters found
in the Renesas RZ/T2H (R9A09G077) and RZ/N2H (R9A09G087) SoCs.

RZ/T2H has two ADCs with 4 channels and one with 6.
RZ/N2H has two ADCs with 4 channels and one with 15.

Conversions can be performed in single or continuous mode. Result of the
conversion is stored in a 16-bit data register corresponding to each
channel.

The conversions can be started by a software trigger, a synchronous
trigger (from MTU or from ELC) or an asynchronous external trigger (from
ADTRGn# pin).

Only single mode with software trigger is supported for now.

Signed-off-by: Cosmin Tanislav <cosmin-gabriel.tanislav.xa@renesas.com>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
MAINTAINERS
drivers/iio/adc/Kconfig
drivers/iio/adc/Makefile
drivers/iio/adc/rzt2h_adc.c [new file with mode: 0644]