Skip to content
Snippets Groups Projects
Commit d8ef446f authored by Michal Simek's avatar Michal Simek Committed by Simon Glass
Browse files

dm: core: Switch order of pinctrl and power domain calls


The commit 3ad30778 ("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: default avatarMichal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
parent 743c562d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment