alistair23-linux/include/linux/power
Paul Kocialkowski c65a8b5112 power: supply: bq24735-charger: Request status GPIO with initial input setup
This requests the status GPIO with initial input setup. It is required
to read the GPIO status at probe time and thus correctly avoid sending
I2C messages when AC is not plugged.

When requesting the GPIO without initial input setup, it always reads 0
which causes probe to fail as it assumes the charger is connected, sends
I2C messages and fails.

While at it, this switches the driver over to gpiod API.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
2016-09-05 12:59:49 +02:00
..
ab8500.h
bq27xxx_battery.h
bq2415x_charger.h
bq24190_charger.h
bq24735-charger.h power: supply: bq24735-charger: Request status GPIO with initial input setup 2016-09-05 12:59:49 +02:00
charger-manager.h
generic-adc-battery.h
gpio-charger.h
isp1704_charger.h
jz4740-battery.h
max8903_charger.h max8903: cleans up confusing relationship between dc_valid, dok and dcm. 2016-06-28 20:05:41 +02:00
max17042_battery.h
sbs-battery.h power: supply: sbs-battery: Use gpio_desc and sleeping calls for battery detect 2016-09-01 16:06:14 +02:00
smartreflex.h
smb347-charger.h
twl4030_madc_battery.h