summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/Kconfig
diff options
context:
space:
mode:
authorAntoine Tenart <antoine.tenart@free-electrons.com>2015-05-18 11:19:18 +0200
committerJonathan Cameron <jic23@kernel.org>2015-05-23 10:47:40 +0100
commit70f1937911caebd961833314b41a618a33a5130a (patch)
treee46826ed70a64c04398392ebe56a5563b5b015c7 /drivers/iio/adc/Kconfig
parent90bad33acbd82437cbf54eb1cefa6f6153fab927 (diff)
downloadop-kernel-dev-70f1937911caebd961833314b41a618a33a5130a.zip
op-kernel-dev-70f1937911caebd961833314b41a618a33a5130a.tar.gz
iio: adc: add support for Berlin
This patch adds the support of the Berlin ADC, available on Berlin SoCs. This ADC has 8 channels available, with one connected to a temperature sensor. The particularity here, is that the temperature sensor connected to the ADC has its own registers, and both the ADC and the temperature sensor must be configured when using it. Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/adc/Kconfig')
-rw-r--r--drivers/iio/adc/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
index e36a73e..cee50de 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -135,6 +135,13 @@ config AXP288_ADC
device. Depending on platform configuration, this general purpose ADC can
be used for sampling sensors such as thermal resistors.
+config BERLIN2_ADC
+ tristate "Marvell Berlin2 ADC driver"
+ depends on ARCH_BERLIN
+ help
+ Marvell Berlin2 ADC driver. This ADC has 8 channels, with one used for
+ temperature measurement.
+
config DA9150_GPADC
tristate "Dialog DA9150 GPADC driver support"
depends on MFD_DA9150
OpenPOWER on IntegriCloud