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

Commit 3b524f79 authored by Umang Agrawal's avatar Umang Agrawal
Browse files

power: power_supply: add property for FCC stepper



Add power_supply property POWER_SUPPLY_PROP_FCC_STEPPER_ENABLE
which reports the state of FCC stepped feature.

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