[PATCH v4 0/2] mfd: arizona: Move IRQ GPIO to GPIO descriptor

Linus Walleij
2026-03-26T10:51:15Z

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 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 | 46 +++++++++++-----------
include/linux/mfd/arizona/core.h | 2 +
include/linux/mfd/arizona/pdata.h | 5 ---
4 files changed, 34 insertions(+), 29 deletions(-)
---
base-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
change-id: 20260314-mfd-arizona-irq-6fe7fe179a09

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