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

Skip to content
Commit 7631c79e authored by Xiaozhe Shi's avatar Xiaozhe Shi
Browse files

power: qpnp-smbcharger: make certain interrupts wakeable



Add an enable_irq_wake for the following interrupts in order to
facilitate correct power supply reporting of charge state and battery
health: tcc-thr, batt-hot, batt-warm, batt-cool, batt-cold,
batt-missing, batt-low, chg-hot, safety-timer-timeout.

Also make the usbin_uv and src_detect irqs wakeable in order to
allow usb insertions to wake the device out of sleep. Do the same for
dc-uv for wireless charger removal.

Change-Id: I3140d594d2a192fe62d30c6bdeb73fe3827cd290
Signed-off-by: default avatarXiaozhe Shi <xiaozhes@codeaurora.org>
parent fc833321
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment