diff options
author | Ivan T. Ivanov <iivanov@mm-sol.com> | 2014-10-22 18:13:33 +0400 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-10-26 00:03:22 +0400 |
commit | ce0694841ea61607afcbdb5a67bb0b00328357ef (patch) | |
tree | 773bf4513d4a036fe63b90c4452eca316c1b3874 /drivers/iio/adc/Kconfig | |
parent | e0922e5e3ccb78aa0152e93dfbd1755ac39c8582 (diff) | |
download | linux-ce0694841ea61607afcbdb5a67bb0b00328357ef.tar.xz |
iio: iadc: Qualcomm SPMI PMIC current ADC driver
The current ADC is peripheral of Qualcomm SPMI PMIC chips. It has
16 bits resolution and register space inside PMIC accessible across
SPMI bus.
The driver registers itself through IIO interface.
Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/adc/Kconfig')
-rw-r--r-- | drivers/iio/adc/Kconfig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig index 88bdc8f612e2..d0924f3cfa25 100644 --- a/drivers/iio/adc/Kconfig +++ b/drivers/iio/adc/Kconfig @@ -206,6 +206,20 @@ config NAU7802 To compile this driver as a module, choose M here: the module will be called nau7802. +config QCOM_SPMI_IADC + tristate "Qualcomm SPMI PMIC current ADC" + depends on SPMI + select REGMAP_SPMI + help + This is the IIO Current ADC driver for Qualcomm QPNP IADC Chip. + + The driver supports single mode operation to read from one of two + channels (external or internal). Hardware have additional + channels internally used for gain and offset calibration. + + To compile this driver as a module, choose M here: the module will + be called qcom-spmi-iadc. + config ROCKCHIP_SARADC tristate "Rockchip SARADC driver" depends on ARCH_ROCKCHIP || (ARM && COMPILE_TEST) |