Re: [PATCHv2 2/6] power: supply: gpio-charger: Make gpios optional

2020-06-19 Thread Sebastian Reichel
Hi, On Sat, Jun 06, 2020 at 12:43:59AM +0200, Sebastian Reichel wrote: > While strongly recommended, not all devices have a gpio to > detect if the charger is connected. This moves the 'gpios' > from required to optional section. > > This also modifies error handling for the GPIO a bit: We > no l

Re: [PATCHv2 2/6] power: supply: gpio-charger: Make gpios optional

2020-06-15 Thread Rob Herring
On Sat, 06 Jun 2020 00:43:59 +0200, Sebastian Reichel wrote: > While strongly recommended, not all devices have a gpio to > detect if the charger is connected. This moves the 'gpios' > from required to optional section. > > This also modifies error handling for the GPIO a bit: We > no longer fallb

Re: [PATCHv2 2/6] power: supply: gpio-charger: Make gpios optional

2020-06-10 Thread Linus Walleij
On Sat, Jun 6, 2020 at 12:44 AM Sebastian Reichel wrote: > While strongly recommended, not all devices have a gpio to > detect if the charger is connected. This moves the 'gpios' > from required to optional section. > > This also modifies error handling for the GPIO a bit: We > no longer fallback

[PATCHv2 2/6] power: supply: gpio-charger: Make gpios optional

2020-06-05 Thread Sebastian Reichel
While strongly recommended, not all devices have a gpio to detect if the charger is connected. This moves the 'gpios' from required to optional section. This also modifies error handling for the GPIO a bit: We no longer fallback to pdata, if a GPIO is specified using GPIO descriptor tables. This i