Re: [PATCH] pinctrl: stm32: add lock mechanism for irqmux selection

2019-05-24 Thread Linus Walleij
On Fri, May 24, 2019 at 2:27 PM Alexandre Torgue wrote: > On 5/24/19 1:26 PM, Linus Walleij wrote: > > Patch applied, can't say I fully understand it but you know what > > you're doing! > > Thanks :). Do you need a better explanation ? What I need to understand for hierarchical interrupt control

Re: [PATCH] pinctrl: stm32: add lock mechanism for irqmux selection

2019-05-24 Thread Alexandre Torgue
On 5/24/19 1:26 PM, Linus Walleij wrote: On Fri, May 10, 2019 at 9:43 AM Alexandre Torgue wrote: GPIOs are split between several banks (A, B, ...) and each bank can have up to 16 lines. Those GPIOs could be used as interrupt lines thanks to exti lines. As there are only 16 exti lines, a mux

Re: [PATCH] pinctrl: stm32: add lock mechanism for irqmux selection

2019-05-24 Thread Linus Walleij
On Fri, May 10, 2019 at 9:43 AM Alexandre Torgue wrote: > GPIOs are split between several banks (A, B, ...) and each bank can have > up to 16 lines. Those GPIOs could be used as interrupt lines thanks to > exti lines. As there are only 16 exti lines, a mux is used to select which > gpio line is c

[PATCH] pinctrl: stm32: add lock mechanism for irqmux selection

2019-05-10 Thread Alexandre Torgue
GPIOs are split between several banks (A, B, ...) and each bank can have up to 16 lines. Those GPIOs could be used as interrupt lines thanks to exti lines. As there are only 16 exti lines, a mux is used to select which gpio line is connected to which exti line. Mapping is done as follow: -A0, B0,