summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/Kconfig
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2012-05-11 15:35:33 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-14 13:24:09 -0700
commit0e589d5fb3172b0dde7fdad3a4829ce5352dd30d (patch)
tree66d651a11dd513bd8d4ba67930cc84ad83a4e48a /drivers/iio/adc/Kconfig
parentaaeb6dfff02f9c1077c2a09c45b99f6255ef9159 (diff)
downloadblackbird-op-linux-0e589d5fb3172b0dde7fdad3a4829ce5352dd30d.tar.gz
blackbird-op-linux-0e589d5fb3172b0dde7fdad3a4829ce5352dd30d.zip
ARM: AT91: IIO: Add AT91 ADC driver.
Add the ADC driver for Atmel's AT91SAM9G20-EK, AT91SAM9M10G45-EK and AT91SAM9X5 family boards. It has support for both software and hardware triggers. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iio/adc/Kconfig')
-rw-r--r--drivers/iio/adc/Kconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
new file mode 100644
index 000000000000..9a0df8123cc4
--- /dev/null
+++ b/drivers/iio/adc/Kconfig
@@ -0,0 +1,16 @@
+#
+# ADC drivers
+#
+menu "Analog to digital converters"
+
+config AT91_ADC
+ tristate "Atmel AT91 ADC"
+ depends on ARCH_AT91
+ select IIO_BUFFER
+ select IIO_KFIFO_BUF
+ select IIO_TRIGGER
+ select SYSFS
+ help
+ Say yes here to build support for Atmel AT91 ADC.
+
+endmenu
OpenPOWER on IntegriCloud