]> asedeno.scripts.mit.edu Git - linux.git/commit
drivers: power: supply: goldfish_battery: Add support for reading more properties
authorRoman Kiryanov <rkir@google.com>
Wed, 19 Dec 2018 00:31:39 +0000 (16:31 -0800)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Mon, 21 Jan 2019 21:31:27 +0000 (22:31 +0100)
commit2a7b0a29b3752a08751ae723abf40c19435de387
tree3cb1f3e3973c4ffe0b1de12a205838eeba669dbe
parent02276af2fcf809b00b1fc1aede7cae6f25849e4d
drivers: power: supply: goldfish_battery: Add support for reading more properties

To comply with tests we need to support more power supply properties:

POWER_SUPPLY_PROP_VOLTAGE_NOW
POWER_SUPPLY_PROP_TEMP
POWER_SUPPLY_PROP_CHARGE_COUNTER
POWER_SUPPLY_PROP_CURRENT_NOW
POWER_SUPPLY_PROP_CURRENT_AVG
POWER_SUPPLY_PROP_CHARGE_FULL
POWER_SUPPLY_PROP_CYCLE_COUNT
POWER_SUPPLY_PROP_VOLTAGE_MAX
POWER_SUPPLY_PROP_CURRENT_MAX

Signed-off-by: Roman Kiryanov <rkir@google.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/goldfish_battery.c