Re: [linux-sunxi] Re: [RESEND PATCH v4 2/9] iio: adc: add support for X-Powers AXP20X and AXP22X PMICs ADCs

2017-03-24 Thread Chen-Yu Tsai
On Fri, Mar 24, 2017 at 3:55 PM, Quentin Schulz wrote: > Hi, > > On 23/03/2017 10:52, Chen-Yu Tsai wrote: >> On Thu, Mar 23, 2017 at 5:35 PM, Sebastian Reichel wrote: >>> Hi, >>> >>> On Wed, Mar 22, 2017 at 12:34:45PM +0800, Chen-Yu Tsai wrote:

Re: [linux-sunxi] Re: [RESEND PATCH v4 2/9] iio: adc: add support for X-Powers AXP20X and AXP22X PMICs ADCs

2017-03-24 Thread Chen-Yu Tsai
On Fri, Mar 24, 2017 at 3:55 PM, Quentin Schulz wrote: > Hi, > > On 23/03/2017 10:52, Chen-Yu Tsai wrote: >> On Thu, Mar 23, 2017 at 5:35 PM, Sebastian Reichel wrote: >>> Hi, >>> >>> On Wed, Mar 22, 2017 at 12:34:45PM +0800, Chen-Yu Tsai wrote: P.S. I'm thinking about having MFD_AXP20X

Re: [RESEND PATCH v4 2/9] iio: adc: add support for X-Powers AXP20X and AXP22X PMICs ADCs

2017-03-24 Thread Quentin Schulz
Hi, On 23/03/2017 10:52, Chen-Yu Tsai wrote: > On Thu, Mar 23, 2017 at 5:35 PM, Sebastian Reichel wrote: >> Hi, >> >> On Wed, Mar 22, 2017 at 12:34:45PM +0800, Chen-Yu Tsai wrote: >>> P.S. I'm thinking about having MFD_AXP20X imply its various sub-drivers. >>> Not sure if that

Re: [RESEND PATCH v4 2/9] iio: adc: add support for X-Powers AXP20X and AXP22X PMICs ADCs

2017-03-24 Thread Quentin Schulz
Hi, On 23/03/2017 10:52, Chen-Yu Tsai wrote: > On Thu, Mar 23, 2017 at 5:35 PM, Sebastian Reichel wrote: >> Hi, >> >> On Wed, Mar 22, 2017 at 12:34:45PM +0800, Chen-Yu Tsai wrote: >>> P.S. I'm thinking about having MFD_AXP20X imply its various sub-drivers. >>> Not sure if that was the intended

Re: [RESEND PATCH v4 2/9] iio: adc: add support for X-Powers AXP20X and AXP22X PMICs ADCs

2017-03-23 Thread Chen-Yu Tsai
On Thu, Mar 23, 2017 at 5:35 PM, Sebastian Reichel wrote: > Hi, > > On Wed, Mar 22, 2017 at 12:34:45PM +0800, Chen-Yu Tsai wrote: >> P.S. I'm thinking about having MFD_AXP20X imply its various sub-drivers. >> Not sure if that was the intended usage of the new imply syntax though.

Re: [RESEND PATCH v4 2/9] iio: adc: add support for X-Powers AXP20X and AXP22X PMICs ADCs

2017-03-23 Thread Chen-Yu Tsai
On Thu, Mar 23, 2017 at 5:35 PM, Sebastian Reichel wrote: > Hi, > > On Wed, Mar 22, 2017 at 12:34:45PM +0800, Chen-Yu Tsai wrote: >> P.S. I'm thinking about having MFD_AXP20X imply its various sub-drivers. >> Not sure if that was the intended usage of the new imply syntax though. > > I think

Re: [RESEND PATCH v4 2/9] iio: adc: add support for X-Powers AXP20X and AXP22X PMICs ADCs

2017-03-23 Thread Sebastian Reichel
Hi, On Wed, Mar 22, 2017 at 12:34:45PM +0800, Chen-Yu Tsai wrote: > P.S. I'm thinking about having MFD_AXP20X imply its various sub-drivers. > Not sure if that was the intended usage of the new imply syntax though. I think adding "default MFD_AXP20X" to the sub-drivers is cleaner, as you will

Re: [RESEND PATCH v4 2/9] iio: adc: add support for X-Powers AXP20X and AXP22X PMICs ADCs

2017-03-23 Thread Sebastian Reichel
Hi, On Wed, Mar 22, 2017 at 12:34:45PM +0800, Chen-Yu Tsai wrote: > P.S. I'm thinking about having MFD_AXP20X imply its various sub-drivers. > Not sure if that was the intended usage of the new imply syntax though. I think adding "default MFD_AXP20X" to the sub-drivers is cleaner, as you will

Re: [RESEND PATCH v4 2/9] iio: adc: add support for X-Powers AXP20X and AXP22X PMICs ADCs

2017-03-22 Thread Jonathan Cameron
On 22 March 2017 04:34:45 GMT+00:00, Chen-Yu Tsai wrote: >Hi, > >On Mon, Mar 20, 2017 at 4:16 PM, Quentin Schulz > wrote: >> The X-Powers AXP20X and AXP22X PMICs have multiple ADCs. They expose >the >> battery voltage, battery charge and

Re: [RESEND PATCH v4 2/9] iio: adc: add support for X-Powers AXP20X and AXP22X PMICs ADCs

2017-03-22 Thread Jonathan Cameron
On 22 March 2017 04:34:45 GMT+00:00, Chen-Yu Tsai wrote: >Hi, > >On Mon, Mar 20, 2017 at 4:16 PM, Quentin Schulz > wrote: >> The X-Powers AXP20X and AXP22X PMICs have multiple ADCs. They expose >the >> battery voltage, battery charge and discharge currents, AC-in and >VBUS >> voltages and

Re: [RESEND PATCH v4 2/9] iio: adc: add support for X-Powers AXP20X and AXP22X PMICs ADCs

2017-03-21 Thread Chen-Yu Tsai
Hi, On Mon, Mar 20, 2017 at 4:16 PM, Quentin Schulz wrote: > The X-Powers AXP20X and AXP22X PMICs have multiple ADCs. They expose the > battery voltage, battery charge and discharge currents, AC-in and VBUS > voltages and currents, 2 GPIOs muxable in ADC mode

Re: [RESEND PATCH v4 2/9] iio: adc: add support for X-Powers AXP20X and AXP22X PMICs ADCs

2017-03-21 Thread Chen-Yu Tsai
Hi, On Mon, Mar 20, 2017 at 4:16 PM, Quentin Schulz wrote: > The X-Powers AXP20X and AXP22X PMICs have multiple ADCs. They expose the > battery voltage, battery charge and discharge currents, AC-in and VBUS > voltages and currents, 2 GPIOs muxable in ADC mode and PMIC temperature. > > This adds

[RESEND PATCH v4 2/9] iio: adc: add support for X-Powers AXP20X and AXP22X PMICs ADCs

2017-03-20 Thread Quentin Schulz
The X-Powers AXP20X and AXP22X PMICs have multiple ADCs. They expose the battery voltage, battery charge and discharge currents, AC-in and VBUS voltages and currents, 2 GPIOs muxable in ADC mode and PMIC temperature. This adds support for most of AXP20X and AXP22X ADCs. Signed-off-by: Quentin

[RESEND PATCH v4 2/9] iio: adc: add support for X-Powers AXP20X and AXP22X PMICs ADCs

2017-03-20 Thread Quentin Schulz
The X-Powers AXP20X and AXP22X PMICs have multiple ADCs. They expose the battery voltage, battery charge and discharge currents, AC-in and VBUS voltages and currents, 2 GPIOs muxable in ADC mode and PMIC temperature. This adds support for most of AXP20X and AXP22X ADCs. Signed-off-by: Quentin