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

Commit 99f5cc68 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 from the
qgauge and fuel gauge drivers.

Change-Id: Iacfc77d97ce14c783338ad6ced0c7356a1a63c83
Signed-off-by: default avatarUmang Agrawal <uagrawal@codeaurora.org>
parent f7979ae4
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -340,6 +340,7 @@ static struct device_attribute power_supply_attrs[] = {
	POWER_SUPPLY_ATTR(soh),
	POWER_SUPPLY_ATTR(soh),
	POWER_SUPPLY_ATTR(qc_opti_disable),
	POWER_SUPPLY_ATTR(qc_opti_disable),
	POWER_SUPPLY_ATTR(fcc_stepper_enable),
	POWER_SUPPLY_ATTR(fcc_stepper_enable),
	POWER_SUPPLY_ATTR(cc_soc),
	/* Local extensions of type int64_t */
	/* Local extensions of type int64_t */
	POWER_SUPPLY_ATTR(charge_counter_ext),
	POWER_SUPPLY_ATTR(charge_counter_ext),
	/* Properties of type `const char *' */
	/* Properties of type `const char *' */
+1 −0
Original line number Original line Diff line number Diff line
@@ -303,6 +303,7 @@ enum power_supply_property {
	POWER_SUPPLY_PROP_SOH,
	POWER_SUPPLY_PROP_SOH,
	POWER_SUPPLY_PROP_QC_OPTI_DISABLE,
	POWER_SUPPLY_PROP_QC_OPTI_DISABLE,
	POWER_SUPPLY_PROP_FCC_STEPPER_ENABLE,
	POWER_SUPPLY_PROP_FCC_STEPPER_ENABLE,
	POWER_SUPPLY_PROP_CC_SOC,
	/* Local extensions of type int64_t */
	/* Local extensions of type int64_t */
	POWER_SUPPLY_PROP_CHARGE_COUNTER_EXT,
	POWER_SUPPLY_PROP_CHARGE_COUNTER_EXT,
	/* Properties of type `const char *' */
	/* Properties of type `const char *' */