]> git.baikalelectronics.ru Git - kernel.git/commit
iio: adc: Add ad7124 support
authorStefan Popa <stefan.popa@analog.com>
Tue, 13 Nov 2018 11:21:32 +0000 (13:21 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 17 Nov 2018 16:41:09 +0000 (16:41 +0000)
commitdee1201254fea00c6d92375dad631e2bb6a438cb
tree023af9b6291897d574d3efb461c038ab4bbd2c5a
parent84a41b33452825671b3262c6684822bcc642cc4e
iio: adc: Add ad7124 support

The ad7124-4 and ad7124-8 are a family of 4 and 8 channel sigma-delta ADCs
with 24-bit precision and reference.

Three power modes are available which in turn affect the output data rate:
 * Full power: 9.38 SPS to 19,200 SPS
 * Mid power: 2.34 SPS to 4800 SPS
 * Low power: 1.17 SPS to 2400 SPS

The ad7124-4 can be configured to have four differential inputs, while
ad7124-8 can have 8. Moreover, ad7124 also supports per channel
configuration. Each configuration consists of gain, reference source,
output data rate and bipolar/unipolar configuration.

Datasheets:
Link: http://www.analog.com/media/en/technical-documentation/data-sheets/AD7124-4.pdf
Link: http://www.analog.com/media/en/technical-documentation/data-sheets/ad7124-8.pdf
Signed-off-by: Stefan Popa <stefan.popa@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
MAINTAINERS
drivers/iio/adc/Kconfig
drivers/iio/adc/Makefile
drivers/iio/adc/ad7124.c [new file with mode: 0644]