aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/Makefile
diff options
context:
space:
mode:
authorStefan Popa <stefan.popa@analog.com>2018-11-13 13:21:32 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2018-11-17 16:41:09 +0000
commitb3af341bbd9662c672d596427ad23973584221d3 (patch)
tree023af9b6291897d574d3efb461c038ab4bbd2c5a /drivers/iio/adc/Makefile
parentdt-bindings: iio: adc: Add common ADCs properties to a separate file (diff)
downloadlinux-dev-b3af341bbd9662c672d596427ad23973584221d3.tar.xz
linux-dev-b3af341bbd9662c672d596427ad23973584221d3.zip
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>
Diffstat (limited to 'drivers/iio/adc/Makefile')
-rw-r--r--drivers/iio/adc/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/adc/Makefile b/drivers/iio/adc/Makefile
index 91ba28aeb150..07df37f621bd 100644
--- a/drivers/iio/adc/Makefile
+++ b/drivers/iio/adc/Makefile
@@ -5,6 +5,7 @@
# When adding new entries keep the list in alphabetical order
obj-$(CONFIG_AD_SIGMA_DELTA) += ad_sigma_delta.o
+obj-$(CONFIG_AD7124) += ad7124.o
obj-$(CONFIG_AD7266) += ad7266.o
obj-$(CONFIG_AD7291) += ad7291.o
obj-$(CONFIG_AD7298) += ad7298.o