Re: [PATCH v3 6/9] irqchip: Add the ingenic-tcu-intc driver

2018-01-22 Thread Lee Jones
On Mon, 22 Jan 2018, Marc Zyngier wrote: > On 22/01/18 09:26, Lee Jones wrote: > > On Sat, 20 Jan 2018, Marc Zyngier wrote: > > > >> On Thu, 11 Jan 2018 17:25:45 +0100 > >> Paul Cercueil wrote: > >> > >>> Hi Marc, > >>> > > +static int __init

Re: [PATCH v3 6/9] irqchip: Add the ingenic-tcu-intc driver

2018-01-22 Thread Lee Jones
On Mon, 22 Jan 2018, Marc Zyngier wrote: > On 22/01/18 09:26, Lee Jones wrote: > > On Sat, 20 Jan 2018, Marc Zyngier wrote: > > > >> On Thu, 11 Jan 2018 17:25:45 +0100 > >> Paul Cercueil wrote: > >> > >>> Hi Marc, > >>> > > +static int __init ingenic_tcu_intc_of_init(struct device_node >

Re: [PATCH v3 6/9] irqchip: Add the ingenic-tcu-intc driver

2018-01-22 Thread Marc Zyngier
On 22/01/18 09:26, Lee Jones wrote: > On Sat, 20 Jan 2018, Marc Zyngier wrote: > >> On Thu, 11 Jan 2018 17:25:45 +0100 >> Paul Cercueil wrote: >> >>> Hi Marc, >>> > +static int __init ingenic_tcu_intc_of_init(struct device_node > *node, > +struct

Re: [PATCH v3 6/9] irqchip: Add the ingenic-tcu-intc driver

2018-01-22 Thread Marc Zyngier
On 22/01/18 09:26, Lee Jones wrote: > On Sat, 20 Jan 2018, Marc Zyngier wrote: > >> On Thu, 11 Jan 2018 17:25:45 +0100 >> Paul Cercueil wrote: >> >>> Hi Marc, >>> > +static int __init ingenic_tcu_intc_of_init(struct device_node > *node, > +struct device_node *parent) >

Re: [PATCH v3 6/9] irqchip: Add the ingenic-tcu-intc driver

2018-01-22 Thread Lee Jones
On Sat, 20 Jan 2018, Marc Zyngier wrote: > On Thu, 11 Jan 2018 17:25:45 +0100 > Paul Cercueil wrote: > > > Hi Marc, > > > > >> +static int __init ingenic_tcu_intc_of_init(struct device_node > > >> *node, > > >> + struct device_node *parent) > > >> +{ > > >> +

Re: [PATCH v3 6/9] irqchip: Add the ingenic-tcu-intc driver

2018-01-22 Thread Lee Jones
On Sat, 20 Jan 2018, Marc Zyngier wrote: > On Thu, 11 Jan 2018 17:25:45 +0100 > Paul Cercueil wrote: > > > Hi Marc, > > > > >> +static int __init ingenic_tcu_intc_of_init(struct device_node > > >> *node, > > >> + struct device_node *parent) > > >> +{ > > >> + struct irq_domain

Re: [PATCH v3 6/9] irqchip: Add the ingenic-tcu-intc driver

2018-01-20 Thread Marc Zyngier
On Thu, 11 Jan 2018 17:25:45 +0100 Paul Cercueil wrote: > Hi Marc, > > >> +static int __init ingenic_tcu_intc_of_init(struct device_node > >> *node, > >> + struct device_node *parent) > >> +{ > >> + struct irq_domain *domain; > >> + struct irq_chip_generic *gc; > >>

Re: [PATCH v3 6/9] irqchip: Add the ingenic-tcu-intc driver

2018-01-20 Thread Marc Zyngier
On Thu, 11 Jan 2018 17:25:45 +0100 Paul Cercueil wrote: > Hi Marc, > > >> +static int __init ingenic_tcu_intc_of_init(struct device_node > >> *node, > >> + struct device_node *parent) > >> +{ > >> + struct irq_domain *domain; > >> + struct irq_chip_generic *gc; > >> + struct

Re: [PATCH v3 6/9] irqchip: Add the ingenic-tcu-intc driver

2018-01-11 Thread Paul Cercueil
Hi Marc, +static int __init ingenic_tcu_intc_of_init(struct device_node *node, + struct device_node *parent) +{ + struct irq_domain *domain; + struct irq_chip_generic *gc; + struct irq_chip_type *ct; + int err, i, num_parent_irqs; + unsigned int

Re: [PATCH v3 6/9] irqchip: Add the ingenic-tcu-intc driver

2018-01-11 Thread Paul Cercueil
Hi Marc, +static int __init ingenic_tcu_intc_of_init(struct device_node *node, + struct device_node *parent) +{ + struct irq_domain *domain; + struct irq_chip_generic *gc; + struct irq_chip_type *ct; + int err, i, num_parent_irqs; + unsigned int

Re: [PATCH v3 6/9] irqchip: Add the ingenic-tcu-intc driver

2018-01-11 Thread Marc Zyngier
On 10/01/18 22:48, Paul Cercueil wrote: > This simple driver handles the IRQ chip of the TCU > (Timer Counter Unit) of the JZ47xx Ingenic SoCs. > > Signed-off-by: Paul Cercueil > --- > drivers/irqchip/Kconfig | 6 ++ > drivers/irqchip/Makefile | 1 +

Re: [PATCH v3 6/9] irqchip: Add the ingenic-tcu-intc driver

2018-01-11 Thread Marc Zyngier
On 10/01/18 22:48, Paul Cercueil wrote: > This simple driver handles the IRQ chip of the TCU > (Timer Counter Unit) of the JZ47xx Ingenic SoCs. > > Signed-off-by: Paul Cercueil > --- > drivers/irqchip/Kconfig | 6 ++ > drivers/irqchip/Makefile | 1 + >

[PATCH v3 6/9] irqchip: Add the ingenic-tcu-intc driver

2018-01-10 Thread Paul Cercueil
This simple driver handles the IRQ chip of the TCU (Timer Counter Unit) of the JZ47xx Ingenic SoCs. Signed-off-by: Paul Cercueil --- drivers/irqchip/Kconfig | 6 ++ drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-ingenic-tcu.c | 153

[PATCH v3 6/9] irqchip: Add the ingenic-tcu-intc driver

2018-01-10 Thread Paul Cercueil
This simple driver handles the IRQ chip of the TCU (Timer Counter Unit) of the JZ47xx Ingenic SoCs. Signed-off-by: Paul Cercueil --- drivers/irqchip/Kconfig | 6 ++ drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-ingenic-tcu.c | 153