diff options
author | Saravanan Sekar <sravanhome@gmail.com> | 2020-05-26 12:06:43 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2020-05-26 12:41:47 +0300 |
commit | 7abd9fb6468225f5c7f83149ce279cc1a912a68a (patch) | |
tree | 9e85c85e8ea9a0578ae0ac9f1f2e83565021bd1d /drivers/iio/adc/Kconfig | |
parent | 06081646450e46efcc1ca58c3b227bd60083cd3e (diff) | |
download | linux-7abd9fb6468225f5c7f83149ce279cc1a912a68a.tar.xz |
iio: adc: mp2629: Add support for mp2629 ADC driver
Add support for 8-bit resolution ADC readings for input power
supply and battery charging measurement. Provides voltage, current
readings to mp2629 power supply driver.
Signed-off-by: Saravanan Sekar <sravanhome@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/iio/adc/Kconfig')
-rw-r--r-- | drivers/iio/adc/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig index 12bb8b7ca1ff..a864ede98114 100644 --- a/drivers/iio/adc/Kconfig +++ b/drivers/iio/adc/Kconfig @@ -692,6 +692,16 @@ config MESON_SARADC To compile this driver as a module, choose M here: the module will be called meson_saradc. +config MP2629_ADC + tristate "Monolithic MP2629 ADC driver" + depends on MFD_MP2629 + help + Say yes to have support for battery charger IC MP2629 ADC device + accessed over I2C. + + This driver provides ADC conversion of system, input power supply + and battery voltage & current information. + config NAU7802 tristate "Nuvoton NAU7802 ADC driver" depends on I2C |