mirror of
https://github.com/LineageOS/android_kernel_fxtec_sm6115.git
synced 2026-04-06 12:13:13 +00:00
ANDROID: GKI: 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.
Signed-off-by: Umang Agrawal <uagrawal@codeaurora.org>
(cherry picked from commit 5e3a95732d)
Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Bug: 150789066
Change-Id: Iacfc77d97ce14c783338ad6ced0c7356a1a63c83
This commit is contained in:
committed by
Mark Salyzyn
parent
48c932ac02
commit
eecc3db929
@ -449,6 +449,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),
|
||||
|
||||
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user