[PATCH v2 0/3] gpio: brcmstb: Bug fixes and wake-up interrupt improvements

Florian Fainelli florian.fainelli at broadcom.com
Tue Jan 27 13:46:53 PST 2026


This patch series corrects the HW interrupt to the bank mapping logic to
be more robust and do not assume any particular order.

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 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 (3):
  gpio: brcmstb: correct hwirq to bank map
  gpio: brcmstb: implement irq_mask_ack
  gpio: brcmstb: allow parent_irq to wake

 drivers/gpio/gpio-brcmstb.c | 127 +++++++++++++++++++++++++-----------
 1 file changed, 89 insertions(+), 38 deletions(-)

-- 
2.43.0




More information about the linux-arm-kernel mailing list