Re: [PATCH v2 1/1] gpio-f7188x: fix base values conflicts with other gpio pins
From: Linus Walleij
Date: Mon May 29 2023 - 09:04:38 EST
On Mon, May 29, 2023 at 2:27 PM <simon.guinot@xxxxxxxxxxxx> wrote:
> It would be nice if a pin number found in the device datasheet could
> still be converted into a Linux GPIO number by adding the base of the
> first bank.
We actively discourage this kind of mapping because of reasons stated
in drivers/gpio/TODO: we want dynamic number allocation to be the
norm.
Yours,
Linus Walleij