[PATCH v2 03/25] power: supply: axp20x_usb_power: use IIO channels when available

From
Sebastian Reichel <sre@kernel.org>
Date
2017-01-29 16:22:02
Also in
linux-devicetree, linux-iio, linux-pm, lkml
Reply to
Quentin Schulz, 2017-01-27
Hi,

On Fri, Jan 27, 2017 at 09:54:36AM +0100, Quentin Schulz wrote:
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 <redacted>
I queued this into power-supply's for next branch.

-- Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170129/63470183/attachment.sig>
Thread (51 messages) 51 messages, 6 authors, last reply 2017-02-08
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help