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

Commit 3c20c4fa authored by Harry Yang's avatar Harry Yang
Browse files

power-supply: Add VOLTAGE_VPH power supply property



Add VOLTAGE_VPH power supply property to expose VPH voltage to user space.

Change-Id: I16eb6efe3eef5b173b0f1a66dc21ab6c4c5cb968
Signed-off-by: default avatarHarry Yang <harryy@codeaurora.org>
parent 509db46a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -391,6 +391,7 @@ static struct device_attribute power_supply_attrs[] = {
	POWER_SUPPLY_ATTR(qc_opti_disable),
	POWER_SUPPLY_ATTR(cc_soc),
	POWER_SUPPLY_ATTR(batt_age_level),
	POWER_SUPPLY_ATTR(voltage_vph),
	/* Charge pump properties */
	POWER_SUPPLY_ATTR(cp_status1),
	POWER_SUPPLY_ATTR(cp_status2),
+1 −0
Original line number Diff line number Diff line
@@ -322,6 +322,7 @@ enum power_supply_property {
	POWER_SUPPLY_PROP_QC_OPTI_DISABLE,
	POWER_SUPPLY_PROP_CC_SOC,
	POWER_SUPPLY_PROP_BATT_AGE_LEVEL,
	POWER_SUPPLY_PROP_VOLTAGE_VPH,
	/* Charge pump properties */
	POWER_SUPPLY_PROP_CP_STATUS1,
	POWER_SUPPLY_PROP_CP_STATUS2,