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

Commit 9228d604 authored by Ashish Chavan's avatar Ashish Chavan
Browse files

power: supply: Add APSD based power-supply properties



Add following power_supply properties:

POWER_SUPPLY_PROP_APSD_RERUN - Property to re-run charger power source
detection.

POWER_SUPPLY_PROP_APSD_TIMEOUT - Property to report APSD timer status.

Change-Id: I2f8649461e5906f17adc5b360afed20b5fa6f58c
Signed-off-by: default avatarAshish Chavan <ashichav@codeaurora.org>
parent d63aafbd
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -466,6 +466,8 @@ static struct device_attribute power_supply_attrs[] = {
	POWER_SUPPLY_ATTR(skin_health),
	POWER_SUPPLY_ATTR(aicl_done),
	POWER_SUPPLY_ATTR(voltage_step),
	POWER_SUPPLY_ATTR(apsd_rerun),
	POWER_SUPPLY_ATTR(apsd_timeout),
	/* Charge pump properties */
	POWER_SUPPLY_ATTR(cp_status1),
	POWER_SUPPLY_ATTR(cp_status2),
+2 −0
Original line number Diff line number Diff line
@@ -344,6 +344,8 @@ enum power_supply_property {
	POWER_SUPPLY_PROP_SKIN_HEALTH,
	POWER_SUPPLY_PROP_AICL_DONE,
	POWER_SUPPLY_PROP_VOLTAGE_STEP,
	POWER_SUPPLY_PROP_APSD_RERUN,
	POWER_SUPPLY_PROP_APSD_TIMEOUT,
	/* Charge pump properties */
	POWER_SUPPLY_PROP_CP_STATUS1,
	POWER_SUPPLY_PROP_CP_STATUS2,