# \[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 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2017/01/4922769
- Thread: https://ratatoskr.run/linux-iio/2017/01/4921921/t.md

```text
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>
```
