linux/drivers/power
Liam Breck c08b1f45d7 power: supply: core: Add power_supply_battery_info and API
power_supply_get_battery_info() reads battery data from devicetree.
struct power_supply_battery_info provides battery data to drivers.
Its fields correspond to elements in enum power_supply_property.
Drivers may surface battery data in sysfs via corresponding
POWER_SUPPLY_PROP_* fields.

Signed-off-by: Matt Ranostay <matt@ranostay.consulting>
Signed-off-by: Liam Breck <kernel@networkimprov.net>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
2017-06-08 16:29:28 +02:00
..
avs PM / AVS: rockchip-io: add io selectors and supplies for rk3328 2017-03-12 23:09:10 +01:00
reset power: reset: Default POWER_RESET_BRCMSTB to BMIPS_GENERIC 2017-06-08 13:05:30 +02:00
supply power: supply: core: Add power_supply_battery_info and API 2017-06-08 16:29:28 +02:00
Kconfig power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
Makefile power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00