mirror of
https://github.com/LineageOS/android_kernel_fxtec_sm6115.git
synced 2026-04-06 09:33:09 +00:00
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: Ashay Jaiswal <ashayj@codeaurora.org>
(cherry picked from commit 74b1cb85b8)
Signed-off-by: Mark Salyzyn <salyyzn@google.com>
Bug: 150789066
Change-Id: I846f98647844754b71de8b1ecd90abe0c2058709
This commit is contained in:
committed by
Mark Salyzyn
parent
3eef5574c5
commit
f7b16318ce
@ -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),
|
||||
|
||||
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user