LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH 0/3] irqchip: meson-gpio: add support for Meson-AXG SoCs
@ 2018-04-08 14:56 Yixun Lan
  2018-04-08 14:56 ` [PATCH 1/3] dt-bindings: interrupt-controller: fix the double quotes Yixun Lan
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Yixun Lan @ 2018-04-08 14:56 UTC (permalink / raw)
  To: Marc Zyngier, Jason Cooper, Thomas Gleixner, Kevin Hilman
  Cc: Yixun Lan, Carlo Caione, Jerome Brunet, Heiner Kallweit,
	Rob Herring, Xingyu Chen, linux-amlogic, linux-arm-kernel,
	linux-kernel, devicetree

  This series try to add GPIO interrupt controller support for Meson-AXG SoCs.
  The first patch is a trivial typo fix, I can fold the first two patches
together if necessary.

Yixun Lan (3):
  dt-bindings: interrupt-controller: fix the double quotes
  dt-bindings: interrupt-controller: New binding for Meson-AXG SoC
  irqchip/meson-gpio: add support for Meson-AXG SoCs

 .../bindings/interrupt-controller/amlogic,meson-gpio-intc.txt | 11 ++++++-----
 drivers/irqchip/irq-meson-gpio.c                              |  5 +++++
 2 files changed, 11 insertions(+), 5 deletions(-)

-- 
2.16.2

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

* [PATCH 1/3] dt-bindings: interrupt-controller: fix the double quotes
  2018-04-08 14:56 [PATCH 0/3] irqchip: meson-gpio: add support for Meson-AXG SoCs Yixun Lan
@ 2018-04-08 14:56 ` Yixun Lan
  2018-04-13 17:18   ` Rob Herring
  2018-04-08 14:56 ` [PATCH 2/3] dt-bindings: interrupt-controller: New binding for Meson-AXG SoC Yixun Lan
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 8+ messages in thread
From: Yixun Lan @ 2018-04-08 14:56 UTC (permalink / raw)
  To: Marc Zyngier, Jason Cooper, Thomas Gleixner, Kevin Hilman
  Cc: Yixun Lan, Carlo Caione, Jerome Brunet, Heiner Kallweit,
	Rob Herring, Xingyu Chen, linux-amlogic, linux-arm-kernel,
	linux-kernel, devicetree

The double quotes seems not ASCII type, fix it here.

Signed-off-by: Yixun Lan <yixun.lan@amlogic.com>
---
 .../bindings/interrupt-controller/amlogic,meson-gpio-intc.txt  | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

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 a83f9a5734ca..c753d99d43db 100644
--- a/Documentation/devicetree/bindings/interrupt-controller/amlogic,meson-gpio-intc.txt
+++ b/Documentation/devicetree/bindings/interrupt-controller/amlogic,meson-gpio-intc.txt
@@ -9,11 +9,11 @@ number of interrupt exposed depends on the SoC.
 
 Required properties:
 
-- compatible : must have "amlogic,meson8-gpio-intc” and either
-   “amlogic,meson8-gpio-intc” for meson8 SoCs (S802) or
-   “amlogic,meson8b-gpio-intc” for meson8b SoCs (S805) or
-   “amlogic,meson-gxbb-gpio-intc” for GXBB SoCs (S905) or
-   “amlogic,meson-gxl-gpio-intc” for GXL SoCs (S905X, S912)
+- compatible : must have "amlogic,meson8-gpio-intc" and either
+    "amlogic,meson8-gpio-intc" for meson8 SoCs (S802) or
+    "amlogic,meson8b-gpio-intc" for meson8b SoCs (S805) or
+    "amlogic,meson-gxbb-gpio-intc" for GXBB SoCs (S905) or
+    "amlogic,meson-gxl-gpio-intc" for GXL SoCs (S905X, S912)
 - interrupt-parent : a phandle to the GIC the interrupts are routed to.
    Usually this is provided at the root level of the device tree as it is
    common to most of the SoC.
-- 
2.16.2

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

* [PATCH 2/3] dt-bindings: interrupt-controller: New binding for Meson-AXG SoC
  2018-04-08 14:56 [PATCH 0/3] irqchip: meson-gpio: add support for Meson-AXG SoCs Yixun Lan
  2018-04-08 14:56 ` [PATCH 1/3] dt-bindings: interrupt-controller: fix the double quotes Yixun Lan
@ 2018-04-08 14:56 ` Yixun Lan
  2018-04-13 17:20   ` Rob Herring
  2018-04-08 14:57 ` [PATCH 3/3] irqchip/meson-gpio: add support for Meson-AXG SoCs Yixun Lan
  2018-05-16  2:50 ` [PATCH 0/3] irqchip: meson-gpio: " Yixun Lan
  3 siblings, 1 reply; 8+ messages in thread
From: Yixun Lan @ 2018-04-08 14:56 UTC (permalink / raw)
  To: Marc Zyngier, Jason Cooper, Thomas Gleixner, Kevin Hilman
  Cc: Yixun Lan, Carlo Caione, Jerome Brunet, Heiner Kallweit,
	Rob Herring, Xingyu Chen, linux-amlogic, linux-arm-kernel,
	linux-kernel, devicetree

Update the dt-binding documentation to support new compatible string
for the GPIO interrupt controller which found in Amlogic's Meson-AXG SoC.

Signed-off-by: Yixun Lan <yixun.lan@amlogic.com>
---
 .../devicetree/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 c753d99d43db..89674ad8a097 100644
--- a/Documentation/devicetree/bindings/interrupt-controller/amlogic,meson-gpio-intc.txt
+++ b/Documentation/devicetree/bindings/interrupt-controller/amlogic,meson-gpio-intc.txt
@@ -14,6 +14,7 @@ Required properties:
     "amlogic,meson8b-gpio-intc" for meson8b SoCs (S805) or
     "amlogic,meson-gxbb-gpio-intc" for GXBB SoCs (S905) or
     "amlogic,meson-gxl-gpio-intc" for GXL SoCs (S905X, S912)
+    "amlogic,meson-axg-gpio-intc" for AXG SoCs (A113D, A113X)
 - interrupt-parent : a phandle to the GIC the interrupts are routed to.
    Usually this is provided at the root level of the device tree as it is
    common to most of the SoC.
-- 
2.16.2

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

* [PATCH 3/3] irqchip/meson-gpio: add support for Meson-AXG SoCs
  2018-04-08 14:56 [PATCH 0/3] irqchip: meson-gpio: add support for Meson-AXG SoCs Yixun Lan
  2018-04-08 14:56 ` [PATCH 1/3] dt-bindings: interrupt-controller: fix the double quotes Yixun Lan
  2018-04-08 14:56 ` [PATCH 2/3] dt-bindings: interrupt-controller: New binding for Meson-AXG SoC Yixun Lan
@ 2018-04-08 14:57 ` Yixun Lan
  2018-05-16  2:50 ` [PATCH 0/3] irqchip: meson-gpio: " Yixun Lan
  3 siblings, 0 replies; 8+ messages in thread
From: Yixun Lan @ 2018-04-08 14:57 UTC (permalink / raw)
  To: Marc Zyngier, Jason Cooper, Thomas Gleixner, Kevin Hilman
  Cc: Yixun Lan, Carlo Caione, Jerome Brunet, Heiner Kallweit,
	Rob Herring, Xingyu Chen, linux-amlogic, linux-arm-kernel,
	linux-kernel

The Meson-AXG SoC uses the same GPIO interrupt controller IP block as the other
Meson SoCs. A total of 100 pins can be spied on, which is the sum of:
- 255:100 Undefined(no interrupt)
- 99:84, 16 pins on bank GPIOY
- 83:61, 23 pins on bank GPIOX
- 60:40, 21 pins on bank GPIOA
- 39:25, 15 pins on bank BOOT
- 24:14, 11 pins on bank GPIOZ
- 13:0 , 14 pins in the AO domain

Signed-off-by: Yixun Lan <yixun.lan@amlogic.com>
---
 drivers/irqchip/irq-meson-gpio.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/irqchip/irq-meson-gpio.c b/drivers/irqchip/irq-meson-gpio.c
index a59bdbc0b9bb..7b531fd075b8 100644
--- a/drivers/irqchip/irq-meson-gpio.c
+++ b/drivers/irqchip/irq-meson-gpio.c
@@ -63,11 +63,16 @@ static const struct meson_gpio_irq_params gxl_params = {
 	.nr_hwirq = 110,
 };
 
+static const struct meson_gpio_irq_params axg_params = {
+	.nr_hwirq = 100,
+};
+
 static const struct of_device_id meson_irq_gpio_matches[] = {
 	{ .compatible = "amlogic,meson8-gpio-intc", .data = &meson8_params },
 	{ .compatible = "amlogic,meson8b-gpio-intc", .data = &meson8b_params },
 	{ .compatible = "amlogic,meson-gxbb-gpio-intc", .data = &gxbb_params },
 	{ .compatible = "amlogic,meson-gxl-gpio-intc", .data = &gxl_params },
+	{ .compatible = "amlogic,meson-axg-gpio-intc", .data = &axg_params },
 	{ }
 };
 
-- 
2.16.2

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

* Re: [PATCH 1/3] dt-bindings: interrupt-controller: fix the double quotes
  2018-04-08 14:56 ` [PATCH 1/3] dt-bindings: interrupt-controller: fix the double quotes Yixun Lan
@ 2018-04-13 17:18   ` Rob Herring
  0 siblings, 0 replies; 8+ messages in thread
From: Rob Herring @ 2018-04-13 17:18 UTC (permalink / raw)
  To: Yixun Lan
  Cc: Marc Zyngier, Jason Cooper, Thomas Gleixner, Kevin Hilman,
	Carlo Caione, Jerome Brunet, Heiner Kallweit, Xingyu Chen,
	linux-amlogic, linux-arm-kernel, linux-kernel, devicetree

On Sun, Apr 08, 2018 at 02:56:58PM +0000, Yixun Lan wrote:
> The double quotes seems not ASCII type, fix it here.
> 
> Signed-off-by: Yixun Lan <yixun.lan@amlogic.com>
> ---
>  .../bindings/interrupt-controller/amlogic,meson-gpio-intc.txt  | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)

Reviewed-by: Rob Herring <robh@kernel.org>

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

* Re: [PATCH 2/3] dt-bindings: interrupt-controller: New binding for Meson-AXG SoC
  2018-04-08 14:56 ` [PATCH 2/3] dt-bindings: interrupt-controller: New binding for Meson-AXG SoC Yixun Lan
@ 2018-04-13 17:20   ` Rob Herring
  0 siblings, 0 replies; 8+ messages in thread
From: Rob Herring @ 2018-04-13 17:20 UTC (permalink / raw)
  To: Yixun Lan
  Cc: Marc Zyngier, Jason Cooper, Thomas Gleixner, Kevin Hilman,
	Carlo Caione, Jerome Brunet, Heiner Kallweit, Xingyu Chen,
	linux-amlogic, linux-arm-kernel, linux-kernel, devicetree

On Sun, Apr 08, 2018 at 02:56:59PM +0000, Yixun Lan wrote:
> Update the dt-binding documentation to support new compatible string
> for the GPIO interrupt controller which found in Amlogic's Meson-AXG SoC.
> 
> Signed-off-by: Yixun Lan <yixun.lan@amlogic.com>
> ---
>  .../devicetree/bindings/interrupt-controller/amlogic,meson-gpio-intc.txt | 1 +
>  1 file changed, 1 insertion(+)

Reviewed-by: Rob Herring <robh@kernel.org>

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

* Re: [PATCH 0/3] irqchip: meson-gpio: add support for Meson-AXG SoCs
  2018-04-08 14:56 [PATCH 0/3] irqchip: meson-gpio: add support for Meson-AXG SoCs Yixun Lan
                   ` (2 preceding siblings ...)
  2018-04-08 14:57 ` [PATCH 3/3] irqchip/meson-gpio: add support for Meson-AXG SoCs Yixun Lan
@ 2018-05-16  2:50 ` Yixun Lan
  2018-05-23 16:29   ` Marc Zyngier
  3 siblings, 1 reply; 8+ messages in thread
From: Yixun Lan @ 2018-05-16  2:50 UTC (permalink / raw)
  To: Marc Zyngier, Jason Cooper, Thomas Gleixner, Kevin Hilman
  Cc: yixun.lan, Carlo Caione, Jerome Brunet, Heiner Kallweit,
	Rob Herring, Xingyu Chen, linux-amlogic, linux-arm-kernel,
	linux-kernel, devicetree

Hi Marc (or anyone else)

On 04/08/18 22:56, Yixun Lan wrote:
>   This series try to add GPIO interrupt controller support for Meson-AXG SoCs.
>   The first patch is a trivial typo fix, I can fold the first two patches
> together if necessary.
> 
> Yixun Lan (3):
>   dt-bindings: interrupt-controller: fix the double quotes
>   dt-bindings: interrupt-controller: New binding for Meson-AXG SoC
>   irqchip/meson-gpio: add support for Meson-AXG SoCs
> 
>  .../bindings/interrupt-controller/amlogic,meson-gpio-intc.txt | 11 ++++++-----
>  drivers/irqchip/irq-meson-gpio.c                              |  5 +++++
>  2 files changed, 11 insertions(+), 5 deletions(-)
> 

please consider this merely a ping..
will you take this series, or is there anything holding this?

thanks

Yixun

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

* Re: [PATCH 0/3] irqchip: meson-gpio: add support for Meson-AXG SoCs
  2018-05-16  2:50 ` [PATCH 0/3] irqchip: meson-gpio: " Yixun Lan
@ 2018-05-23 16:29   ` Marc Zyngier
  0 siblings, 0 replies; 8+ messages in thread
From: Marc Zyngier @ 2018-05-23 16:29 UTC (permalink / raw)
  To: Yixun Lan, Jason Cooper, Thomas Gleixner, Kevin Hilman
  Cc: Carlo Caione, Jerome Brunet, Heiner Kallweit, Rob Herring,
	Xingyu Chen, linux-amlogic, linux-arm-kernel, linux-kernel,
	devicetree

On 16/05/18 03:50, Yixun Lan wrote:
> Hi Marc (or anyone else)
> 
> On 04/08/18 22:56, Yixun Lan wrote:
>>   This series try to add GPIO interrupt controller support for Meson-AXG SoCs.
>>   The first patch is a trivial typo fix, I can fold the first two patches
>> together if necessary.
>>
>> Yixun Lan (3):
>>   dt-bindings: interrupt-controller: fix the double quotes
>>   dt-bindings: interrupt-controller: New binding for Meson-AXG SoC
>>   irqchip/meson-gpio: add support for Meson-AXG SoCs
>>
>>  .../bindings/interrupt-controller/amlogic,meson-gpio-intc.txt | 11 ++++++-----
>>  drivers/irqchip/irq-meson-gpio.c                              |  5 +++++
>>  2 files changed, 11 insertions(+), 5 deletions(-)
>>
> 
> please consider this merely a ping..
> will you take this series, or is there anything holding this?

Sure, I'll queue that for 4.18.

Thanks,

	M.
-- 
Jazz is not dead. It just smells funny...

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

end of thread, other threads:[~2018-05-23 16:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-08 14:56 [PATCH 0/3] irqchip: meson-gpio: add support for Meson-AXG SoCs Yixun Lan
2018-04-08 14:56 ` [PATCH 1/3] dt-bindings: interrupt-controller: fix the double quotes Yixun Lan
2018-04-13 17:18   ` Rob Herring
2018-04-08 14:56 ` [PATCH 2/3] dt-bindings: interrupt-controller: New binding for Meson-AXG SoC Yixun Lan
2018-04-13 17:20   ` Rob Herring
2018-04-08 14:57 ` [PATCH 3/3] irqchip/meson-gpio: add support for Meson-AXG SoCs Yixun Lan
2018-05-16  2:50 ` [PATCH 0/3] irqchip: meson-gpio: " Yixun Lan
2018-05-23 16:29   ` Marc Zyngier

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