mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
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: Umang Agrawal <uagrawal@codeaurora.org>
This commit is contained in:
parent
5f1921ce4c
commit
68736f19d1
@ -382,6 +382,7 @@ static struct device_attribute power_supply_attrs[] = {
|
||||
POWER_SUPPLY_ATTR(esr_nominal),
|
||||
POWER_SUPPLY_ATTR(soh),
|
||||
POWER_SUPPLY_ATTR(force_recharge),
|
||||
POWER_SUPPLY_ATTR(fcc_stepper_enable),
|
||||
/* Local extensions of type int64_t */
|
||||
POWER_SUPPLY_ATTR(charge_counter_ext),
|
||||
/* Properties of type `const char *' */
|
||||
|
@ -308,6 +308,7 @@ enum power_supply_property {
|
||||
POWER_SUPPLY_PROP_ESR_NOMINAL,
|
||||
POWER_SUPPLY_PROP_SOH,
|
||||
POWER_SUPPLY_PROP_FORCE_RECHARGE,
|
||||
POWER_SUPPLY_PROP_FCC_STEPPER_ENABLE,
|
||||
/* Local extensions of type int64_t */
|
||||
POWER_SUPPLY_PROP_CHARGE_COUNTER_EXT,
|
||||
/* Properties of type `const char *' */
|
||||
|
Loading…
x
Reference in New Issue
Block a user