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

Commit a86f48f8 authored by Sahil Chandna's avatar Sahil Chandna
Browse files

power_supply: Add SCALE_MODE_EN power-supply property



Add POWER_SUPPLY_PROP_SCALE_MODE_EN property to indicate
the status of filtered voltage based SOC scaling.

Change-Id: I2d110348eb5ecc85847879b9bc783ddc39e934b7
Signed-off-by: default avatarSahil Chandna <chandna@codeaurora.org>
parent c1b1f71e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -395,6 +395,7 @@ static struct device_attribute power_supply_attrs[] = {
	POWER_SUPPLY_ATTR(chip_version),
	POWER_SUPPLY_ATTR(therm_icl_limit),
	POWER_SUPPLY_ATTR(dc_reset),
	POWER_SUPPLY_ATTR(scale_mode_en),
	/* Charge pump properties */
	POWER_SUPPLY_ATTR(cp_status1),
	POWER_SUPPLY_ATTR(cp_status2),
+1 −0
Original line number Diff line number Diff line
@@ -326,6 +326,7 @@ enum power_supply_property {
	POWER_SUPPLY_PROP_CHIP_VERSION,
	POWER_SUPPLY_PROP_THERM_ICL_LIMIT,
	POWER_SUPPLY_PROP_DC_RESET,
	POWER_SUPPLY_PROP_SCALE_MODE_EN,
	/* Charge pump properties */
	POWER_SUPPLY_PROP_CP_STATUS1,
	POWER_SUPPLY_PROP_CP_STATUS2,