* [PATCH] irqchip: ingenic: Add support for the JZ4725B SoC
@ 2018-07-13 14:49 Paul Cercueil
2018-07-20 15:31 ` Rob Herring
0 siblings, 1 reply; 2+ messages in thread
From: Paul Cercueil @ 2018-07-13 14:49 UTC (permalink / raw)
To: Thomas Gleixner, Jason Cooper, Marc Zyngier, Rob Herring, Mark Rutland
Cc: linux-kernel, devicetree, Paul Cercueil
The interrupt controller of the JZ4725B works the same way as the other
JZ SoCs from Ingenic; so we just add a new compatible string.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
---
Documentation/devicetree/bindings/interrupt-controller/ingenic,intc.txt | 1 +
drivers/irqchip/irq-ingenic.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/interrupt-controller/ingenic,intc.txt b/Documentation/devicetree/bindings/interrupt-controller/ingenic,intc.txt
index 5f89fb635a1b..f97fd8ab5e45 100644
--- a/Documentation/devicetree/bindings/interrupt-controller/ingenic,intc.txt
+++ b/Documentation/devicetree/bindings/interrupt-controller/ingenic,intc.txt
@@ -4,6 +4,7 @@ Required properties:
- compatible : should be "ingenic,<socname>-intc". Valid strings are:
ingenic,jz4740-intc
+ ingenic,jz4725b-intc
ingenic,jz4770-intc
ingenic,jz4775-intc
ingenic,jz4780-intc
diff --git a/drivers/irqchip/irq-ingenic.c b/drivers/irqchip/irq-ingenic.c
index fc5953dea509..2ff08986b536 100644
--- a/drivers/irqchip/irq-ingenic.c
+++ b/drivers/irqchip/irq-ingenic.c
@@ -165,6 +165,7 @@ static int __init intc_1chip_of_init(struct device_node *node,
return ingenic_intc_of_init(node, 1);
}
IRQCHIP_DECLARE(jz4740_intc, "ingenic,jz4740-intc", intc_1chip_of_init);
+IRQCHIP_DECLARE(jz4725b_intc, "ingenic,jz4725b-intc", intc_1chip_of_init);
static int __init intc_2chip_of_init(struct device_node *node,
struct device_node *parent)
--
2.11.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] irqchip: ingenic: Add support for the JZ4725B SoC
2018-07-13 14:49 [PATCH] irqchip: ingenic: Add support for the JZ4725B SoC Paul Cercueil
@ 2018-07-20 15:31 ` Rob Herring
0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2018-07-20 15:31 UTC (permalink / raw)
To: Paul Cercueil
Cc: Thomas Gleixner, Jason Cooper, Marc Zyngier, Mark Rutland,
linux-kernel, devicetree
On Fri, Jul 13, 2018 at 04:49:09PM +0200, Paul Cercueil wrote:
> The interrupt controller of the JZ4725B works the same way as the other
> JZ SoCs from Ingenic; so we just add a new compatible string.
This one too should have a fallback compatible and then the driver
change isn't needed.
>
> Signed-off-by: Paul Cercueil <paul@crapouillou.net>
> ---
> Documentation/devicetree/bindings/interrupt-controller/ingenic,intc.txt | 1 +
> drivers/irqchip/irq-ingenic.c | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/interrupt-controller/ingenic,intc.txt b/Documentation/devicetree/bindings/interrupt-controller/ingenic,intc.txt
> index 5f89fb635a1b..f97fd8ab5e45 100644
> --- a/Documentation/devicetree/bindings/interrupt-controller/ingenic,intc.txt
> +++ b/Documentation/devicetree/bindings/interrupt-controller/ingenic,intc.txt
> @@ -4,6 +4,7 @@ Required properties:
>
> - compatible : should be "ingenic,<socname>-intc". Valid strings are:
> ingenic,jz4740-intc
> + ingenic,jz4725b-intc
> ingenic,jz4770-intc
> ingenic,jz4775-intc
> ingenic,jz4780-intc
> diff --git a/drivers/irqchip/irq-ingenic.c b/drivers/irqchip/irq-ingenic.c
> index fc5953dea509..2ff08986b536 100644
> --- a/drivers/irqchip/irq-ingenic.c
> +++ b/drivers/irqchip/irq-ingenic.c
> @@ -165,6 +165,7 @@ static int __init intc_1chip_of_init(struct device_node *node,
> return ingenic_intc_of_init(node, 1);
> }
> IRQCHIP_DECLARE(jz4740_intc, "ingenic,jz4740-intc", intc_1chip_of_init);
> +IRQCHIP_DECLARE(jz4725b_intc, "ingenic,jz4725b-intc", intc_1chip_of_init);
>
> static int __init intc_2chip_of_init(struct device_node *node,
> struct device_node *parent)
> --
> 2.11.0
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-07-20 15:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-13 14:49 [PATCH] irqchip: ingenic: Add support for the JZ4725B SoC Paul Cercueil
2018-07-20 15:31 ` 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).