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

Commit eb8871a6 authored by Sahil Chandna's avatar Sahil Chandna Committed by Guru Das Srinagesh
Browse files

power_supply: Add DC_RESET power-supply property



Add property POWER_SUPPLY_PROP_DC_RESET to notify the removal
of wireless charger.

Change-Id: I7964953ee558bc18392eec57e2d1f6a94bd866f5
Signed-off-by: default avatarSahil Chandna <chandna@codeaurora.org>
Signed-off-by: default avatarGuru Das Srinagesh <gurus@codeaurora.org>
parent d859ce8e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -454,6 +454,7 @@ static struct device_attribute power_supply_attrs[] = {
	POWER_SUPPLY_ATTR(voltage_vph),
	POWER_SUPPLY_ATTR(chip_version),
	POWER_SUPPLY_ATTR(therm_icl_limit),
	POWER_SUPPLY_ATTR(dc_reset),
	/* Charge pump properties */
	POWER_SUPPLY_ATTR(cp_status1),
	POWER_SUPPLY_ATTR(cp_status2),
+1 −0
Original line number Diff line number Diff line
@@ -327,6 +327,7 @@ enum power_supply_property {
	POWER_SUPPLY_PROP_VOLTAGE_VPH,
	POWER_SUPPLY_PROP_CHIP_VERSION,
	POWER_SUPPLY_PROP_THERM_ICL_LIMIT,
	POWER_SUPPLY_PROP_DC_RESET,
	/* Charge pump properties */
	POWER_SUPPLY_PROP_CP_STATUS1,
	POWER_SUPPLY_PROP_CP_STATUS2,