power: supply: sc27xx: Add CURRENT_NOW/VOLTAGE_NOW properties support
authorYuanjiang Yu <yuanjiang.yu@unisoc.com>
Mon, 20 Apr 2020 03:42:06 +0000 (11:42 +0800)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Tue, 28 Apr 2020 19:24:06 +0000 (21:24 +0200)
commite5431c340852ad14c54f449451f884b161aae31f
tree8bc988a76de572042874e8ae3092046ba5e9ef3d
parent8720b255f5280fdf89decfa9ff31720aff1c4e49
power: supply: sc27xx: Add CURRENT_NOW/VOLTAGE_NOW properties support

Add new properties to get present current and voltage of the fuel gauge.

Signed-off-by: Yuanjiang Yu <yuanjiang.yu@unisoc.com>
Signed-off-by: Baolin Wang <baolin.wang7@gmail.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/sc27xx_fuel_gauge.c