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

Commit 5e3a9573 authored by Umang Agrawal's avatar Umang Agrawal Committed by Subbaraman Narayanamurthy
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 18f6e9d8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -448,6 +448,7 @@ static struct device_attribute power_supply_attrs[] = {
	POWER_SUPPLY_ATTR(main_fcc_max),
	POWER_SUPPLY_ATTR(fg_reset),
	POWER_SUPPLY_ATTR(qc_opti_disable),
	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
@@ -321,6 +321,7 @@ enum power_supply_property {
	POWER_SUPPLY_PROP_MAIN_FCC_MAX,
	POWER_SUPPLY_PROP_FG_RESET,
	POWER_SUPPLY_PROP_QC_OPTI_DISABLE,
	POWER_SUPPLY_PROP_CC_SOC,
	/* Charge pump properties */
	POWER_SUPPLY_PROP_CP_STATUS1,
	POWER_SUPPLY_PROP_CP_STATUS2,