]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: adc: Support ROHM BD79112 ADC/GPIO
authorMatti Vaittinen <mazziesaccount@gmail.com>
Mon, 15 Sep 2025 07:12:43 +0000 (10:12 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 15 Sep 2025 20:12:04 +0000 (21:12 +0100)
commitedf2fc7b5bc4213abd19e9532b80a16e7690a512
tree364f5261e84a60595ecde89b98e7fdee37e23f90
parentd021fb3ae844dad0a1d2f037a9657fde330955bb
iio: adc: Support ROHM BD79112 ADC/GPIO

The ROHM BD79112 is an ADC/GPIO with 32 channels. The channel inputs can
be used as ADC or GPIO. Using the GPIOs as IRQ sources isn't supported.

The ADC is 12-bit, supporting input voltages up to 5.7V, and separate I/O
voltage supply. Maximum SPI clock rate is 20 MHz (10 MHz with
daisy-chain configuration) and maximum sampling rate is 1MSPS.

The IC does also support CRC but it is not implemented in the driver.

Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/Kconfig
drivers/iio/adc/Makefile
drivers/iio/adc/rohm-bd79112.c [new file with mode: 0644]