Re: [PATCH 2/3] regulator: max77693: Also manipulate the fast charge current

2016-09-28 Thread Krzysztof Kozlowski
On 09/27/2016 07:51 PM, Wolfgang Wiedmeyer wrote: > > Mark Brown writes: > >> On Tue, Sep 27, 2016 at 03:50:42PM +0200, Wolfgang Wiedmeyer wrote: >> >>> When charging is disabled (e.g. by removing the USB cable) the charge >>> current is not reset to zero. So if I expose the current by the >>>

Re: [PATCH 2/3] regulator: max77693: Also manipulate the fast charge current

2016-09-28 Thread Krzysztof Kozlowski
On 09/27/2016 07:51 PM, Wolfgang Wiedmeyer wrote: > > Mark Brown writes: > >> On Tue, Sep 27, 2016 at 03:50:42PM +0200, Wolfgang Wiedmeyer wrote: >> >>> When charging is disabled (e.g. by removing the USB cable) the charge >>> current is not reset to zero. So if I expose the current by the >>>

Re: [PATCH 2/3] regulator: max77693: Also manipulate the fast charge current

2016-09-27 Thread Wolfgang Wiedmeyer
Mark Brown writes: > On Tue, Sep 27, 2016 at 03:50:42PM +0200, Wolfgang Wiedmeyer wrote: > >> When charging is disabled (e.g. by removing the USB cable) the charge >> current is not reset to zero. So if I expose the current by the >> CURRENT_NOW property, it incorrectly reports the current that

Re: [PATCH 2/3] regulator: max77693: Also manipulate the fast charge current

2016-09-27 Thread Wolfgang Wiedmeyer
Mark Brown writes: > On Tue, Sep 27, 2016 at 03:50:42PM +0200, Wolfgang Wiedmeyer wrote: > >> When charging is disabled (e.g. by removing the USB cable) the charge >> current is not reset to zero. So if I expose the current by the >> CURRENT_NOW property, it incorrectly reports the current that

Re: [PATCH 2/3] regulator: max77693: Also manipulate the fast charge current

2016-09-27 Thread Mark Brown
On Tue, Sep 27, 2016 at 03:50:42PM +0200, Wolfgang Wiedmeyer wrote: > When charging is disabled (e.g. by removing the USB cable) the charge > current is not reset to zero. So if I expose the current by the > CURRENT_NOW property, it incorrectly reports the current that was set > when charging was

Re: [PATCH 2/3] regulator: max77693: Also manipulate the fast charge current

2016-09-27 Thread Mark Brown
On Tue, Sep 27, 2016 at 03:50:42PM +0200, Wolfgang Wiedmeyer wrote: > When charging is disabled (e.g. by removing the USB cable) the charge > current is not reset to zero. So if I expose the current by the > CURRENT_NOW property, it incorrectly reports the current that was set > when charging was

Re: [PATCH 2/3] regulator: max77693: Also manipulate the fast charge current

2016-09-27 Thread Wolfgang Wiedmeyer
Krzysztof Kozlowski writes: > On Tue, Sep 27, 2016 at 01:31:09AM +0200, Wolfgang Wiedmeyer wrote: >> For MAX77693, the fast charge current also needs to be manipulated for >> proper charging. The fast charge current is only set in the case of >> the MAX77693 type, as the MAX77843 properly

Re: [PATCH 2/3] regulator: max77693: Also manipulate the fast charge current

2016-09-27 Thread Wolfgang Wiedmeyer
Krzysztof Kozlowski writes: > On Tue, Sep 27, 2016 at 01:31:09AM +0200, Wolfgang Wiedmeyer wrote: >> For MAX77693, the fast charge current also needs to be manipulated for >> proper charging. The fast charge current is only set in the case of >> the MAX77693 type, as the MAX77843 properly

Re: [PATCH 2/3] regulator: max77693: Also manipulate the fast charge current

2016-09-27 Thread Krzysztof Kozlowski
On Tue, Sep 27, 2016 at 01:31:09AM +0200, Wolfgang Wiedmeyer wrote: > For MAX77693, the fast charge current also needs to be manipulated for > proper charging. The fast charge current is only set in the case of > the MAX77693 type, as the MAX77843 properly manipulates the fast > charge current.

Re: [PATCH 2/3] regulator: max77693: Also manipulate the fast charge current

2016-09-27 Thread Krzysztof Kozlowski
On Tue, Sep 27, 2016 at 01:31:09AM +0200, Wolfgang Wiedmeyer wrote: > For MAX77693, the fast charge current also needs to be manipulated for > proper charging. The fast charge current is only set in the case of > the MAX77693 type, as the MAX77843 properly manipulates the fast > charge current.

[PATCH 2/3] regulator: max77693: Also manipulate the fast charge current

2016-09-26 Thread Wolfgang Wiedmeyer
For MAX77693, the fast charge current also needs to be manipulated for proper charging. The fast charge current is only set in the case of the MAX77693 type, as the MAX77843 properly manipulates the fast charge current. The fast charge current is set to the next possible value below the maximum

[PATCH 2/3] regulator: max77693: Also manipulate the fast charge current

2016-09-26 Thread Wolfgang Wiedmeyer
For MAX77693, the fast charge current also needs to be manipulated for proper charging. The fast charge current is only set in the case of the MAX77693 type, as the MAX77843 properly manipulates the fast charge current. The fast charge current is set to the next possible value below the maximum