Skip to content

gpio: brcmstb: wake-up interrupt improvements

Florian Fainelli linux-arm-kernel linux-gpio lkml 5 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest3 patches 2 repliesApplied
  2. v43 patches 3 repliesSuperseded
  3. v32 patches 1 replySuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v23 patches6 repliesSuperseded
v13 patches9 repliesSuperseded

Changes in v5 from the cover letter

- collected additional Reviewed-by tags
- utilize irq_hw_number_t in brcmstb_gpio_set_imask()
- clarified that irq_mask_ack/irq_mask/irq_ack are functions

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/3gpio: brcmstb: Utilize irqd_to_hwirq(d) instead of d->hwirqdrivers/gpio/gpio-brcmstb.c+6 -60 replies
2/3gpio: brcmstb: implement .irq_mask_ack()drivers/gpio/gpio-brcmstb.c+25 -50 replies
3/3gpio: brcmstb: allow parent_irq to wakedrivers/gpio/gpio-brcmstb.c+57 -281 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchLinus WalleijAndy Shevchenko
1/3R-b R-b
2/3R-b R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/3] gpio: brcmstb: wake-up interrupt improvements

Changes in v5:

- collected additional Reviewed-by tags
- utilize irq_hw_number_t in brcmstb_gpio_set_imask()
- clarified that irq_mask_ack/irq_mask/irq_ack are functions

Changes in v4:

- Provide a leading patch that utilizes irqd_to_hwirq(d) to fetch the HW IRQ number
- Utilise .irq_mask and .irq_mask_ack notation in the commit message

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

Florian Fainelli (1):
gpio: brcmstb: Utilize irqd_to_hwirq(d) instead of d->hwirq

 drivers/gpio/gpio-brcmstb.c | 125 +++++++++++++++++++++++++-----------
 1 file changed, 87 insertions(+), 38 deletions(-)
Signature · 1 line
2.43.0