summaryrefslogtreecommitdiff
path: root/drivers/iio/adc/Kconfig
diff options
context:
space:
mode:
authorRaveendra Padasalagi <raveendra.padasalagi@broadcom.com>2016-06-28 13:10:35 +0530
committerJonathan Cameron <jic23@kernel.org>2016-07-03 11:32:30 +0100
commit4324c97ecedcba8a548bcff9d620880e11359425 (patch)
tree1f561278c9ccffb3f58316d11df32d5abadc935b /drivers/iio/adc/Kconfig
parentd3c4d0ab3b4e7cdfe5a209ba4d58bf5787e7c47f (diff)
iio: Add driver for Broadcom iproc-static-adc
This patch adds basic driver implementation for Broadcom's static adc controller used in iProc SoC's family. Signed-off-by: Raveendra Padasalagi <raveendra.padasalagi@broadcom.com> Reviewed-by: Ray Jui <ray.jui@broadcom.com> Reviewed-by: Scott Branden <scott.branden@broadcom.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/adc/Kconfig')
-rw-r--r--drivers/iio/adc/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
index 25378c5882e2..1de31bdd4ce4 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -153,6 +153,18 @@ config AXP288_ADC
To compile this driver as a module, choose M here: the module will be
called axp288_adc.
+config BCM_IPROC_ADC
+ tristate "Broadcom IPROC ADC driver"
+ depends on ARCH_BCM_IPROC || COMPILE_TEST
+ depends on MFD_SYSCON
+ default ARCH_BCM_CYGNUS
+ help
+ Say Y here if you want to add support for the Broadcom static
+ ADC driver.
+
+ Broadcom iProc ADC driver. Broadcom iProc ADC controller has 8
+ channels. The driver allows the user to read voltage values.
+
config BERLIN2_ADC
tristate "Marvell Berlin2 ADC driver"
depends on ARCH_BERLIN