public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] mfd: arizona: Move IRQ GPIO to GPIO descriptor
@ 2026-03-17  9:28 Linus Walleij
  2026-03-17  9:28 ` [PATCH v2 1/2] dt-bindings: mfd: wlf,arizona: Add irq-gpios Linus Walleij
  2026-03-17  9:28 ` [PATCH v2 2/2] mfd: arizona: Convert GPIO IRQ handling to descriptors Linus Walleij
  0 siblings, 2 replies; 5+ messages in thread
From: Linus Walleij @ 2026-03-17  9:28 UTC (permalink / raw)
  To: Lee Jones, Bartosz Golaszewski, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: patches, linux-kernel, linux-gpio, devicetree, Linus Walleij

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 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       |  9 +++++
 drivers/mfd/arizona-irq.c                          | 45 ++++++++++------------
 include/linux/mfd/arizona/core.h                   |  2 +
 include/linux/mfd/arizona/pdata.h                  |  5 ---
 4 files changed, 32 insertions(+), 29 deletions(-)
---
base-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
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-03-17 13:22 UTC | newest]

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

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