Re: [PATCHv1 1/2] power: supply: gpio-charger: add charge-current-limit feature

2020-05-27 Thread Rob Herring
On Wed, May 13, 2020 at 01:56:00PM +0200, Sebastian Reichel wrote: > Add new charge-current-limit feature to gpio-charger. This also > makes the online status GPIO optional, since hardware might only > expose the charge-current-limit feature and there is no good reason > to have it mandatory now th

Re: [PATCHv1 1/2] power: supply: gpio-charger: add charge-current-limit feature

2020-05-15 Thread Emil Velikov
Hi Sebastian, I've left a few trivial suggestions, although I suspect only one of them really matters. Namely - I think as-is the code changes the legacy behaviour when OF is missing. Mind you, this is my third time skimming through power/supply, so take it with a grain of salt. On 2020/05/13, S

[PATCHv1 1/2] power: supply: gpio-charger: add charge-current-limit feature

2020-05-13 Thread Sebastian Reichel
Add new charge-current-limit feature to gpio-charger. This also makes the online status GPIO optional, since hardware might only expose the charge-current-limit feature and there is no good reason to have it mandatory now that different GPIOs are supported. Signed-off-by: Sebastian Reichel --- .