Re: [PATCH] pinctrl: stm32: set default gpio line names using pin names

From: Linus Walleij
Date: Thu Aug 10 2023 - 04:13:19 EST


On Tue, Jun 20, 2023 at 12:43 PM Valentin Caron
<valentin.caron@xxxxxxxxxxx> wrote:

> Add stm32_pctrl_get_desc_pin_from_gpio function to find a stm32 pin
> descriptor which is matching with a gpio.
> Most of the time pin number is equal to pin index in array. So the first
> part of the function is useful to speed up.
>
> And during gpio bank register, we set default gpio names with pin names.
>
> Signed-off-by: Valentin Caron <valentin.caron@xxxxxxxxxxx>

Patch applied!

Yours,
Linus Walleij