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

Commit 6c2eeee2 authored by Xiaozhe Shi's avatar Xiaozhe Shi Committed by Abhijeet Dharmapurikar
Browse files

power_supply: add FORCE_TLIM property



Add POWER_SUPPLY_PROP_FORCE_TLIM as a power supply property in order to
force on the charger therm circuitry.

CRs-Fixed: 793985
Change-Id: If62f2eadf25c1c6a96314e05ab9c03bb0d700c14
Signed-off-by: default avatarXiaozhe Shi <xiaozhes@codeaurora.org>
parent a1cdac13
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -234,6 +234,7 @@ static struct device_attribute power_supply_attrs[] = {
	POWER_SUPPLY_ATTR(charge_done),
	POWER_SUPPLY_ATTR(allow_detection),
	POWER_SUPPLY_ATTR(flash_active),
	POWER_SUPPLY_ATTR(force_tlim),
	/* Local extensions of type int64_t */
	POWER_SUPPLY_ATTR(charge_counter_ext),
	/* Properties of type `const char *' */
+1 −0
Original line number Diff line number Diff line
@@ -182,6 +182,7 @@ enum power_supply_property {
	POWER_SUPPLY_PROP_CHARGE_DONE,
	POWER_SUPPLY_PROP_ALLOW_DETECTION,
	POWER_SUPPLY_PROP_FLASH_ACTIVE,
	POWER_SUPPLY_PROP_FORCE_TLIM,
	/* Local extensions of type int64_t */
	POWER_SUPPLY_PROP_CHARGE_COUNTER_EXT,
	/* Properties of type `const char *' */