Re: [PATCH v5 3/3] clk: imx: imx8qxp: add soft dependency on SCU power domain driver

Peng Fan <[email protected]>
Newsgroups dev.linux.lists.imx,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-clk,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel,org.kernel.vger.linux-pm
Message-ID <amcMxdNzd7M5kSAF@shlinux89>
On Thu, Jul 23, 2026 at 11:05:24AM +0900, [email protected] wrote:
>From: Zhipeng Wang <[email protected]>
>
>The i.MX8QXP SCU clock driver manually attaches power domains to each
>clock device via of_genpd_add_device() in imx_clk_scu_attach_pd().
>If the SCU power domain provider has not probed yet, the attachment
>fails silently with a pr_warn() and the clock device is registered
>without a power domain.
>
>When both drivers are built as modules, there is no implicit
>dependency to guarantee load order. Add MODULE_SOFTDEP("pre:
>scu_pd") so that modprobe loads the SCU power domain module
>before the clock module.
>
>Signed-off-by: Zhipeng Wang <[email protected]>

Reviewed-by: Peng Fan <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.