ANDROID: GKI: power: supply: Add AICL_DONE parameter

This parameter is used to signify that the Automatic Input Current Limit
(AICL) setting process for a PSY has finished executing.

Signed-off-by: Guru Das Srinagesh <gurus@codeaurora.org>
(cherry picked from commit e24a3925ac)
Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Bug: 150789066
Change-Id: I5609aaf64bf75ce446ce9a5f83ec1c2baadf81f3
This commit is contained in:
Mark Salyzyn
2020-02-24 14:40:49 -08:00
parent c4bb7e5e2e
commit abcee9a52c
2 changed files with 2 additions and 0 deletions

View File

@ -482,6 +482,7 @@ static struct device_attribute power_supply_attrs[] = {
/* Resistance Estimaton */
POWER_SUPPLY_ATTR(resistance_avg),
POWER_SUPPLY_ATTR(batt_res_filt_cnts),
POWER_SUPPLY_ATTR(aicl_done),
/* Charge pump properties */
POWER_SUPPLY_ATTR(cp_status1),
POWER_SUPPLY_ATTR(cp_status2),

View File

@ -347,6 +347,7 @@ enum power_supply_property {
/* Resistance Estimaton */
POWER_SUPPLY_PROP_RESISTANCE_AVG,
POWER_SUPPLY_PROP_RES_FILTER_COUNT,
POWER_SUPPLY_PROP_AICL_DONE,
/* Charge pump properties */
POWER_SUPPLY_PROP_CP_STATUS1,
POWER_SUPPLY_PROP_CP_STATUS2,