Re: [PATCH v3 4/6] pinctrl: meson: Enable GPIO IRQs

2015-12-02 Thread Marc Zyngier
On 01/12/15 19:41, Carlo Caione wrote: > On Tue, Dec 1, 2015 at 8:16 PM, Marc Zyngier wrote: >> On 01/12/15 16:24, Carlo Caione wrote: >>> From: Carlo Caione > >>> +static int meson_irq_domain_alloc(struct irq_domain *domain, unsigned int >>> irq, >>>

Re: [PATCH v3 4/6] pinctrl: meson: Enable GPIO IRQs

2015-12-01 Thread Marc Zyngier
On 01/12/15 16:24, Carlo Caione wrote: > From: Carlo Caione > > On Meson8 and Meson8b SoCs there are 8 independent filtered GPIO > interrupt modules that can be programmed to use any of the GPIOs in the > chip as an interrupt source. > > For each GPIO IRQ we have: > > GPIOs

Re: [PATCH v3 4/6] pinctrl: meson: Enable GPIO IRQs

2015-12-01 Thread Carlo Caione
On Tue, Dec 1, 2015 at 8:16 PM, Marc Zyngier wrote: > On 01/12/15 16:24, Carlo Caione wrote: >> From: Carlo Caione >> +static int meson_irq_domain_alloc(struct irq_domain *domain, unsigned int >> irq, >> + unsigned int

[PATCH v3 4/6] pinctrl: meson: Enable GPIO IRQs

2015-12-01 Thread Carlo Caione
From: Carlo Caione On Meson8 and Meson8b SoCs there are 8 independent filtered GPIO interrupt modules that can be programmed to use any of the GPIOs in the chip as an interrupt source. For each GPIO IRQ we have: GPIOs --> [mux]--> [polarity]--> [filter]--> [edge select]-->