mbox series

[v3,0/4] irqchip/meson-gpio: Add support for Meson-S4 SoC

Message ID 20220225055207.1048-1-qianggui.song@amlogic.com (mailing list archive)
Headers show
Series irqchip/meson-gpio: Add support for Meson-S4 SoC | expand

Message

Qianggui Song Feb. 25, 2022, 5:52 a.m. UTC
This patchset add support for GPIO interrupt controller of Meson-S4 SoC
Which has something different with current other meson chips. To
support the new chips, current gpio irqchip driver need to rework as
below:
1. support more than 8 gpio irq lines.
2. add a set trigger type callback function.

With above work, add support for S4 gpio irqchip

Changes since v2 at [1]:
- rework nr channels allocations
- move old controller set_type to a callback

Changes since v1 at [0]:
- fix leaking issue
- fix some typos
- change implementation of new feature.

[0] https://lore.kernel.org/linux-amlogic/20220108084218.31877-1-qianggui.song@amlogic.com/
[1] https://lore.kernel.org/linux-amlogic/20220119070809.15563-1-qianggui.song@amlogic.com/

Qianggui Song (4):
  dt-bindings: interrupt-controller: New binding for Meson-S4 SoCs
  irqchip/meson-gpio: support more than 8 channels gpio irq
  irqchip/meson-gpio: add select trigger type callback
  irqchip/meson-gpio: Add support for meson s4 SoCs

 .../amlogic,meson-gpio-intc.txt               |   1 +
 drivers/irqchip/irq-meson-gpio.c              | 108 +++++++++++++++---
 2 files changed, 93 insertions(+), 16 deletions(-)