mirror of
https://github.com/LineageOS/android_kernel_fxtec_sm6115.git
synced 2026-04-10 01:16:18 +00:00
ANDROID: GKI: power-supply: add ADAPTER_DETAILS power supply property
store adapter details (type and capabilities) Signed-off-by: AleX Pelosi <apelosi@google.com> Signed-off-by: Jack Wu <wjack@google.com> Bug: 139264914 Test: recompile (cherry picked from commit e3328e4bfccc655851529309622004326eff53b3) Signed-off-by: Mark Salyzyn <salyzyn@google.com> Bug: 150789066 Change-Id: I6023dee39d393f89e1f1f56f36ccbd2d8ac41ff2
This commit is contained in:
committed by
Mark Salyzyn
parent
e90672c301
commit
6c9a8542ce
@ -465,6 +465,7 @@ static struct device_attribute power_supply_attrs[] = {
|
||||
POWER_SUPPLY_ATTR(adapter_cc_mode),
|
||||
POWER_SUPPLY_ATTR(skin_health),
|
||||
POWER_SUPPLY_ATTR(charge_disable),
|
||||
POWER_SUPPLY_ATTR(adapter_details),
|
||||
/* Charge pump properties */
|
||||
POWER_SUPPLY_ATTR(cp_status1),
|
||||
POWER_SUPPLY_ATTR(cp_status2),
|
||||
|
||||
@ -336,6 +336,7 @@ enum power_supply_property {
|
||||
POWER_SUPPLY_PROP_ADAPTER_CC_MODE,
|
||||
POWER_SUPPLY_PROP_SKIN_HEALTH,
|
||||
POWER_SUPPLY_PROP_CHARGE_DISABLE,
|
||||
POWER_SUPPLY_PROP_ADAPTER_DETAILS,
|
||||
/* Charge pump properties */
|
||||
POWER_SUPPLY_PROP_CP_STATUS1,
|
||||
POWER_SUPPLY_PROP_CP_STATUS2,
|
||||
|
||||
Reference in New Issue
Block a user