Re: [PATCH v3] gpio: pl061: Support implementations without GPIOINTR line

2021-03-22 Thread Linus Walleij
On Mon, Mar 22, 2021 at 9:50 AM Alexander Sverdlin wrote: > On 20/03/2021 12:10, Linus Walleij wrote: > >>> I'm wondering if the GPIO library support for IRQ hierarchy is what > >>> you are looking for. > > It is indeed what should be used. > > and what has been used in my patch? Yes you're

Re: [PATCH v3] gpio: pl061: Support implementations without GPIOINTR line

2021-03-22 Thread Alexander Sverdlin
Hello Linus, Andy, On 20/03/2021 12:10, Linus Walleij wrote: >>> I'm wondering if the GPIO library support for IRQ hierarchy is what >>> you are looking for. > It is indeed what should be used. and what has been used in my patch? >> do you have a better suggestion? That's why I reference the

Re: [PATCH v3] gpio: pl061: Support implementations without GPIOINTR line

2021-03-20 Thread Linus Walleij
On Fri, Mar 19, 2021 at 4:32 PM Alexander Sverdlin wrote: > [Andy] > > I'm wondering if the GPIO library support for IRQ hierarchy is what > > you are looking for. It is indeed what should be used. > do you have a better suggestion? That's why I reference the below discussion > from 2017,

Re: [PATCH v3] gpio: pl061: Support implementations without GPIOINTR line

2021-03-19 Thread Alexander Sverdlin
Hello Andy, >> From: Alexander Sverdlin >> >> There are several implementations of PL061 which lack GPIOINTR signal in >> hardware and only have individual GPIOMIS[7:0] interrupts. Use the >> hierarchical interrupt support of the gpiolib in these cases (if at least 8 >> IRQs are configured for

Re: [PATCH v3] gpio: pl061: Support implementations without GPIOINTR line

2021-03-19 Thread Andy Shevchenko
On Fri, Mar 19, 2021 at 3:12 PM Alexander A Sverdlin wrote: > > From: Alexander Sverdlin > > There are several implementations of PL061 which lack GPIOINTR signal in > hardware and only have individual GPIOMIS[7:0] interrupts. Use the > hierarchical interrupt support of the gpiolib in these

[PATCH v3] gpio: pl061: Support implementations without GPIOINTR line

2021-03-19 Thread Alexander A Sverdlin
From: Alexander Sverdlin There are several implementations of PL061 which lack GPIOINTR signal in hardware and only have individual GPIOMIS[7:0] interrupts. Use the hierarchical interrupt support of the gpiolib in these cases (if at least 8 IRQs are configured for the PL061). One in-tree