[PATCH] pinctrl: mediatek: Bind gpio while binding pinctrl
Tom Rini
trini at konsulko.com
Tue Oct 8 15:44:24 CEST 2024
On Wed, 31 Jul 2024 11:01:31 +0100, Chris Webb wrote:
> Mediatek pinctrl drivers call mtk_gpiochip_register() to bind the child
> gpio controller as part of mtk_pinctrl_common_probe(). This breaks
> gpiohog support because the gpio controller is bound too late for
> DM_FLAG_PROBE_AFTER_BIND (set while binding hogs) to work.
>
> Move the mtk_gpiochip_register() to mtk_pinctrl_common_bind() and call
> this as the .bind method of each of the mediatek pinctrl drivers.
>
> [...]
Applied to u-boot/master, thanks!
--
Tom
More information about the U-Boot
mailing list