diff options
| author | Robert Marko <[email protected]> | 2022-05-06 20:01:39 +0200 |
|---|---|---|
| committer | Stefan Roese <[email protected]> | 2022-05-17 06:44:06 +0200 |
| commit | f9ec791b5e24378b71590877499f8683d5f54dac (patch) | |
| tree | 4162cf0f8322889c9f287f2415569032ab952af4 /include/linux | |
| parent | c7111e6ffd4b4f8fefd31044d2e042f910f54775 (diff) | |
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 <[email protected]>
Reviewed-by: Pali Rohár <[email protected]>
Reviewed-by: Stefan Roese <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
