[linux-sunxi] Re: [PATCH v2 2/2] mfd: axp20x: Fix AXP806 access errors on cold boot

2017-01-02 Thread Chen-Yu Tsai
On Thu, Dec 15, 2016 at 1:40 AM, Mark Brown wrote: > On Wed, Dec 14, 2016 at 09:52:31PM +0800, Chen-Yu Tsai wrote: > >> What this patch does is make sure the registers match, to guarantee >> access, and then reinitialize the regmap cache to get rid of any >> stale data. > > So

[linux-sunxi] Re: [PATCH v2 2/2] mfd: axp20x: Fix AXP806 access errors on cold boot

2016-12-14 Thread Mark Brown
On Wed, Dec 14, 2016 at 09:52:31PM +0800, Chen-Yu Tsai wrote: > What this patch does is make sure the registers match, to guarantee > access, and then reinitialize the regmap cache to get rid of any > stale data. So what you're saying is that previous writes may have been ignored? > > If the

[linux-sunxi] Re: [PATCH v2 2/2] mfd: axp20x: Fix AXP806 access errors on cold boot

2016-12-14 Thread Chen-Yu Tsai
On Wed, Dec 14, 2016 at 12:47 AM, Mark Brown wrote: > On Fri, Dec 09, 2016 at 11:20:18AM +, Lee Jones wrote: > >> Is the following valid/necessary? > >> On Wed, 23 Nov 2016, Chen-Yu Tsai wrote: >> > The AXP806 supports either master/standalone or slave mode. >> > Slave

[linux-sunxi] Re: [PATCH v2 2/2] mfd: axp20x: Fix AXP806 access errors on cold boot

2016-12-13 Thread Mark Brown
On Fri, Dec 09, 2016 at 11:20:18AM +, Lee Jones wrote: > Is the following valid/necessary? > On Wed, 23 Nov 2016, Chen-Yu Tsai wrote: > > The AXP806 supports either master/standalone or slave mode. > > Slave mode allows sharing the serial bus, even with multiple > > AXP806 which all have the

[linux-sunxi] Re: [PATCH v2 2/2] mfd: axp20x: Fix AXP806 access errors on cold boot

2016-12-09 Thread Lee Jones
Mark, Is the following valid/necessary? On Wed, 23 Nov 2016, Chen-Yu Tsai wrote: > The AXP806 supports either master/standalone or slave mode. > Slave mode allows sharing the serial bus, even with multiple > AXP806 which all have the same hardware address. > > This is done with extra "serial