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:

[linux-sunxi] 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

[linux-sunxi] 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.

[linux-sunxi] 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

[linux-sunxi] 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