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

Commit e795fce7 authored by Jack Pham's avatar Jack Pham
Browse files

power_supply: Add enums for POWER_SUPPLY_PROP_PD_ACTIVE



Add enum definitions to use with POWER_SUPPLY_PROP_PD_ACTIVE
to distinguish between whether a charger supports PD or not,
and if PD, whether it also supports PPS.

Change-Id: I4965292024cc48e13656f5bb30fa900af4174bc6
Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
parent 1fdc55bc
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -125,6 +125,12 @@ enum {
	POWER_SUPPLY_PL_NON_STACKED_BATFET,
};

enum {
	POWER_SUPPLY_PD_INACTIVE = 0,
	POWER_SUPPLY_PD_ACTIVE,
	POWER_SUPPLY_PD_PPS_ACTIVE,
};

enum power_supply_property {
	/* Properties of type `int' */
	POWER_SUPPLY_PROP_STATUS = 0,