ANDROID: GKI: power_supply: Add "THERM_ICL_LIMIT" property
Add "THERM_ICL_LIMIT" property to allow userspace
thermal throttling algorithm to control input current
limit of charger.
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
Signed-off-by: Guru Das Srinagesh <gurus@codeaurora.org>
(cherry picked from commit d859ce8eb9)
Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Bug: 150789066
Change-Id: Ib527712b3dc5cde3555813c26f1a4b3a10b23cc1
This commit is contained in:
1 parent
8b94d07235
commit
1dbd6b406d
2 files changed
+2
No files matched your search
@@ -454,6 +454,7 @@ static struct device_attribute power_supply_attrs[] = {
|
||||
POWER_SUPPLY_ATTR(scale_mode_en),
|
||||
POWER_SUPPLY_ATTR(voltage_vph),
|
||||
POWER_SUPPLY_ATTR(chip_version),
|
||||
POWER_SUPPLY_ATTR(therm_icl_limit),
|
||||
/* Charge pump properties */
|
||||
POWER_SUPPLY_ATTR(cp_status1),
|
||||
POWER_SUPPLY_ATTR(cp_status2),
|
||||
|
||||
@@ -326,6 +326,7 @@ enum power_supply_property {
|
||||
POWER_SUPPLY_PROP_SCALE_MODE_EN,
|
||||
POWER_SUPPLY_PROP_VOLTAGE_VPH,
|
||||
POWER_SUPPLY_PROP_CHIP_VERSION,
|
||||
POWER_SUPPLY_PROP_THERM_ICL_LIMIT,
|
||||
/* Charge pump properties */
|
||||
POWER_SUPPLY_PROP_CP_STATUS1,
|
||||
POWER_SUPPLY_PROP_CP_STATUS2,
|
||||
|
||||
Reference in new issue
Block a user