ANDROID: GKI: power: supply: Add POWER_SUPPLY_PROP_AICL_*

Partially taken from commit b81ebe136c51cdb27b2a374e66eb23c92a81ab40
("power: smb5-lib: tuning dcin aicl")

Signed-off-by: YiHsiang Peng <yihsiangpeng@google.com>
Bug: 146538840
(cherry picked from commit b81ebe136c51cdb27b2a374e66eb23c92a81ab40)
Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Bug: 150789066
Change-Id: I4fb09481e0da0de5acbd27b7c2c20b67a8305fa2
This commit is contained in:
Mark Salyzyn
2020-02-24 14:40:49 -08:00
parent caaeb5f710
commit f022b1256d
2 changed files with 4 additions and 0 deletions

View File

@ -476,6 +476,8 @@ static struct device_attribute power_supply_attrs[] = {
POWER_SUPPLY_ATTR(voltage_fifo),
POWER_SUPPLY_ATTR(cc_uah),
POWER_SUPPLY_ATTR(operating_freq),
POWER_SUPPLY_ATTR(aicl_delay),
POWER_SUPPLY_ATTR(aicl_icl),
/* Capacity Estimation */
POWER_SUPPLY_ATTR(batt_ce_ctrl),
POWER_SUPPLY_ATTR(batt_ce_full),

View File

@ -355,6 +355,8 @@ enum power_supply_property {
POWER_SUPPLY_PROP_VOLTAGE_FIFO,
POWER_SUPPLY_PROP_CC_UAH,
POWER_SUPPLY_PROP_OPERATING_FREQ,
POWER_SUPPLY_PROP_AICL_DELAY,
POWER_SUPPLY_PROP_AICL_ICL,
/* Capacity Estimation */
POWER_SUPPLY_PROP_BATT_CE_CTRL,
POWER_SUPPLY_PROP_CHARGE_FULL_ESTIMATE,