diff options
author | Liam Breck <kernel@networkimprov.net> | 2017-06-07 11:37:51 -0700 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.co.uk> | 2017-06-08 16:29:28 +0200 |
commit | c08b1f45d7d193b3e6dcbbf30d403cb49b667b8c (patch) | |
tree | 9f7389a87a3d8ff991f61d70d8224adee4f1e3f8 /Documentation/serial/rocket.txt | |
parent | 230670479a6c54dcae6387119bb7d4441d7870b2 (diff) | |
download | linux-stable-c08b1f45d7d193b3e6dcbbf30d403cb49b667b8c.tar.gz linux-stable-c08b1f45d7d193b3e6dcbbf30d403cb49b667b8c.tar.bz2 linux-stable-c08b1f45d7d193b3e6dcbbf30d403cb49b667b8c.zip |
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>
Diffstat (limited to 'Documentation/serial/rocket.txt')
0 files changed, 0 insertions, 0 deletions