Linux GPIO subsystem development
 help / color / mirror / Atom feed
* [PATCH v5 0/2] mfd: arizona: Move IRQ GPIO to GPIO descriptor
@ 2026-05-27 13:05 Linus Walleij
  2026-05-27 13:05 ` [PATCH v5 1/2] dt-bindings: mfd: wlf,arizona: Add irq-gpios Linus Walleij
  2026-05-27 13:05 ` [PATCH v5 2/2] mfd: arizona: Convert GPIO IRQ handling to descriptors Linus Walleij
  0 siblings, 2 replies; 5+ messages in thread
From: Linus Walleij @ 2026-05-27 13:05 UTC (permalink / raw)
  To: Lee Jones, Bartosz Golaszewski, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Charles Keepax
  Cc: patches, linux-kernel, linux-gpio, devicetree, Linus Walleij,
	Conor Dooley, Bartosz Golaszewski

Move the hack using a platform data-provided GPIO line to use
a proper devicetree-provided GPIO descriptor to poll the IRQ.

Signed-off-by: Linus Walleij <linusw@kernel.org>
---
Changes in v5:
- Rebased on v7.1-rc1
- Cache gpio_irq in a local variable.
- Check gpio_irq for error value.
- Drop surplus goto label.
- Pick up review tags.
- Link to v4: https://lore.kernel.org/r/20260326-mfd-arizona-irq-v4-0-50c47ed0a18e@kernel.org

Changes in v4:
- Fix error path to use dev_err_probe() and report mismatches GPIO
  IRQ numbers properly.
- Fix spelling error in commit message.
- Pick up ACKs.
- Link to v3: https://lore.kernel.org/r/20260319-mfd-arizona-irq-v3-0-24c251377ec2@kernel.org

Changes in v3:
- Reword the irq-gpios documentation as Charles Want it.
- Collect ACK.
- Link to v2: https://lore.kernel.org/r/20260317-mfd-arizona-irq-v2-0-9ea546f517dc@kernel.org

Changes in v2:
- Instead of deleting the feature, migrate it properly to devicetree.
- Add irq-gpios devicetree bindings.
- Add code to handle irq-gpios for GPIO polling of IRQ line.
- Link to v1: https://lore.kernel.org/r/20260314-mfd-arizona-irq-v1-1-4b77f524f832@kernel.org

---
Linus Walleij (2):
      dt-bindings: mfd: wlf,arizona: Add irq-gpios
      mfd: arizona: Convert GPIO IRQ handling to descriptors

 .../devicetree/bindings/mfd/wlf,arizona.yaml       | 10 +++++
 drivers/mfd/arizona-irq.c                          | 50 ++++++++++++----------
 include/linux/mfd/arizona/core.h                   |  2 +
 include/linux/mfd/arizona/pdata.h                  |  5 ---
 4 files changed, 39 insertions(+), 28 deletions(-)
---
base-commit: 254f49634ee16a731174d2ae34bc50bd5f45e731
change-id: 20260314-mfd-arizona-irq-6fe7fe179a09

Best regards,
--  
Linus Walleij <linusw@kernel.org>


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-06-11  9:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-27 13:05 [PATCH v5 0/2] mfd: arizona: Move IRQ GPIO to GPIO descriptor Linus Walleij
2026-05-27 13:05 ` [PATCH v5 1/2] dt-bindings: mfd: wlf,arizona: Add irq-gpios Linus Walleij
2026-05-27 13:05 ` [PATCH v5 2/2] mfd: arizona: Convert GPIO IRQ handling to descriptors Linus Walleij
2026-06-11  8:20   ` Lee Jones
2026-06-11  9:03     ` Charles Keepax

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox