mirror of
https://github.com/LineageOS/android_kernel_fxtec_sm6115.git
synced 2026-04-07 04:03:15 +00:00
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:
@ -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),
|
||||
|
||||
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user