summaryrefslogtreecommitdiffstats
path: root/Documentation/arm/OMAP/omap_pm
diff options
context:
space:
mode:
authorLiam Breck <kernel@networkimprov.net>2017-06-07 11:37:51 -0700
committerSebastian Reichel <sebastian.reichel@collabora.co.uk>2017-06-08 16:29:28 +0200
commitc08b1f45d7d193b3e6dcbbf30d403cb49b667b8c (patch)
tree9f7389a87a3d8ff991f61d70d8224adee4f1e3f8 /Documentation/arm/OMAP/omap_pm
parent230670479a6c54dcae6387119bb7d4441d7870b2 (diff)
downloadlinux-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/arm/OMAP/omap_pm')
0 files changed, 0 insertions, 0 deletions