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

Commit aadbdeec authored by Mark Salyzyn's avatar Mark Salyzyn
Browse files

ANDROID: GKI: power: supply: Add POWER_SUPPLY_PROP_PTMC_ID



Partially taken from commit e13cae32a425959e886fb91e83205a398285b708
("p9221_charger: add attribute for read PTMC ID")

Signed-off-by: default avatarYiHsiang Peng <yihsiangpeng@google.com>
Bug: 145607449
(cherry picked commit e13cae32a425959e886fb91e83205a398285b708)
Signed-off-by: default avatarMark Salyzyn <salyzyn@google.com>
Bug: 150789066
Change-Id: I6a5d83f8e4c32f183ad2360f4b9fba586ad8e48f
parent 4f709294
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -499,6 +499,7 @@ static struct device_attribute power_supply_attrs[] = {
	POWER_SUPPLY_ATTR(charge_counter_ext),
	/* Properties of type `const char *' */
	POWER_SUPPLY_ATTR(model_name),
	POWER_SUPPLY_ATTR(ptmc_id),
	POWER_SUPPLY_ATTR(manufacturer),
	POWER_SUPPLY_ATTR(battery_type),
	POWER_SUPPLY_ATTR(cycle_counts),
+1 −0
Original line number Diff line number Diff line
@@ -364,6 +364,7 @@ enum power_supply_property {
	POWER_SUPPLY_PROP_CHARGE_COUNTER_EXT,
	/* Properties of type `const char *' */
	POWER_SUPPLY_PROP_MODEL_NAME,
	POWER_SUPPLY_PROP_PTMC_ID,
	POWER_SUPPLY_PROP_MANUFACTURER,
	POWER_SUPPLY_PROP_BATTERY_TYPE,
	POWER_SUPPLY_PROP_CYCLE_COUNTS,