[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260127214656.447333-1-florian.fainelli@broadcom.com>
Date: Tue, 27 Jan 2026 13:46:53 -0800
From: Florian Fainelli <florian.fainelli@...adcom.com>
To: linux-kernel@...r.kernel.org
Cc: Florian Fainelli <florian.fainelli@...adcom.com>,
Doug Berger <opendmb@...il.com>,
Broadcom internal kernel review list <bcm-kernel-feedback-list@...adcom.com>,
Linus Walleij <linusw@...nel.org>,
Bartosz Golaszewski <brgl@...nel.org>,
Andy Shevchenko <andy.shevchenko@...il.com>,
Christophe Leroy <chleroy@...nel.org>,
linux-gpio@...r.kernel.org (open list:GPIO SUBSYSTEM),
linux-arm-kernel@...ts.infradead.org (moderated list:BROADCOM BCM7XXX ARM ARCHITECTURE)
Subject: [PATCH v2 0/3] gpio: brcmstb: Bug fixes and wake-up interrupt improvements
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
Powered by blists - more mailing lists