power: supply: sc27xx: Add POWER_SUPPLY_PROP_CALIBRATE attribute
authorYuanjiang Yu <yuanjiang.yu@unisoc.com>
Wed, 31 Jul 2019 10:00:28 +0000 (18:00 +0800)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Mon, 2 Sep 2019 21:00:20 +0000 (23:00 +0200)
commit7cfd33d997a4c320b6bbce5e9592230dae1e73d2
tree49a416b7affa56bcc87eccb0b72dc1bf8165cd37
parent580665279fb6a16eb119ec80a5be1b3ec7a641a0
power: supply: sc27xx: Add POWER_SUPPLY_PROP_CALIBRATE attribute

Add the 'POWER_SUPPLY_PROP_CALIBRATE' attribute to allow chareger manager
to calibrate the battery capacity.

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