mirror of
https://github.com/LineageOS/android_kernel_fxtec_sm6115.git
synced 2026-04-05 16:13:09 +00:00
ANDROID: GKI: power: supply: Add VOLTAGE_STEP property
This property exposes the step size (in uV) to be used while
incrementing or decrementing voltage of a PSY.
Signed-off-by: Guru Das Srinagesh <gurus@codeaurora.org>
(cherry picked from commit 4cde627bd0)
Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Bug: 150789066
Change-Id: Ic70e933daf6b6f3bafc0f0fe77064c8395e611d1
This commit is contained in:
committed by
Mark Salyzyn
parent
abcee9a52c
commit
d46562ac69
@ -483,6 +483,7 @@ static struct device_attribute power_supply_attrs[] = {
|
||||
POWER_SUPPLY_ATTR(resistance_avg),
|
||||
POWER_SUPPLY_ATTR(batt_res_filt_cnts),
|
||||
POWER_SUPPLY_ATTR(aicl_done),
|
||||
POWER_SUPPLY_ATTR(voltage_step),
|
||||
/* Charge pump properties */
|
||||
POWER_SUPPLY_ATTR(cp_status1),
|
||||
POWER_SUPPLY_ATTR(cp_status2),
|
||||
|
||||
@ -348,6 +348,7 @@ enum power_supply_property {
|
||||
POWER_SUPPLY_PROP_RESISTANCE_AVG,
|
||||
POWER_SUPPLY_PROP_RES_FILTER_COUNT,
|
||||
POWER_SUPPLY_PROP_AICL_DONE,
|
||||
POWER_SUPPLY_PROP_VOLTAGE_STEP,
|
||||
/* Charge pump properties */
|
||||
POWER_SUPPLY_PROP_CP_STATUS1,
|
||||
POWER_SUPPLY_PROP_CP_STATUS2,
|
||||
|
||||
Reference in New Issue
Block a user