diff options
author | Quentin Schulz <quentin.schulz@free-electrons.com> | 2017-04-04 08:34:41 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2017-04-27 10:25:07 +0200 |
commit | 0e34d5de961d5a8a84cf77878ca871c6e8104620 (patch) | |
tree | ab1eb178d67f1320548b0530cae31743daad27a9 /lib | |
parent | mfd: cpcap: Fix bad use of IRQ sense register (diff) | |
download | linux-0e34d5de961d5a8a84cf77878ca871c6e8104620.tar.xz linux-0e34d5de961d5a8a84cf77878ca871c6e8104620.zip |
iio: adc: add support for X-Powers AXP20X and AXP22X PMICs ADCs
The X-Powers AXP20X and AXP22X PMICs have multiple ADCs. They expose the
battery voltage, battery charge and discharge currents, AC-in and VBUS
voltages and currents, 2 GPIOs muxable in ADC mode and PMIC temperature.
This adds support for most of AXP20X and AXP22X ADCs.
Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Reviewed-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions