Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d46562ac authored by Guru Das Srinagesh's avatar Guru Das Srinagesh Committed by Mark Salyzyn
Browse files

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: default avatarGuru Das Srinagesh <gurus@codeaurora.org>
(cherry picked from commit 4cde627b)
Signed-off-by: default avatarMark Salyzyn <salyzyn@google.com>
Bug: 150789066
Change-Id: Ic70e933daf6b6f3bafc0f0fe77064c8395e611d1
parent abcee9a5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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),
+1 −0
Original line number Diff line number Diff line
@@ -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,