summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/Kconfig
diff options
context:
space:
mode:
authorHeiko Stübner <heiko@sntech.de>2014-07-23 22:24:00 +0100
committerJonathan Cameron <jic23@kernel.org>2014-08-07 15:13:02 +0100
commit44d6f2ef94f9825e6eb9072f1611e0ea4cd81fa1 (patch)
treec0ad7617550b142a62c747d81e112f797b6014f9 /drivers/iio/adc/Kconfig
parentaf097e86312f2a2ec83d9d2497425f5d61592953 (diff)
downloadlinux-stable-44d6f2ef94f9825e6eb9072f1611e0ea4cd81fa1.tar.gz
linux-stable-44d6f2ef94f9825e6eb9072f1611e0ea4cd81fa1.tar.bz2
linux-stable-44d6f2ef94f9825e6eb9072f1611e0ea4cd81fa1.zip
iio: adc: add driver for Rockchip saradc
The ADC is a 3-channel signal-ended 10-bit Successive Approximation Register (SAR) A/D Converter. It uses the supply and ground as its reference and converts the analog input signal into 10-bit binary digital codes. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Reviewed-by: Hartmut Knaack <knaack.h@gmx.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 3ea56a39b9d2..6655fd41acd9 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -206,6 +206,16 @@ config NAU7802
To compile this driver as a module, choose M here: the
module will be called nau7802.
+config ROCKCHIP_SARADC
+ tristate "Rockchip SARADC driver"
+ depends on ARCH_ROCKCHIP || (ARM && COMPILE_TEST)
+ help
+ Say yes here to build support for the SARADC found in SoCs from
+ Rockchip.
+
+ To compile this driver as a module, choose M here: the
+ module will be called rockchip_saradc.
+
config TI_ADC081C
tristate "Texas Instruments ADC081C021/027"
depends on I2C