u-boot/drivers/pinctrl
Robert Marko f9ec791b5e pinctrl: probe pinctrl drivers during post-bind
Currently, pinctrl drivers only get probed if pinconf is actually being
used, however on SoC-s like Armada 3720 pinctrl driver is a also the GPIO
driver.

So, if the pinctrl driver doesn't get probed GPIO-s won't get registered
and thus they cannot be used.

This is a problem on the Methode eDPU as it just uses SB pins as GPIO-s
and without them being registered networking won't work as it only has
one SFP slot and the TX disable GPIO is on the SB controller.

So, probe the pinctrl drivers using DM_FLAG_PROBE_AFTER_BIND like LED
uclass does.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
Reviewed-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
2022-05-17 06:44:06 +02:00
..
aspeed pinctrl: Add the pinctrl setting for PWM. 2022-03-25 13:35:50 -04:00
ath79 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
broadcom dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
exynos exynos78x0: pinctrl: set const to structs 2021-11-09 14:07:46 +09:00
intel doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
mediatek pinctrl: mediatek: add support for different types of IO pins 2022-05-05 09:29:58 -04:00
meson pinctrl: meson: Correct the driver GPIO declaration 2021-11-19 18:15:26 +01:00
mscc pinctrl: mscc: Fix multiple definition error 2021-07-07 10:17:54 -04:00
mtmips common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mvebu arm64: a37xx: pinctrl: Fix PWM pins indexes 2022-03-04 08:38:05 +01:00
nexell global: Convert simple_strtoul() with decimal to dectoul() 2021-08-02 13:32:14 -04:00
nxp pinctrl: nxp: don't automatically select DEVRES 2022-04-12 15:36:17 +02:00
renesas WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
rockchip rockchip: rk3066: add rk3066 pinctrl driver 2022-04-18 11:25:13 +08:00
sunxi pinctrl: sunxi: Add SPI0 pinmuxes 2022-04-04 23:24:17 +01:00
uniphier dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
Kconfig vpl: Add Kconfig options for VPL 2022-05-02 09:58:13 -04:00
Makefile Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-sunxi 2022-04-05 08:33:32 -04:00
pinctrl-apple.c pinctrl: Add Apple pinctrl driver 2021-11-17 17:04:58 -05:00
pinctrl-at91-pio4.c pinctrl: at91-pio4: add support for slew-rate 2021-03-02 09:28:33 +02:00
pinctrl-at91.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
pinctrl-generic.c pinctrl: Add pinmux property support to pinctrl-generic 2020-10-08 11:42:36 -04:00
pinctrl-k210.c pinctrl: k210: Fix bias-pull-up 2022-03-15 17:43:11 +08:00
pinctrl-qe-io.c treewide: Simply conditions with the new OF_REAL 2021-09-25 09:46:15 -06: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 pinctrl: single: add support for pinctrl-single, pins when #pinctrl-cells = 2 2022-01-18 08:31:02 -05:00
pinctrl-sti.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
pinctrl-stmfx.c pinctrl: stmfx: define LOG_CATEGORY 2021-11-30 11:20:34 +01:00
pinctrl-uclass.c pinctrl: probe pinctrl drivers during post-bind 2022-05-17 06:44:06 +02:00
pinctrl-zynqmp.c pinctrl: zynqmp: Add pinctrl driver 2022-03-14 15:23:31 +01:00
pinctrl_pic32.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
pinctrl_stm32.c gpio: stm32_gpio: Rework GPIO hole management 2022-05-10 13:54:48 +02:00