Re: [RFC PATCH 3/3] gpio: ep93xx: specify gpio_irq_chip->first

From: Linus Walleij
Date: Sun Dec 27 2020 - 16:23:38 EST


On Thu, Dec 24, 2020 at 12:22 PM Nikita Shubin
<nikita.shubin@xxxxxxxxxxx> wrote:

> Port F irq's should be statically mapped to EP93XX_GPIO_F_IRQ_BASE.
>
> So we need to specify girq->first otherwise:
>
> "If device tree is used, then first_irq will be 0 and
> irqs get mapped dynamically on the fly"
>
> And that's not the thing we want.
>
> Signed-off-by: Nikita Shubin <nikita.shubin@xxxxxxxxxxx>

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

We can only fix this properly once we convert the platform
to device tree. (Along with making the irqchip hierarchical.)

Yours,
Linus Walleij