Re: [PATCH v2 2/6] power: supply: max8997_charger: Set CHARGER current limit

2020-12-21 Thread Krzysztof Kozlowski
On Mon, Dec 21, 2020 at 03:35:07PM +, Timon Baetz wrote: > On Mon, 21 Dec 2020 15:16:27 +0100, Krzysztof Kozlowski wrote: > > On Mon, Dec 21, 2020 at 09:53:15AM +, Timon Baetz wrote: > > > Register for extcon notification and set charging current depending on > > > the detected cable type.

Re: [PATCH v2 2/6] power: supply: max8997_charger: Set CHARGER current limit

2020-12-21 Thread Timon Baetz
On Mon, 21 Dec 2020 15:16:27 +0100, Krzysztof Kozlowski wrote: > On Mon, Dec 21, 2020 at 09:53:15AM +, Timon Baetz wrote: > > Register for extcon notification and set charging current depending on > > the detected cable type. Current values are taken from vendor kernel, > > where most charger

Re: [PATCH v2 2/6] power: supply: max8997_charger: Set CHARGER current limit

2020-12-21 Thread Krzysztof Kozlowski
On Mon, Dec 21, 2020 at 09:53:15AM +, Timon Baetz wrote: > Register for extcon notification and set charging current depending on > the detected cable type. Current values are taken from vendor kernel, > where most charger types end up setting 650mA [0]. > > Also enable and disable the

Re: [PATCH v2 2/6] power: supply: max8997_charger: Set CHARGER current limit

2020-12-21 Thread Lee Jones
On Mon, 21 Dec 2020, Timon Baetz wrote: > Register for extcon notification and set charging current depending on > the detected cable type. Current values are taken from vendor kernel, > where most charger types end up setting 650mA [0]. > > Also enable and disable the CHARGER regulator based on

[PATCH v2 2/6] power: supply: max8997_charger: Set CHARGER current limit

2020-12-21 Thread Timon Baetz
Register for extcon notification and set charging current depending on the detected cable type. Current values are taken from vendor kernel, where most charger types end up setting 650mA [0]. Also enable and disable the CHARGER regulator based on extcon events. [0]