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

Commit 4d67401b authored by Fenglin Wu's avatar Fenglin Wu
Browse files

power: power_supply: Add property to enable AICL



Add the property POWER_SUPPLY_PROP_ENABLE_AICL which could used to
enable/disable charger's AICL function.

CRs-Fixed: 1032013
Change-Id: Ie8c0e52b1d8afb7f3ad48d1dde74cb744c0115e3
Signed-off-by: default avatarFenglin Wu <fenglinw@codeaurora.org>
parent 93e6d568
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -248,6 +248,7 @@ static struct device_attribute power_supply_attrs[] = {
	POWER_SUPPLY_ATTR(typec_mode),
	POWER_SUPPLY_ATTR(allow_hvdcp3),
	POWER_SUPPLY_ATTR(max_pulse_allowed),
	POWER_SUPPLY_ATTR(enable_aicl),
	POWER_SUPPLY_ATTR(soc_reporting_ready),
	POWER_SUPPLY_ATTR(ignore_false_negative_isense),
	POWER_SUPPLY_ATTR(enable_jeita_detection),
+1 −0
Original line number Diff line number Diff line
@@ -211,6 +211,7 @@ enum power_supply_property {
	POWER_SUPPLY_PROP_TYPEC_MODE,
	POWER_SUPPLY_PROP_ALLOW_HVDCP3,
	POWER_SUPPLY_PROP_MAX_PULSE_ALLOWED,
	POWER_SUPPLY_PROP_ENABLE_AICL,
	POWER_SUPPLY_PROP_SOC_REPORTING_READY,
	POWER_SUPPLY_PROP_IGNORE_FALSE_NEGATIVE_ISENSE,
	POWER_SUPPLY_PROP_ENABLE_JEITA_DETECTION,