diff options
author | Antoine Tenart <antoine.tenart@free-electrons.com> | 2015-05-18 12:19:18 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-05-23 12:47:40 +0300 |
commit | 70f1937911caebd961833314b41a618a33a5130a (patch) | |
tree | e46826ed70a64c04398392ebe56a5563b5b015c7 /drivers/iio/adc/Kconfig | |
parent | 90bad33acbd82437cbf54eb1cefa6f6153fab927 (diff) | |
download | linux-70f1937911caebd961833314b41a618a33a5130a.tar.xz |
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/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig index e36a73e7c3a8..cee50de76fb1 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 |