On Fri, 11 Sep 2026 00:08:14 +0200, Mehmet Fide wrote:
> From: Mehmet Fide <[email protected]>
>
> A driver's of_to_plat() method must only read the devicetree, but the
> only way to pick a GPIO out of it, gpio_request_by_name(), also probes
> the controller and claims the pin. Several drivers therefore claim
> GPIOs while their platform data is being read, before their own pinctrl
> state is applied. On SoCs where the direction lives in the pad register
> the pinctrl then undoes the direction the early claim set; on Vybrid
> this leaves a fixed regulator configured as always-on powering nothing,
> which is where this started (the ehci-vf VBUS supply).
>
> [...]
Applied to u-boot/next, thanks!
[1/4] gpio: add a way to parse a GPIO now and request it later
commit: 4cf32565c3c44069e2015b309c02cd29bd590f7f
[2/4] regulator: claim the enable GPIO at probe time, not in of_to_plat()
commit: 61665f113d3704311dd60aa76394a3abb44b66af
[3/4] doc: driver-model: state that of_to_plat() must not probe or claim
commit: 6cca7e5498a7c5bc7b9d100a54b7778d3bc0c365
[4/4] test: dm: check the regulators claim their GPIOs at probe time
commit: a338b718373be8df70a6ef8bbafecd4d1c6c4d31
--
Tom