]> git.ipfire.org Git - thirdparty/linux.git/commit
iio: adc: max14001: New driver
authorMarilene Andrade Garcia <marilene.agarcia@gmail.com>
Wed, 15 Oct 2025 05:12:08 +0000 (02:12 -0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 20 Oct 2025 17:51:04 +0000 (18:51 +0100)
commit59795109fa67d2bee7c8c2847a487d4dddb428c1
tree574bcce614ded2f45bdc4d505c2dd7cce9a1fc67
parent192e5bbf0a8d7a629e6f9fa9e2fae54c3268bb7f
iio: adc: max14001: New driver

The MAX14001/MAX14002 is configurable, isolated 10-bit ADCs for multi-range
binary inputs. In addition to ADC readings, the MAX14001/MAX14002 offers
more features, like a binary comparator, a filtered reading that can
provide the average of the last 2, 4, or 8 ADC readings, and an inrush
comparator that triggers the inrush current. There is also a fault feature
that can diagnose seven possible fault conditions. And an option to select
an external or internal ADC voltage reference.

MAX14001/MAX14002 features implemented so far:
- Raw ADC reading.
- MV fault disable.
- Selection of external or internal ADC voltage reference, depending on
whether it is declared in the device tree.

Co-developed-by: Kim Seer Paller <kimseer.paller@analog.com>
Signed-off-by: Kim Seer Paller <kimseer.paller@analog.com>
Signed-off-by: Marilene Andrade Garcia <marilene.agarcia@gmail.com>
Tested-by: Marcelo Schmitt <marcelo.schmitt1@gmail.com>
Reviewed-by: Marcelo Schmitt <marcelo.schmitt1@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
MAINTAINERS
drivers/iio/adc/Kconfig
drivers/iio/adc/Makefile
drivers/iio/adc/max14001.c [new file with mode: 0644]