Re: [PATCH 2/8] iio: adc: axp20x_adc: add support for AXP813 ADC

2017-12-12 Thread Jonathan Cameron
On Mon, 11 Dec 2017 09:18:55 +0100 Quentin Schulz wrote: > Hi Jonathan, > > On 10/12/2017 17:36, Jonathan Cameron wrote: > > On Mon, 4 Dec 2017 15:12:48 +0100 > > Quentin Schulz wrote: > > > >> The X-Powers AXP813 PMIC

Re: [PATCH 2/8] iio: adc: axp20x_adc: add support for AXP813 ADC

2017-12-12 Thread Jonathan Cameron
On Mon, 11 Dec 2017 09:18:55 +0100 Quentin Schulz wrote: > Hi Jonathan, > > On 10/12/2017 17:36, Jonathan Cameron wrote: > > On Mon, 4 Dec 2017 15:12:48 +0100 > > Quentin Schulz wrote: > > > >> The X-Powers AXP813 PMIC is really close to what is already done for > >> AXP20X/AXP22X. > >> >

Re: [PATCH 2/8] iio: adc: axp20x_adc: add support for AXP813 ADC

2017-12-11 Thread Quentin Schulz
Hi Jonathan, On 10/12/2017 17:36, Jonathan Cameron wrote: > On Mon, 4 Dec 2017 15:12:48 +0100 > Quentin Schulz wrote: > >> The X-Powers AXP813 PMIC is really close to what is already done for >> AXP20X/AXP22X. >> >> There are two pairs of bits to set the rate

Re: [PATCH 2/8] iio: adc: axp20x_adc: add support for AXP813 ADC

2017-12-11 Thread Quentin Schulz
Hi Jonathan, On 10/12/2017 17:36, Jonathan Cameron wrote: > On Mon, 4 Dec 2017 15:12:48 +0100 > Quentin Schulz wrote: > >> The X-Powers AXP813 PMIC is really close to what is already done for >> AXP20X/AXP22X. >> >> There are two pairs of bits to set the rate (one for Voltage and Current >>

Re: [PATCH 2/8] iio: adc: axp20x_adc: add support for AXP813 ADC

2017-12-10 Thread Jonathan Cameron
On Mon, 4 Dec 2017 15:12:48 +0100 Quentin Schulz wrote: > The X-Powers AXP813 PMIC is really close to what is already done for > AXP20X/AXP22X. > > There are two pairs of bits to set the rate (one for Voltage and Current > measurements and one for TS/GPIO0

Re: [PATCH 2/8] iio: adc: axp20x_adc: add support for AXP813 ADC

2017-12-10 Thread Jonathan Cameron
On Mon, 4 Dec 2017 15:12:48 +0100 Quentin Schulz wrote: > The X-Powers AXP813 PMIC is really close to what is already done for > AXP20X/AXP22X. > > There are two pairs of bits to set the rate (one for Voltage and Current > measurements and one for TS/GPIO0 voltage measurements) instead of one.

[PATCH 2/8] iio: adc: axp20x_adc: add support for AXP813 ADC

2017-12-04 Thread Quentin Schulz
The X-Powers AXP813 PMIC is really close to what is already done for AXP20X/AXP22X. There are two pairs of bits to set the rate (one for Voltage and Current measurements and one for TS/GPIO0 voltage measurements) instead of one. The register to set the ADC rates is different from the one for

[PATCH 2/8] iio: adc: axp20x_adc: add support for AXP813 ADC

2017-12-04 Thread Quentin Schulz
The X-Powers AXP813 PMIC is really close to what is already done for AXP20X/AXP22X. There are two pairs of bits to set the rate (one for Voltage and Current measurements and one for TS/GPIO0 voltage measurements) instead of one. The register to set the ADC rates is different from the one for