summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/Kconfig
diff options
context:
space:
mode:
authorSanchayan Maity <maitysanchayan@gmail.com>2015-08-17 17:51:40 +0200
committerJonathan Cameron <jic23@kernel.org>2015-08-31 17:19:30 +0200
commit0010d6b444064029f924b4973f74b87579daddc6 (patch)
treeba493231e7b00bf55bbe766b40afc1afbc17d985 /drivers/iio/adc/Kconfig
parentstaging: iio: adc: lpc32xx: use correct reutrn value (diff)
downloadlinux-0010d6b444064029f924b4973f74b87579daddc6.tar.xz
linux-0010d6b444064029f924b4973f74b87579daddc6.zip
iio: adc: vf610: Add IIO buffer support for Vybrid ADC
This patch adds support for IIO buffer to the Vybrid ADC driver. IIO triggered buffer infrastructure along with iio sysfs trigger is used to leverage continuous sampling support provided by the ADC block. Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com> Acked-by: Fugang Duan <B38611@freescale.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/adc/Kconfig')
-rw-r--r--drivers/iio/adc/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
index deea62c219ac..27531180d94b 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -361,6 +361,8 @@ config TWL6030_GPADC
config VF610_ADC
tristate "Freescale vf610 ADC driver"
depends on OF
+ select IIO_BUFFER
+ select IIO_TRIGGERED_BUFFER
help
Say yes here to support for Vybrid board analog-to-digital converter.
Since the IP is used for i.MX6SLX, the driver also support i.MX6SLX.