[PATCH v3 0/2] gpio: brcmstb: wake-up interrupt improvements

From: Florian Fainelli

Date: Thu Jan 29 2026 - 15:13:31 EST


The last two patches improve the handling of early wake-up conditions
and makes it more robust so we can use those during "s2idle".

Changes in v3:

- added Linus' R-b tag
- removed useless comments

Changes in v2:

- corrected the patch implementing irq_mask_ack to write properly to the
STAT register, this was not the case
- create a separate helper to write to the IMASK register to make the
code more readable
- remove unnecessary cast of unsigned long to u32

Doug Berger (2):
gpio: brcmstb: implement irq_mask_ack
gpio: brcmstb: allow parent_irq to wake

drivers/gpio/gpio-brcmstb.c | 114 +++++++++++++++++++++++++-----------
1 file changed, 81 insertions(+), 33 deletions(-)

--
2.43.0