[PATCH v4 0/4] Add GPIO interrupt support for Amlogic A4 and A5 SoCs

From: Xianwei Zhao via B4 Relay
Date: Fri Mar 07 2025 - 03:49:34 EST


This patch adds GPIO interrupt support for Amlogic A4 and A5 SoCs

Signed-off-by: Xianwei Zhao <xianwei.zhao@xxxxxxxxxxx>
---
Changes in v4:
- Make minor changes for bindings as Conor and Rob suggest.
- Format adjustment of source code according to Thomas's suggestion.
- Link to v3: https://lore.kernel.org/r/20250305-irqchip-gpio-a4-a5-v3-0-1eec70352fea@xxxxxxxxxxx

Changes in v3:
- Fix warning when run 'make ARCH=arm64 dtbs_check'.
- Fix warning when run 'make ARCH=arm64 Image W=1'.
- Rebase file amlogic-a4.dtsi.
- Link to v2: https://lore.kernel.org/r/20250226-irqchip-gpio-a4-a5-v2-0-c55b1050cb55@xxxxxxxxxxx

Changes in v2:
- Use if/then instead of direct modification minimum value for property 'amlogic,channel-interrupts'.
- Add register offsets to the parameter structure to reduce definition of a function.
- Link to v1: https://lore.kernel.org/r/20250219-irqchip-gpio-a4-a5-v1-0-3c8e44ae42df@xxxxxxxxxxx

---
Xianwei Zhao (4):
dt-bindings: interrupt-controller: Add support for Amlogic A4 and A5 SoCs
irqchip: Add support for Amlogic A4 and A5 SoCs
arm64: dts: Add gpio_intc node for Amlogic A4 SoCs
arm64: dts: Add gpio_intc node for Amlogic A5 SoCs

.../amlogic,meson-gpio-intc.yaml | 19 ++++++++-
arch/arm64/boot/dts/amlogic/amlogic-a4.dtsi | 19 +++++++++
arch/arm64/boot/dts/amlogic/amlogic-a5.dtsi | 12 ++++++
drivers/irqchip/irq-meson-gpio.c | 45 +++++++++++++++++-----
4 files changed, 85 insertions(+), 10 deletions(-)
---
base-commit: 73e4ffb27bb8a093d557bb2dac1a271474cca99c
change-id: 20241213-irqchip-gpio-a4-a5-80c50a1456c4

Best regards,
--
Xianwei Zhao <xianwei.zhao@xxxxxxxxxxx>