mirror of
https://github.com/LineageOS/android_kernel_fxtec_sm6115.git
synced 2026-04-06 14:55:53 +00:00
ANDROID: GKI: power_supply: Add operating frequency property
Signed-off-by: Patrick Tjin <pattjin@google.com> Bug: 127374126 (cherry picked from commit e0bb03882c146ce9676430296e3239bdad42c3a0) Signed-off-by: Thierry Strudel <tstrudel@google.com> (cherry picked from commit 99b6e1d28b835dab8d870742f53a94a628d61a47) Signed-off-by: Mark Salyzyn <salyzyn@google.com> Bug: 150789066 Change-Id: I9d8ce5c6bea6c5b98549ea659f4ec22170041a90
This commit is contained in:
committed by
Mark Salyzyn
parent
958192fe7f
commit
c4bb7e5e2e
@ -475,6 +475,7 @@ static struct device_attribute power_supply_attrs[] = {
|
||||
POWER_SUPPLY_ATTR(dead_battery),
|
||||
POWER_SUPPLY_ATTR(voltage_fifo),
|
||||
POWER_SUPPLY_ATTR(cc_uah),
|
||||
POWER_SUPPLY_ATTR(operating_freq),
|
||||
/* Capacity Estimation */
|
||||
POWER_SUPPLY_ATTR(batt_ce_ctrl),
|
||||
POWER_SUPPLY_ATTR(batt_ce_full),
|
||||
|
||||
@ -340,6 +340,7 @@ enum power_supply_property {
|
||||
POWER_SUPPLY_PROP_DEAD_BATTERY,
|
||||
POWER_SUPPLY_PROP_VOLTAGE_FIFO,
|
||||
POWER_SUPPLY_PROP_CC_UAH,
|
||||
POWER_SUPPLY_PROP_OPERATING_FREQ,
|
||||
/* Capacity Estimation */
|
||||
POWER_SUPPLY_PROP_BATT_CE_CTRL,
|
||||
POWER_SUPPLY_PROP_CHARGE_FULL_ESTIMATE,
|
||||
|
||||
Reference in New Issue
Block a user