iio: adc: ad7380: add support for adaq4370-4 and adaq4380-4
authorJulien Stephan <jstephan@baylibre.com>
Wed, 30 Oct 2024 13:44:28 +0000 (14:44 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 9 Nov 2024 10:41:55 +0000 (10:41 +0000)
commitc904e6dcf4024e484cba6d61e379b53d802fa497
tree460e431362dc36817fd56dddddd24c4f12449a70
parent9bb0e49a22e4d67953c16aca4d45b3c1f8d54a87
iio: adc: ad7380: add support for adaq4370-4 and adaq4380-4

adaq4370-4 (2MSPS) and adaq4380-4 (4MSPS) are quad-channel precision data
acquisition signal chain μModule solutions compatible with the ad738x
family, with the following differences:

- pin selectable gain in front of each 4 adc
- internal reference is 3V derived from refin-supply (5V)
- additional supplies

This implies that IIO_CHAN_INFO_SCALE can not be shared by type for
these new devices.

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Reviewed-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20241030-ad7380-add-adaq4380-4-support-v4-4-864ff02babae@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad7380.c