OpenCloudOS-Kernel/include/linux/power
Hans de Goede a9df22c00d power: supply: max17042_battery: Add support for the STATUS property
Userspace prefers the driver having a status property over having to guess
itself. Specifically this will properly make the GNOME3 UI (and likely
others) properly show discharging / charging / full status, instead
of always showing discharging as status.

Note that in the case there is no charger driver supplying the max17042,
then a status of unknown will get returned. At least upower treats
this the same as not having a status attribute, so in this case nothing
changes from a userspace pov.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
2017-05-01 12:37:29 +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: supply: bq27xxx: adds specific support for bq27520-g4 revision. 2017-01-12 02:30:13 +01:00
bq2415x_charger.h bq2415x_charger: Use power_supply notifier for automode 2013-12-23 17:58:03 -08: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
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: supply: max17042_battery: Add support for the STATUS property 2017-05-01 12:37:29 +02:00
sbs-battery.h power: supply: sbs-battery: Cleanup removal of chip->pdata 2016-09-21 02:04:47 +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
twl4030_madc_battery.h power: Add twl4030_madc battery driver. 2013-08-30 17:34:52 -07:00