mfd: pm8038: Enable the battery alarm module
The battery alarm module provides interrupts when the battery falls below or rises above a programmed threshold. This feature is useful to wakeup the device when the battery is in low voltage situations. (cherry picked from commit 6d538144cb02933cf27f425ad721541d80377b43) Change-Id: I5d17bacf363cab165156b62730ccf9c23c633b3c CRs-Fixed: 372690 Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org> (cherry picked from commit 16f56979ee6876ce64f6dba8928a782825ff1275)
This commit is contained in:
committed by
Stephen Boyd
parent
3288119c79
commit
092d7c8abb
@@ -54,6 +54,7 @@
|
||||
|
||||
/* PMIC Interrupts */
|
||||
#define PM8038_RTC_ALARM_IRQ PM8038_IRQ_BLOCK_BIT(4, 7)
|
||||
#define PM8038_BATT_ALARM_IRQ PM8921_IRQ_BLOCK_BIT(5, 6)
|
||||
#define PM8038_PWRKEY_REL_IRQ PM8038_IRQ_BLOCK_BIT(6, 2)
|
||||
#define PM8038_PWRKEY_PRESS_IRQ PM8038_IRQ_BLOCK_BIT(6, 3)
|
||||
#define PM8038_KEYPAD_IRQ PM8038_IRQ_BLOCK_BIT(9, 2)
|
||||
|
||||
Reference in New Issue
Block a user