mirror of
https://github.com/LineageOS/android_kernel_fxtec_sm6115.git
synced 2026-04-07 08:18:45 +00:00
ANDROID: GKI: power: supply: Add POWER_SUPPLY_PROP_OTG_FASTROLESWAP
Partially taken from commit 6b62f96854b2dcd12d1e3569c466943bde826497
("smb5-lib: Add property to enable/disable otg threshold")
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
Signed-off-by: rickyniu <rickyniu@google.com>
Bug: 77536221
Bug: 140367237
(cherry picked from commit b225429ece2c561d593c967746cf3db369aa8a06)
(cherry picked from commit 6b62f96854b2dcd12d1e3569c466943bde826497)
Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Bug: 150789066
Change-Id: Ic7fe07f977bd727260c6d23ce5bad8506a24289c
This commit is contained in:
@ -484,6 +484,7 @@ static struct device_attribute power_supply_attrs[] = {
|
||||
POWER_SUPPLY_ATTR(batt_res_filt_cnts),
|
||||
POWER_SUPPLY_ATTR(aicl_done),
|
||||
POWER_SUPPLY_ATTR(voltage_step),
|
||||
POWER_SUPPLY_ATTR(otg_fastroleswap),
|
||||
/* Charge pump properties */
|
||||
POWER_SUPPLY_ATTR(cp_status1),
|
||||
POWER_SUPPLY_ATTR(cp_status2),
|
||||
|
||||
@ -349,6 +349,7 @@ enum power_supply_property {
|
||||
POWER_SUPPLY_PROP_RES_FILTER_COUNT,
|
||||
POWER_SUPPLY_PROP_AICL_DONE,
|
||||
POWER_SUPPLY_PROP_VOLTAGE_STEP,
|
||||
POWER_SUPPLY_PROP_OTG_FASTROLESWAP,
|
||||
/* Charge pump properties */
|
||||
POWER_SUPPLY_PROP_CP_STATUS1,
|
||||
POWER_SUPPLY_PROP_CP_STATUS2,
|
||||
|
||||
Reference in New Issue
Block a user