]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: adc: ad7380: add support for pseudo-differential parts
authorDavid Lechner <dlechner@baylibre.com>
Tue, 28 May 2024 14:20:31 +0000 (16:20 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 4 Jun 2024 18:53:08 +0000 (19:53 +0100)
commit2920b6ee6d69ed874b8cc60e5a0b930aca102e18
tree55919ac963e12213a4c3575e17c42cbf0006456d
parent6b2c80194e151d8ce41849f97a6ca13c8ca30a32
iio: adc: ad7380: add support for pseudo-differential parts

Add support for AD7383, AD7384 pseudo-differential compatible parts.
Pseudo differential parts require common mode voltage supplies so add
the support for them and add the support of IIO_CHAN_INFO_OFFSET to
retrieve the offset

Signed-off-by: David Lechner <dlechner@baylibre.com>
Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Link: https://lore.kernel.org/r/20240528-adding-new-ad738x-driver-v7-4-4cd70a4c12c8@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad7380.c