u-boot/drivers/pinctrl
Patrice Chotard 54f5bf3d61 pinctrl: stmfx: Fix pin configuration issue
pin-controller pin's name must be equal to pin's name used in device
tree with "pins" DT property.

Issue detected on stm32mp157c-ev1 board with goodix touchscreen.
In DT, the goodix's pin is declared in DT with the node:

        goodix_pins: goodix {
		pins = "gpio14";
		bias-pull-down;
	};

Whereas in stmfx pin-controller driver, pin's name are equal to
"stmfx_gpioxx" where xx is the pin number.
This lead to not configure stmfx's pins at probe because pins is
identified by its name (see pinctrl_pin_name_to_selector() in
pinctrl-generic.c) and stmfx pin "gpio14" can't be found.

To fix this issue, come back to the original stmfx pin's name.

Revert "pinctrl: stmfx: update pin name"

This reverts commit 38d30cdcd65c73eeefac5efa328ad444a53b77dd.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Tested-by: Patrick DELAUNAY <patrick.delaunay@st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
2021-02-09 10:25:31 +01:00
..
aspeed dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
ath79 dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
broadcom dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
exynos pinctrl: Update for new sequence numbers 2020-12-18 20:32:21 -07:00
intel x86: apl: Move priv/plat structs to headers 2021-01-05 12:24:41 -07:00
mediatek pinctrl: mediatek: correct error handling 2021-01-18 15:23:06 -05:00
meson Prepare v2021.01-rc5 2021-01-05 16:20:26 -05:00
mscc dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
mtmips pinctrl: mtmips: add support for MediaTek MT7620 SoC 2021-01-24 21:39:26 +01:00
mvebu dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
nexell dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
nxp dm: Rename U_BOOT_DRIVER_ALIAS to DM_DRIVER_ALIAS 2021-01-05 12:26:35 -07:00
renesas pinctrl: renesas: Implement get_pin_muxing() callback 2021-01-18 13:29:12 +01:00
rockchip dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
uniphier dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
Kconfig pinctrl: Add support for Kendryte K210 FPIOA 2020-10-08 11:42:36 -04:00
Makefile pinctrl: Add support for Kendryte K210 FPIOA 2020-10-08 11:42:36 -04:00
pinctrl_pic32.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
pinctrl_stm32.c pinctrl: stm32: migrate trace to log macro 2021-01-13 09:52:58 +01:00
pinctrl-at91-pio4.c pinctrl: at91-pio4: implement drive strength support 2021-01-22 15:09:59 +02:00
pinctrl-at91.c dm: Rename U_BOOT_DRIVER_ALIAS to DM_DRIVER_ALIAS 2021-01-05 12:26:35 -07:00
pinctrl-generic.c pinctrl: Add pinmux property support to pinctrl-generic 2020-10-08 11:42:36 -04:00
pinctrl-kendryte.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
pinctrl-qe-io.c dm: Use access methods for dev/uclass private data 2021-01-05 12:24:40 -07:00
pinctrl-sandbox.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
pinctrl-single.c dm: Use access methods for dev/uclass private data 2021-01-05 12:24:40 -07:00
pinctrl-sti.c Prepare v2021.01-rc5 2021-01-05 16:20:26 -05:00
pinctrl-stmfx.c pinctrl: stmfx: Fix pin configuration issue 2021-02-09 10:25:31 +01:00
pinctrl-uclass.c dm: core: Use dev_has_ofnode() instead of dev_of_valid() 2021-01-05 12:24:41 -07:00