linux-xiaomi-chiron/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 ab8500_bmdata: Export abx500_res_to_temp tables for hwmon 2013-04-16 17:38:10 -07:00
bq27xxx_battery.h power: bq27xxx_battery: Restore device name 2016-02-21 20:49:34 +01:00
bq2415x_charger.h bq2415x_charger: Use power_supply notifier for automode 2013-12-23 17:58:03 -08:00
bq24190_charger.h bq24190_charger: Add support for TI BQ24190 Battery Charger 2013-08-27 18:17:54 -07:00
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 power: charger-manager: comment spelling fixes 2015-09-22 16:04:30 +02:00
generic-adc-battery.h power: battery: Generic battery driver using IIO 2012-09-22 10:40:23 +01:00
gpio-charger.h
isp1704_charger.h isp1704_charger: Add DT support 2013-12-23 18:34:58 -08:00
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 power: max17042_battery: add HEALTH and TEMP_* properties support 2015-05-23 22:43:28 +02:00
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 PM / AVS: SmartReflex: use omap_sr * for enable/disable interface 2013-06-10 10:46:18 -07:00
smb347-charger.h Add I2C driver for Summit Microelectronics SMB347 Battery Charger. 2012-03-26 20:41:01 +04:00
twl4030_madc_battery.h power: Add twl4030_madc battery driver. 2013-08-30 17:34:52 -07:00