linux_dsm_epyc7002/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
bq27xxx_battery.h power: supply: bq27xxx: adds specific support for bq27520-g4 revision. 2017-01-12 02:30:13 +01:00
bq2415x_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 power: charger-manager: comment spelling fixes 2015-09-22 16:04:30 +02:00
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 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
smb347-charger.h
twl4030_madc_battery.h