Re: [PATCH v4 4/7] power: supply: max8997_charger: Set CHARGER current limit

2020-12-28 Thread Krzysztof Kozlowski
On Fri, Dec 25, 2020 at 11:33:21AM +, Timon Baetz wrote: > On Thu, 24 Dec 2020 15:00:38 +0100, Krzysztof Kozlowski wrote: > > On Thu, Dec 24, 2020 at 02:37:06PM +0100, Krzysztof Kozlowski wrote: > > > On Thu, Dec 24, 2020 at 01:13:02PM +, Timon Baetz wrote: > > > > On Thu, 24 Dec 2020 10:

Re: [PATCH v4 4/7] power: supply: max8997_charger: Set CHARGER current limit

2020-12-25 Thread Timon Baetz
On Thu, 24 Dec 2020 15:00:38 +0100, Krzysztof Kozlowski wrote: > On Thu, Dec 24, 2020 at 02:37:06PM +0100, Krzysztof Kozlowski wrote: > > On Thu, Dec 24, 2020 at 01:13:02PM +, Timon Baetz wrote: > > > On Thu, 24 Dec 2020 10:55:59 +0100, Krzysztof Kozlowski wrote: > > > > > @@ -170,6 +237,28

Re: [PATCH v4 4/7] power: supply: max8997_charger: Set CHARGER current limit

2020-12-24 Thread Krzysztof Kozlowski
On Thu, Dec 24, 2020 at 02:37:06PM +0100, Krzysztof Kozlowski wrote: > On Thu, Dec 24, 2020 at 01:13:02PM +, Timon Baetz wrote: > > On Thu, 24 Dec 2020 10:55:59 +0100, Krzysztof Kozlowski wrote: > > > > @@ -170,6 +237,28 @@ static int max8997_battery_probe(struct > > > > platform_device *pdev)

Re: [PATCH v4 4/7] power: supply: max8997_charger: Set CHARGER current limit

2020-12-24 Thread Krzysztof Kozlowski
On Thu, Dec 24, 2020 at 01:13:02PM +, Timon Baetz wrote: > On Thu, 24 Dec 2020 10:55:59 +0100, Krzysztof Kozlowski wrote: > > On Wed, Dec 23, 2020 at 01:43:05PM +, Timon Baetz wrote: > > > Register for extcon notification and set charging current depending on > > > the detected cable type.

Re: [PATCH v4 4/7] power: supply: max8997_charger: Set CHARGER current limit

2020-12-24 Thread Timon Baetz
On Thu, 24 Dec 2020 10:55:59 +0100, Krzysztof Kozlowski wrote: > On Wed, Dec 23, 2020 at 01:43:05PM +, 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 t

Re: [PATCH v4 4/7] power: supply: max8997_charger: Set CHARGER current limit

2020-12-24 Thread Krzysztof Kozlowski
On Wed, Dec 23, 2020 at 01:43:05PM +, 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

[PATCH v4 4/7] power: supply: max8997_charger: Set CHARGER current limit

2020-12-23 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] https://github.com/krzk/linux-