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

Florian Fainelli posted 3 patches 1 week, 3 days ago
drivers/gpio/gpio-brcmstb.c | 127 +++++++++++++++++++++++++-----------
1 file changed, 89 insertions(+), 38 deletions(-)
[PATCH v2 0/3] gpio: brcmstb: Bug fixes and wake-up interrupt improvements
Posted by Florian Fainelli 1 week, 3 days ago
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
Re: [PATCH v2 0/3] gpio: brcmstb: Bug fixes and wake-up interrupt improvements
Posted by Andy Shevchenko 1 week, 1 day ago
On Tue, Jan 27, 2026 at 11:47 PM Florian Fainelli
<florian.fainelli@broadcom.com> wrote:
>
> 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".

Reviewed-by: Andy Shevchenko <andy@kernel.org>

-- 
With Best Regards,
Andy Shevchenko
Re: (subset) [PATCH v2 0/3] gpio: brcmstb: Bug fixes and wake-up interrupt improvements
Posted by Bartosz Golaszewski 1 week, 3 days ago
On Tue, 27 Jan 2026 13:46:53 -0800, Florian Fainelli wrote:
> 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:
> 
> [...]

I queued this up for fixes, the rest can wait until v7.0-rc1.

[1/3] gpio: brcmstb: correct hwirq to bank map
      https://git.kernel.org/brgl/c/b2cf569ed81e7574d4287eaf3b2c38690a934d34

Best regards,
-- 
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>