devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/4] irqchip/meson-gpio: Add support for Meson-S4 SoC
@ 2022-02-25  5:52 Qianggui Song
  2022-02-25  5:52 ` [PATCH v3 1/4] dt-bindings: interrupt-controller: New binding for Meson-S4 SoCs Qianggui Song
  0 siblings, 1 reply; 2+ messages in thread
From: Qianggui Song @ 2022-02-25  5:52 UTC (permalink / raw)
  To: Thomas Gleixner, Marc Zyngier
  Cc: Qianggui Song, Kevin Hilman, Neil Armstrong, Jerome Brunet,
	Martin Blumenstingl, linux-kernel, linux-arm-kernel,
	linux-amlogic, devicetree, Rob Herring

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(-)

-- 
2.34.1


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

* [PATCH v3 1/4] dt-bindings: interrupt-controller: New binding for Meson-S4 SoCs
  2022-02-25  5:52 [PATCH v3 0/4] irqchip/meson-gpio: Add support for Meson-S4 SoC Qianggui Song
@ 2022-02-25  5:52 ` Qianggui Song
  0 siblings, 0 replies; 2+ messages in thread
From: Qianggui Song @ 2022-02-25  5:52 UTC (permalink / raw)
  To: Thomas Gleixner, Marc Zyngier
  Cc: Qianggui Song, Rob Herring, Kevin Hilman, Neil Armstrong,
	Jerome Brunet, Martin Blumenstingl, linux-kernel,
	linux-arm-kernel, linux-amlogic, devicetree, Rob Herring

Update dt-binding document for GPIO interrupt controller of Meson-S4 SoCs

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
---
 .../bindings/interrupt-controller/amlogic,meson-gpio-intc.txt    | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/interrupt-controller/amlogic,meson-gpio-intc.txt b/Documentation/devicetree/bindings/interrupt-controller/amlogic,meson-gpio-intc.txt
index 23b18b92c558..bde63f8f090e 100644
--- a/Documentation/devicetree/bindings/interrupt-controller/amlogic,meson-gpio-intc.txt
+++ b/Documentation/devicetree/bindings/interrupt-controller/amlogic,meson-gpio-intc.txt
@@ -18,6 +18,7 @@ Required properties:
     "amlogic,meson-g12a-gpio-intc" for G12A SoCs (S905D2, S905X2, S905Y2)
     "amlogic,meson-sm1-gpio-intc" for SM1 SoCs (S905D3, S905X3, S905Y3)
     "amlogic,meson-a1-gpio-intc" for A1 SoCs (A113L)
+    "amlogic,meson-s4-gpio-intc" for S4 SoCs (S802X2, S905Y4, S805X2G, S905W2)
 - reg : Specifies base physical address and size of the registers.
 - interrupt-controller : Identifies the node as an interrupt controller.
 - #interrupt-cells : Specifies the number of cells needed to encode an
-- 
2.34.1


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

end of thread, other threads:[~2022-02-25  6:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-25  5:52 [PATCH v3 0/4] irqchip/meson-gpio: Add support for Meson-S4 SoC Qianggui Song
2022-02-25  5:52 ` [PATCH v3 1/4] dt-bindings: interrupt-controller: New binding for Meson-S4 SoCs Qianggui Song

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).