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

Commit 4cde627b authored by Guru Das Srinagesh's avatar Guru Das Srinagesh
Browse files

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.

Change-Id: Ic70e933daf6b6f3bafc0f0fe77064c8395e611d1
Signed-off-by: default avatarGuru Das Srinagesh <gurus@codeaurora.org>
parent 9950bfe5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -465,6 +465,7 @@ static struct device_attribute power_supply_attrs[] = {
	POWER_SUPPLY_ATTR(adapter_cc_mode),
	POWER_SUPPLY_ATTR(skin_health),
	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
@@ -343,6 +343,7 @@ enum power_supply_property {
	POWER_SUPPLY_PROP_ADAPTER_CC_MODE,
	POWER_SUPPLY_PROP_SKIN_HEALTH,
	POWER_SUPPLY_PROP_AICL_DONE,
	POWER_SUPPLY_PROP_VOLTAGE_STEP,
	/* Charge pump properties */
	POWER_SUPPLY_PROP_CP_STATUS1,
	POWER_SUPPLY_PROP_CP_STATUS2,