Re: [PATCH 15/22] mfd: axp20x: add CHRG_CTRL1 to writeable regs for AXP20X/AXP22X

2017-01-05 Thread Quentin Schulz
On 05/01/2017 07:10, Chen-Yu Tsai wrote: > On Tue, Jan 3, 2017 at 12:37 AM, Quentin Schulz > wrote: >> The CHR_CTRL1 register is made of 7 read-write bits with one being used >> to set the target voltage for battery charging. > > The description is incorrect. > > All 8 bits are read-write: > >

Re: [PATCH 15/22] mfd: axp20x: add CHRG_CTRL1 to writeable regs for AXP20X/AXP22X

2017-01-04 Thread Chen-Yu Tsai
On Tue, Jan 3, 2017 at 12:37 AM, Quentin Schulz wrote: > The CHR_CTRL1 register is made of 7 read-write bits with one being used > to set the target voltage for battery charging. The description is incorrect. All 8 bits are read-write: - The highest bit enables the charger module - Bits [6:

Re: [PATCH 15/22] mfd: axp20x: add CHRG_CTRL1 to writeable regs for AXP20X/AXP22X

2017-01-04 Thread Lee Jones
On Mon, 02 Jan 2017, Quentin Schulz wrote: > The CHR_CTRL1 register is made of 7 read-write bits with one being used > to set the target voltage for battery charging. > > This adds the CHRG_CTRL1 register to the list of writeable registers for > AXP20X and AXP22X PMICs. > > Signed-off-by: Quenti