devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] irq: versatile-fpga: add OX820 compatible
@ 2016-09-09 13:29 Neil Armstrong
  2016-09-19 21:22 ` Rob Herring
  0 siblings, 1 reply; 2+ messages in thread
From: Neil Armstrong @ 2016-09-09 13:29 UTC (permalink / raw)
  To: Thomas Gleixner, Jason Cooper, Marc Zyngier
  Cc: Neil Armstrong, linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA

In order to support the interrupt controler in the Oxford Semiconductor
OX820 SoC, add a new comatible string.

Signed-off-by: Neil Armstrong <narmstrong-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
---
 .../bindings/interrupt-controller/arm,versatile-fpga-irq.txt           | 3 ++-
 drivers/irqchip/irq-versatile-fpga.c                                   | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/interrupt-controller/arm,versatile-fpga-irq.txt b/Documentation/devicetree/bindings/interrupt-controller/arm,versatile-fpga-irq.txt
index 2a1d16b..8bd124c2 100644
--- a/Documentation/devicetree/bindings/interrupt-controller/arm,versatile-fpga-irq.txt
+++ b/Documentation/devicetree/bindings/interrupt-controller/arm,versatile-fpga-irq.txt
@@ -6,7 +6,8 @@ controllers are OR:ed together and fed to the CPU tile's IRQ input. Each
 instance can handle up to 32 interrupts.
 
 Required properties:
-- compatible: "arm,versatile-fpga-irq" or "oxsemi,ox810se-rps-irq"
+- compatible: "arm,versatile-fpga-irq", "oxsemi,ox810se-rps-irq" or
+		"oxsemi,ox820-rps-irq"
 - interrupt-controller: Identifies the node as an interrupt controller
 - #interrupt-cells: The number of cells to define the interrupts.  Must be 1
   as the FPGA IRQ controller has no configuration options for interrupt
diff --git a/drivers/irqchip/irq-versatile-fpga.c b/drivers/irqchip/irq-versatile-fpga.c
index 37dd464..da0e6d6 100644
--- a/drivers/irqchip/irq-versatile-fpga.c
+++ b/drivers/irqchip/irq-versatile-fpga.c
@@ -228,4 +228,5 @@ int __init fpga_irq_of_init(struct device_node *node,
 IRQCHIP_DECLARE(arm_fpga, "arm,versatile-fpga-irq", fpga_irq_of_init);
 IRQCHIP_DECLARE(arm_fpga_sic, "arm,versatile-sic", fpga_irq_of_init);
 IRQCHIP_DECLARE(ox810se_rps, "oxsemi,ox810se-rps-irq", fpga_irq_of_init);
+IRQCHIP_DECLARE(ox820_rps, "oxsemi,ox820-rps-irq", fpga_irq_of_init);
 #endif
-- 
2.7.0

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH] irq: versatile-fpga: add OX820 compatible
  2016-09-09 13:29 [PATCH] irq: versatile-fpga: add OX820 compatible Neil Armstrong
@ 2016-09-19 21:22 ` Rob Herring
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2016-09-19 21:22 UTC (permalink / raw)
  To: Neil Armstrong
  Cc: Thomas Gleixner, Jason Cooper, Marc Zyngier, linux-kernel,
	devicetree

On Fri, Sep 09, 2016 at 03:29:53PM +0200, Neil Armstrong wrote:
> In order to support the interrupt controler in the Oxford Semiconductor
> OX820 SoC, add a new comatible string.
> 
> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
> ---
>  .../bindings/interrupt-controller/arm,versatile-fpga-irq.txt           | 3 ++-
>  drivers/irqchip/irq-versatile-fpga.c                                   | 1 +
>  2 files changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/interrupt-controller/arm,versatile-fpga-irq.txt b/Documentation/devicetree/bindings/interrupt-controller/arm,versatile-fpga-irq.txt
> index 2a1d16b..8bd124c2 100644
> --- a/Documentation/devicetree/bindings/interrupt-controller/arm,versatile-fpga-irq.txt
> +++ b/Documentation/devicetree/bindings/interrupt-controller/arm,versatile-fpga-irq.txt
> @@ -6,7 +6,8 @@ controllers are OR:ed together and fed to the CPU tile's IRQ input. Each
>  instance can handle up to 32 interrupts.
>  
>  Required properties:
> -- compatible: "arm,versatile-fpga-irq" or "oxsemi,ox810se-rps-irq"
> +- compatible: "arm,versatile-fpga-irq", "oxsemi,ox810se-rps-irq" or
> +		"oxsemi,ox820-rps-irq"

Same comment here.

>  - interrupt-controller: Identifies the node as an interrupt controller
>  - #interrupt-cells: The number of cells to define the interrupts.  Must be 1
>    as the FPGA IRQ controller has no configuration options for interrupt
> diff --git a/drivers/irqchip/irq-versatile-fpga.c b/drivers/irqchip/irq-versatile-fpga.c
> index 37dd464..da0e6d6 100644
> --- a/drivers/irqchip/irq-versatile-fpga.c
> +++ b/drivers/irqchip/irq-versatile-fpga.c
> @@ -228,4 +228,5 @@ int __init fpga_irq_of_init(struct device_node *node,
>  IRQCHIP_DECLARE(arm_fpga, "arm,versatile-fpga-irq", fpga_irq_of_init);
>  IRQCHIP_DECLARE(arm_fpga_sic, "arm,versatile-sic", fpga_irq_of_init);
>  IRQCHIP_DECLARE(ox810se_rps, "oxsemi,ox810se-rps-irq", fpga_irq_of_init);
> +IRQCHIP_DECLARE(ox820_rps, "oxsemi,ox820-rps-irq", fpga_irq_of_init);
>  #endif
> -- 
> 2.7.0
> 
> --
> To unsubscribe from this list: send the line "unsubscribe devicetree" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2016-09-19 21:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-09 13:29 [PATCH] irq: versatile-fpga: add OX820 compatible Neil Armstrong
2016-09-19 21:22 ` Rob Herring

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