power: supply: sc27xx: Add one property to read charge voltage
authorBaolin Wang <baolin.wang@linaro.org>
Tue, 15 Jan 2019 10:32:35 +0000 (18:32 +0800)
committerSebastian Reichel <sre@kernel.org>
Wed, 23 Jan 2019 20:26:56 +0000 (21:26 +0100)
commit0a4f97a171888594435a019711b719b32233b7c9
treedcdcc3ce993a6582f957d09a936849297f9bb3e3
parent257afa58e608d5f790b4c0f6e0334f69881f6de4
power: supply: sc27xx: Add one property to read charge voltage

Add POWER_SUPPLY_PROP_CONSTANT_CHARGE_VOLTAGE property to get charge
voltage sampling by ADC controller, which is used to validate if the
charge voltage is in normal range or not in charger manager.

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