linux-stable/drivers/pinctrl/stm32
Valentin Caron 32c170ff15 pinctrl: stm32: set default gpio line names using pin names
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@foss.st.com>
Acked-by: Alexandre TORGUE <alexandre.torgue@foss.st.com>
Link: https://lore.kernel.org/r/20230620104349.834687-1-valentin.caron@foss.st.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2023-08-10 10:12:39 +02:00
..
Kconfig pinctrl: stm32: add stm32mp257 pinctrl support 2023-06-08 16:01:29 +02:00
Makefile pinctrl: stm32: add stm32mp257 pinctrl support 2023-06-08 16:01:29 +02:00
pinctrl-stm32.c pinctrl: stm32: set default gpio line names using pin names 2023-08-10 10:12:39 +02:00
pinctrl-stm32.h pinctrl: stm32: add stm32mp257 pinctrl support 2023-06-08 16:01:29 +02:00
pinctrl-stm32f429.c pinctrl: stm32: Fix copyright 2017-12-02 16:23:08 +01:00
pinctrl-stm32f469.c pinctrl: stm32: Fix copyright 2017-12-02 16:23:08 +01:00
pinctrl-stm32f746.c pinctrl: stm32: Fix copyright 2017-12-02 16:23:08 +01:00
pinctrl-stm32f769.c pinctrl: stm32: add STM32F769 MCU support 2018-01-22 09:28:08 +01:00
pinctrl-stm32h743.c pinctrl: stm32: Fix copyright 2017-12-02 16:23:08 +01:00
pinctrl-stm32mp135.c pinctrl: stm32: prevent the use of the secure protected pins 2022-05-05 00:04:04 +02:00
pinctrl-stm32mp157.c pinctrl: stm32: improve bank clocks management 2022-05-01 23:25:58 +02:00
pinctrl-stm32mp257.c pinctrl: stm32: add stm32mp257 pinctrl support 2023-06-08 16:01:29 +02:00