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

Commit 68736f19 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 5f1921ce
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -382,6 +382,7 @@ static struct device_attribute power_supply_attrs[] = {
	POWER_SUPPLY_ATTR(esr_nominal),
	POWER_SUPPLY_ATTR(esr_nominal),
	POWER_SUPPLY_ATTR(soh),
	POWER_SUPPLY_ATTR(soh),
	POWER_SUPPLY_ATTR(force_recharge),
	POWER_SUPPLY_ATTR(force_recharge),
	POWER_SUPPLY_ATTR(fcc_stepper_enable),
	/* 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
@@ -308,6 +308,7 @@ enum power_supply_property {
	POWER_SUPPLY_PROP_ESR_NOMINAL,
	POWER_SUPPLY_PROP_ESR_NOMINAL,
	POWER_SUPPLY_PROP_SOH,
	POWER_SUPPLY_PROP_SOH,
	POWER_SUPPLY_PROP_FORCE_RECHARGE,
	POWER_SUPPLY_PROP_FORCE_RECHARGE,
	POWER_SUPPLY_PROP_FCC_STEPPER_ENABLE,
	/* 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 *' */