summary refs log tree commit diff
path: root/drivers/iio/adc/Kconfig
diff options
context:
space:
mode:
authorH. Nikolaus Schaller <hns@goldelico.com>2015-10-16 14:53:38 +0200
committerJonathan Cameron <jic23@kernel.org>2015-10-25 12:02:41 +0000
commite08e19c331fb249e6dc86365ee80d16045c4aeb1 (patch)
tree4981f2fae39537788f0da5a1b39a65395b231755 /drivers/iio/adc/Kconfig
parent75b6548f1793c7a79a8b063cd575df9c04dcc122 (diff)
downloadlinux-e08e19c331fb249e6dc86365ee80d16045c4aeb1.tar.gz
iio:adc: add iio driver for Palmas (twl6035/7) gpadc
This driver code was found as:

https://android.googlesource.com/kernel/tegra/+/aaabb2e045f31e5a970109ffdaae900dd403d17e/drivers/staging/iio/adc

Fixed various compilation issues and test this driver on omap5 evm.

Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Marek Belisko <marek@goldelico.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Jonathan Cameron <jic23@kernel.org>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/adc/Kconfig')
-rw-r--r--drivers/iio/adc/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
index 7868c744fd4b..daad72e1266d 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -275,6 +275,14 @@ config NAU7802
 	  To compile this driver as a module, choose M here: the
 	  module will be called nau7802.
 
+config PALMAS_GPADC
+	tristate "TI Palmas General Purpose ADC"
+	depends on MFD_PALMAS
+	help
+	  Palmas series pmic chip by Texas Instruments (twl6035/6037)
+	  is used in smartphones and tablets and supports a 16 channel
+	  general purpose ADC.
+
 config QCOM_SPMI_IADC
 	tristate "Qualcomm SPMI PMIC current ADC"
 	depends on SPMI