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

From: Sebastian Reichel
Date: Sun Jan 29 2017 - 11:25:22 EST


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 <quentin.schulz@xxxxxxxxxxxxxxxxxx>

I queued this into power-supply's for next branch.

-- Sebastian

Attachment: signature.asc
Description: PGP signature