Re: [PATCH 2/2] pinctrl: stm32: check node status before new gpio bank registering

From: Linus Walleij
Date: Sun Jul 29 2018 - 16:11:51 EST


On Mon, Jul 16, 2018 at 2:57 PM Alexandre Torgue
<alexandre.torgue@xxxxxx> wrote:

> Register a new GPIO bank only if GPIO bank node is enabled. This patch also
> adds checks on ranges which are defined only if a bank is registered.
>
> Signed-off-by: Alexandre Torgue <alexandre.torgue@xxxxxx>

Patch applied.

Alexandre can you check the discussion we've had about using
GPIOLIB_IRQCHIP for multi-bank GPIOs with several IRQ
lines as per drivers/gpio/gpio-tegra186.c?

Is this approach applicable for STM32 so we can pull
more stuff in under GPIOLIB_IRQCHIP?

Yours,
Linus Walleij