summaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.kasan
diff options
context:
space:
mode:
authorQuentin Schulz <quentin.schulz@free-electrons.com>2017-01-27 09:54:36 +0100
committerSebastian Reichel <sre@kernel.org>2017-01-29 23:15:17 +0100
commit33863c938caa2538397170f1a355885f1ea1564e (patch)
tree757c1a82857b7757260222d7674d40c269f22ac1 /lib/Kconfig.kasan
parent166e8dbd630af5248c66c29082480d3cc44da010 (diff)
downloadtalos-op-linux-33863c938caa2538397170f1a355885f1ea1564e.tar.gz
talos-op-linux-33863c938caa2538397170f1a355885f1ea1564e.zip
power: supply: axp20x_usb_power: use IIO channels when available
The X-Powers AXP20X PMIC exposes the current current and voltage measures via an internal ADC. This adds the possibility to read IIO channels directly for processed values rather than reading the registers and computing the value. For backward compatibility purpose, if the IIO driver is not compiled, this driver will fall back on previous behaviour which is direct register readings. Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'lib/Kconfig.kasan')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud