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

Commit 4a8b5010 authored by Siddartha Mohanadoss's avatar Siddartha Mohanadoss
Browse files

power: supply: Add property to vote for TLIM



Enable clients to vote for TLIM. It is used by
the VADC client to force the charger circuitry before
reading the charger temperature channel.

Change-Id: Id891b797f289d28ddb7ea2be95bd91365653cc02
Signed-off-by: default avatarSiddartha Mohanadoss <smohanad@codeaurora.org>
parent 45a944ba
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -231,6 +231,7 @@ static struct device_attribute power_supply_attrs[] = {
	POWER_SUPPLY_ATTR(pe_start),
	POWER_SUPPLY_ATTR(pe_start),
	POWER_SUPPLY_ATTR(set_ship_mode),
	POWER_SUPPLY_ATTR(set_ship_mode),
	POWER_SUPPLY_ATTR(boost_current),
	POWER_SUPPLY_ATTR(boost_current),
	POWER_SUPPLY_ATTR(force_tlim),
	/* Local extensions of type int64_t */
	/* Local extensions of type int64_t */
	POWER_SUPPLY_ATTR(charge_counter_ext),
	POWER_SUPPLY_ATTR(charge_counter_ext),
	/* Properties of type `const char *' */
	/* Properties of type `const char *' */
+1 −0
Original line number Original line Diff line number Diff line
@@ -164,6 +164,7 @@ enum power_supply_property {
	POWER_SUPPLY_PROP_PE_START,
	POWER_SUPPLY_PROP_PE_START,
	POWER_SUPPLY_PROP_SET_SHIP_MODE,
	POWER_SUPPLY_PROP_SET_SHIP_MODE,
	POWER_SUPPLY_PROP_BOOST_CURRENT,
	POWER_SUPPLY_PROP_BOOST_CURRENT,
	POWER_SUPPLY_PROP_FORCE_TLIM,
	/* Local extensions of type int64_t */
	/* Local extensions of type int64_t */
	POWER_SUPPLY_PROP_CHARGE_COUNTER_EXT,
	POWER_SUPPLY_PROP_CHARGE_COUNTER_EXT,
	/* Properties of type `const char *' */
	/* Properties of type `const char *' */