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

2016-09-12 Thread Alexandre Torgue
Hi Linus, On 09/12/2016 02:58 PM, Linus Walleij wrote: On Thu, Sep 8, 2016 at 5:47 PM, Alexandre Torgue wrote: Just one question, when you say "super-complex irqchip in use", do you mean I could use another (simplest) solution to handle this EXTI controller? I

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

2016-09-12 Thread Alexandre Torgue
Hi Linus, On 09/12/2016 02:58 PM, Linus Walleij wrote: On Thu, Sep 8, 2016 at 5:47 PM, Alexandre Torgue wrote: Just one question, when you say "super-complex irqchip in use", do you mean I could use another (simplest) solution to handle this EXTI controller? I don't know, GPIOLIB_IRQCHIP

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

2016-09-12 Thread Linus Walleij
On Thu, Sep 8, 2016 at 5:47 PM, Alexandre Torgue wrote: > Just one question, when you say "super-complex irqchip in use", do you mean > I could use another (simplest) solution to handle this EXTI controller? I don't know, GPIOLIB_IRQCHIP is to be used for some specific

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

2016-09-12 Thread Linus Walleij
On Thu, Sep 8, 2016 at 5:47 PM, Alexandre Torgue wrote: > Just one question, when you say "super-complex irqchip in use", do you mean > I could use another (simplest) solution to handle this EXTI controller? I don't know, GPIOLIB_IRQCHIP is to be used for some specific cases documented in

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

2016-09-08 Thread Alexandre Torgue
Hi Linus, On 09/07/2016 11:06 PM, Linus Walleij wrote: On Tue, Sep 6, 2016 at 6:45 PM, Alexandre TORGUE wrote: 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

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

2016-09-08 Thread Alexandre Torgue
Hi Linus, On 09/07/2016 11:06 PM, Linus Walleij wrote: On Tue, Sep 6, 2016 at 6:45 PM, Alexandre TORGUE wrote: 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

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

2016-09-07 Thread Linus Walleij
On Tue, Sep 6, 2016 at 6:45 PM, Alexandre TORGUE wrote: > 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

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

2016-09-07 Thread Linus Walleij
On Tue, Sep 6, 2016 at 6:45 PM, Alexandre TORGUE wrote: > 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

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

2016-09-06 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 v4 6/9] pinctrl: Add IRQ support to STM32 gpios

2016-09-06 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