Re: [PATCH v3 6/9] pinctrl: Add IRQ support to STM32 gpios

2016-09-08 Thread Alexandre Torgue
Hi Thomas, On 09/02/2016 09:10 PM, Thomas Gleixner wrote: > On Fri, 2 Sep 2016, Alexandre TORGUE wrote: >> +static int stm32_gpio_domain_translate(struct irq_domain *d, >> + struct irq_fwspec *fwspec, >> + unsigned long *hwirq,

Re: [PATCH v3 6/9] pinctrl: Add IRQ support to STM32 gpios

2016-09-08 Thread Alexandre Torgue
Hi Thomas, On 09/02/2016 09:10 PM, Thomas Gleixner wrote: > On Fri, 2 Sep 2016, Alexandre TORGUE wrote: >> +static int stm32_gpio_domain_translate(struct irq_domain *d, >> + struct irq_fwspec *fwspec, >> + unsigned long *hwirq,

Re: [PATCH v3 6/9] pinctrl: Add IRQ support to STM32 gpios

2016-09-05 Thread Alexandre Torgue
Hi Thomas, On 09/02/2016 09:10 PM, Thomas Gleixner wrote: On Fri, 2 Sep 2016, Alexandre TORGUE wrote: +static int stm32_gpio_domain_translate(struct irq_domain *d, + struct irq_fwspec *fwspec, + unsigned long *hwirq, +

Re: [PATCH v3 6/9] pinctrl: Add IRQ support to STM32 gpios

2016-09-05 Thread Alexandre Torgue
Hi Thomas, On 09/02/2016 09:10 PM, Thomas Gleixner wrote: On Fri, 2 Sep 2016, Alexandre TORGUE wrote: +static int stm32_gpio_domain_translate(struct irq_domain *d, + struct irq_fwspec *fwspec, + unsigned long *hwirq, +

Re: [PATCH v3 6/9] pinctrl: Add IRQ support to STM32 gpios

2016-09-02 Thread Thomas Gleixner
On Fri, 2 Sep 2016, Alexandre TORGUE wrote: > +static int stm32_gpio_domain_translate(struct irq_domain *d, > +struct irq_fwspec *fwspec, > +unsigned long *hwirq, > +unsigned int *type) > +{

Re: [PATCH v3 6/9] pinctrl: Add IRQ support to STM32 gpios

2016-09-02 Thread Thomas Gleixner
On Fri, 2 Sep 2016, Alexandre TORGUE wrote: > +static int stm32_gpio_domain_translate(struct irq_domain *d, > +struct irq_fwspec *fwspec, > +unsigned long *hwirq, > +unsigned int *type) > +{

[PATCH v3 6/9] pinctrl: Add IRQ support to STM32 gpios

2016-09-02 Thread Alexandre TORGUE
This patch adds IRQ support to STM32 gpios. The EXTI controller has 16 lines dedicated to GPIOs. EXTI line n can be connected to only line n of one of the GPIO ports, for example EXTI0 can be connected to either PA0, or PB0, or PC0... This port selection is done by specifying the port number into

[PATCH v3 6/9] pinctrl: Add IRQ support to STM32 gpios

2016-09-02 Thread Alexandre TORGUE
This patch adds IRQ support to STM32 gpios. The EXTI controller has 16 lines dedicated to GPIOs. EXTI line n can be connected to only line n of one of the GPIO ports, for example EXTI0 can be connected to either PA0, or PB0, or PC0... This port selection is done by specifying the port number into