Re: [PATCH v2] irqchip: uniphier-aidet: add UniPhier AIDET irqchip driver

2017-08-22 Thread Masahiro Yamada
Hi Marc, 2017-08-22 17:20 GMT+09:00 Marc Zyngier : > On 22/08/17 03:03, Masahiro Yamada wrote: >> Hi Mark, >> >> >> 2017-08-21 19:25 GMT+09:00 Marc Zyngier : >> +static struct irq_chip uniphier_aidet_irq_chip = { + .name = "AIDET", +

Re: [PATCH v2] irqchip: uniphier-aidet: add UniPhier AIDET irqchip driver

2017-08-22 Thread Masahiro Yamada
Hi Marc, 2017-08-22 17:20 GMT+09:00 Marc Zyngier : > On 22/08/17 03:03, Masahiro Yamada wrote: >> Hi Mark, >> >> >> 2017-08-21 19:25 GMT+09:00 Marc Zyngier : >> +static struct irq_chip uniphier_aidet_irq_chip = { + .name = "AIDET", + .irq_mask = irq_chip_mask_parent, +

Re: [PATCH v2] irqchip: uniphier-aidet: add UniPhier AIDET irqchip driver

2017-08-22 Thread Rob Herring
On Mon, Aug 21, 2017 at 07:01:03PM +0900, Masahiro Yamada wrote: > UniPhier SoCs contain AIDET (ARM Interrupt Detector). This is intended > to provide additional features that are not covered by GIC. The main > purpose is to provide logic inverter to support low level and falling > edge trigger

Re: [PATCH v2] irqchip: uniphier-aidet: add UniPhier AIDET irqchip driver

2017-08-22 Thread Rob Herring
On Mon, Aug 21, 2017 at 07:01:03PM +0900, Masahiro Yamada wrote: > UniPhier SoCs contain AIDET (ARM Interrupt Detector). This is intended > to provide additional features that are not covered by GIC. The main > purpose is to provide logic inverter to support low level and falling > edge trigger

Re: [PATCH v2] irqchip: uniphier-aidet: add UniPhier AIDET irqchip driver

2017-08-22 Thread Marc Zyngier
On 22/08/17 03:03, Masahiro Yamada wrote: > Hi Mark, > > > 2017-08-21 19:25 GMT+09:00 Marc Zyngier : > >>> +static struct irq_chip uniphier_aidet_irq_chip = { >>> + .name = "AIDET", >>> + .irq_mask = irq_chip_mask_parent, >>> + .irq_unmask =

Re: [PATCH v2] irqchip: uniphier-aidet: add UniPhier AIDET irqchip driver

2017-08-22 Thread Marc Zyngier
On 22/08/17 03:03, Masahiro Yamada wrote: > Hi Mark, > > > 2017-08-21 19:25 GMT+09:00 Marc Zyngier : > >>> +static struct irq_chip uniphier_aidet_irq_chip = { >>> + .name = "AIDET", >>> + .irq_mask = irq_chip_mask_parent, >>> + .irq_unmask = irq_chip_unmask_parent, >>> +

Re: [PATCH v2] irqchip: uniphier-aidet: add UniPhier AIDET irqchip driver

2017-08-21 Thread Masahiro Yamada
Hi Mark, 2017-08-21 19:25 GMT+09:00 Marc Zyngier : >> +static struct irq_chip uniphier_aidet_irq_chip = { >> + .name = "AIDET", >> + .irq_mask = irq_chip_mask_parent, >> + .irq_unmask = irq_chip_unmask_parent, >> + .irq_eoi = irq_chip_eoi_parent, >> +

Re: [PATCH v2] irqchip: uniphier-aidet: add UniPhier AIDET irqchip driver

2017-08-21 Thread Masahiro Yamada
Hi Mark, 2017-08-21 19:25 GMT+09:00 Marc Zyngier : >> +static struct irq_chip uniphier_aidet_irq_chip = { >> + .name = "AIDET", >> + .irq_mask = irq_chip_mask_parent, >> + .irq_unmask = irq_chip_unmask_parent, >> + .irq_eoi = irq_chip_eoi_parent, >> + .irq_set_type =

Re: [PATCH v2] irqchip: uniphier-aidet: add UniPhier AIDET irqchip driver

2017-08-21 Thread Marc Zyngier
On 21/08/17 11:54, Masahiro Yamada wrote: >>> + /* parent is GIC */ >>> + parent_fwspec.fwnode = domain->parent->fwnode; >>> + parent_fwspec.param_count = 3; >>> + parent_fwspec.param[0] = 0; /* SPI */ >>> + parent_fwspec.param[1] = hwirq; >>> +

Re: [PATCH v2] irqchip: uniphier-aidet: add UniPhier AIDET irqchip driver

2017-08-21 Thread Marc Zyngier
On 21/08/17 11:54, Masahiro Yamada wrote: >>> + /* parent is GIC */ >>> + parent_fwspec.fwnode = domain->parent->fwnode; >>> + parent_fwspec.param_count = 3; >>> + parent_fwspec.param[0] = 0; /* SPI */ >>> + parent_fwspec.param[1] = hwirq; >>> +

Re: [PATCH v2] irqchip: uniphier-aidet: add UniPhier AIDET irqchip driver

2017-08-21 Thread Masahiro Yamada
Hi Mark, 2017-08-21 19:25 GMT+09:00 Marc Zyngier : > On 21/08/17 11:01, Masahiro Yamada wrote: >> +static struct irq_chip uniphier_aidet_irq_chip = { >> + .name = "AIDET", >> + .irq_mask = irq_chip_mask_parent, >> + .irq_unmask = irq_chip_unmask_parent, >> +

Re: [PATCH v2] irqchip: uniphier-aidet: add UniPhier AIDET irqchip driver

2017-08-21 Thread Masahiro Yamada
Hi Mark, 2017-08-21 19:25 GMT+09:00 Marc Zyngier : > On 21/08/17 11:01, Masahiro Yamada wrote: >> +static struct irq_chip uniphier_aidet_irq_chip = { >> + .name = "AIDET", >> + .irq_mask = irq_chip_mask_parent, >> + .irq_unmask = irq_chip_unmask_parent, >> + .irq_eoi =

Re: [PATCH v2] irqchip: uniphier-aidet: add UniPhier AIDET irqchip driver

2017-08-21 Thread Marc Zyngier
On 21/08/17 11:01, Masahiro Yamada wrote: > UniPhier SoCs contain AIDET (ARM Interrupt Detector). This is intended > to provide additional features that are not covered by GIC. The main > purpose is to provide logic inverter to support low level and falling > edge trigger type for interrupt

Re: [PATCH v2] irqchip: uniphier-aidet: add UniPhier AIDET irqchip driver

2017-08-21 Thread Marc Zyngier
On 21/08/17 11:01, Masahiro Yamada wrote: > UniPhier SoCs contain AIDET (ARM Interrupt Detector). This is intended > to provide additional features that are not covered by GIC. The main > purpose is to provide logic inverter to support low level and falling > edge trigger type for interrupt

[PATCH v2] irqchip: uniphier-aidet: add UniPhier AIDET irqchip driver

2017-08-21 Thread Masahiro Yamada
UniPhier SoCs contain AIDET (ARM Interrupt Detector). This is intended to provide additional features that are not covered by GIC. The main purpose is to provide logic inverter to support low level and falling edge trigger type for interrupt lines from on-board devices. Signed-off-by: Masahiro

[PATCH v2] irqchip: uniphier-aidet: add UniPhier AIDET irqchip driver

2017-08-21 Thread Masahiro Yamada
UniPhier SoCs contain AIDET (ARM Interrupt Detector). This is intended to provide additional features that are not covered by GIC. The main purpose is to provide logic inverter to support low level and falling edge trigger type for interrupt lines from on-board devices. Signed-off-by: Masahiro