summaryrefslogtreecommitdiff
path: root/drivers/iio/adc/Kconfig
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2012-06-25 16:52:49 +0400
committerJonathan Cameron <jic23@kernel.org>2012-06-30 13:15:07 +0400
commit8ec4cf5303e03941fa5fd91bbb9c85bd4ae88c47 (patch)
tree7ff9976e04391ccb512d63bb14aee494791759eb /drivers/iio/adc/Kconfig
parentc1f1a9d48fd18cd380858637fda1c69732547e1f (diff)
downloadlinux-8ec4cf5303e03941fa5fd91bbb9c85bd4ae88c47.tar.xz
iio:adc: Add AD7265/AD7266 support
This patch adds support for the Analog Devices AD7265 and AD7266 Analog-to-Digital converters. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/adc/Kconfig')
-rw-r--r--drivers/iio/adc/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
index 4f7f584cfd61..8a78b4f3ef58 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -3,6 +3,16 @@
#
menu "Analog to digital converters"
+config AD7266
+ tristate "Analog Devices AD7265/AD7266 ADC driver"
+ depends on SPI_MASTER
+ select IIO_BUFFER
+ select IIO_TRIGGER
+ select IIO_TRIGGERED_BUFFER
+ help
+ Say yes here to build support for Analog Devices AD7265 and AD7266
+ ADCs.
+
config AT91_ADC
tristate "Atmel AT91 ADC"
depends on ARCH_AT91