Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 681acf2f authored by Umang Agrawal's avatar Umang Agrawal
Browse files

power-supply: Add CC_SOC power supply property



Add CC_SOC power supply property to expose cc soc status from the
qgauge and fuel gauge drivers.

Change-Id: Iacfc77d97ce14c783338ad6ced0c7356a1a63c83
Signed-off-by: default avatarUmang Agrawal <uagrawal@codeaurora.org>
parent b5131de4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -388,6 +388,7 @@ static struct device_attribute power_supply_attrs[] = {
	POWER_SUPPLY_ATTR(toggle_stat),
	POWER_SUPPLY_ATTR(main_fcc_max),
	POWER_SUPPLY_ATTR(fg_reset),
	POWER_SUPPLY_ATTR(cc_soc),
	/* Charge pump properties */
	POWER_SUPPLY_ATTR(cp_status1),
	POWER_SUPPLY_ATTR(cp_status2),
+1 −0
Original line number Diff line number Diff line
@@ -313,6 +313,7 @@ enum power_supply_property {
	POWER_SUPPLY_PROP_TOGGLE_STAT,
	POWER_SUPPLY_PROP_MAIN_FCC_MAX,
	POWER_SUPPLY_PROP_FG_RESET,
	POWER_SUPPLY_PROP_CC_SOC,
	/* Charge pump properties */
	POWER_SUPPLY_PROP_CP_STATUS1,
	POWER_SUPPLY_PROP_CP_STATUS2,