[PATCH] dm: core: Switch order of pinctrl and power domain calls

Simon Glass sjg at chromium.org
Thu Jan 13 19:00:54 CET 2022


On Fri, 7 Jan 2022 at 08:38, Michal Simek <michal.simek at xilinx.com> wrote:
>
> The commit 3ad307784847 ("dm: core: device: enable power domain in probe")
> introduced enabling power domain when device is probed.
> By checking this sequence in Linux kernel was found that power domain is
> handled first followed by pinctrl setting.
>
> This patch is switching this order to follow Linux kernel that power
> domains are handled first follow by pinctrl setting.
>
> The issue was found on Xilinx Kria SOM where firmware is blocking setting
> up pin configuration/muxes without enabling power domain for the specific
> IP first.
>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
>
>  drivers/core/device.c | 16 ++++++++--------
>  1 file changed, 8 insertions(+), 8 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list