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

Commit f7b16318 authored by Ashay Jaiswal's avatar Ashay Jaiswal Committed by Mark Salyzyn
Browse files

ANDROID: GKI: power_supply: add POWER_SUPPLY_PROP_IRQ_STATUS property



Add "POWER_SUPPLY_PROP_IRQ_STATUS" property, this can be used
by drivers to report interrupt status.

Signed-off-by: default avatarAshay Jaiswal <ashayj@codeaurora.org>
(cherry picked from commit 74b1cb85)
Signed-off-by: default avatarMark Salyzyn <salyyzn@google.com>
Bug: 150789066
Change-Id: I846f98647844754b71de8b1ecd90abe0c2058709
parent 3eef5574
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -495,6 +495,7 @@ static struct device_attribute power_supply_attrs[] = {
	POWER_SUPPLY_ATTR(cp_toggle_switcher),
	POWER_SUPPLY_ATTR(cp_irq_status),
	POWER_SUPPLY_ATTR(cp_ilim),
	POWER_SUPPLY_ATTR(irq_status),
	/* Local extensions of type int64_t */
	POWER_SUPPLY_ATTR(charge_counter_ext),
	POWER_SUPPLY_ATTR(charge_charger_state),
+1 −0
Original line number Diff line number Diff line
@@ -360,6 +360,7 @@ enum power_supply_property {
	POWER_SUPPLY_PROP_CP_TOGGLE_SWITCHER,
	POWER_SUPPLY_PROP_CP_IRQ_STATUS,
	POWER_SUPPLY_PROP_CP_ILIM,
	POWER_SUPPLY_PROP_IRQ_STATUS,
	/* Local extensions of type int64_t */
	POWER_SUPPLY_PROP_CHARGE_COUNTER_EXT,
	POWER_SUPPLY_PROP_CHARGE_CHARGER_STATE,