]> git.baikalelectronics.ru Git - uboot.git/commit
dm: pinctrl: Revert "pinctrl: probe pinctrl drivers during post-bind"
authorSimon Glass <sjg@chromium.org>
Wed, 21 Dec 2022 14:27:39 +0000 (07:27 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 18 Jan 2023 18:49:13 +0000 (11:49 -0700)
commit29f86a5a97570bb58e81c1da70f2384fa11356a3
tree5b28f9a4a7a7b69b3c463ce8213d243ac5ef61f8
parent878afbda490ad5168ab6b23782c96970ef2686b3
dm: pinctrl: Revert "pinctrl: probe pinctrl drivers during post-bind"

This breaks chromebook_coral and it is also not how things should work. If
a board needs to bind GPIOs as part of a pinctrl driver this can be done
during the bind step, if needed.

We cannot probe pinctrl devices when binding as a rule, since it cannot be
supported on some platforms.

The bind and probe steps are separate in U-Boot and they should remain
separate.

This reverts commit da77ec581551a1f3cd03b6079be50daaab230756.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/pinctrl/pinctrl-uclass.c