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

2017-01-29 Thread Sebastian Reichel
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

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

2017-01-29 Thread Sebastian Reichel
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

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

2017-01-28 Thread Jonathan Cameron
On 27/01/17 08:54, 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

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

2017-01-28 Thread Jonathan Cameron
On 27/01/17 08:54, 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

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

2017-01-27 Thread Quentin Schulz
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

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

2017-01-27 Thread Quentin Schulz
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