iio: adc: mp2629: Add support for mp2629 ADC driver
authorSaravanan Sekar <sravanhome@gmail.com>
Tue, 26 May 2020 09:06:43 +0000 (11:06 +0200)
committerLee Jones <lee.jones@linaro.org>
Tue, 26 May 2020 09:41:47 +0000 (10:41 +0100)
commit7abd9fb6468225f5c7f83149ce279cc1a912a68a
tree9e85c85e8ea9a0578ae0ac9f1f2e83565021bd1d
parent06081646450e46efcc1ca58c3b227bd60083cd3e
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>
drivers/iio/adc/Kconfig
drivers/iio/adc/Makefile
drivers/iio/adc/mp2629_adc.c [new file with mode: 0644]
include/linux/mfd/mp2629.h