LF-2928: clk: imx8mp: fix mclk register fail
authorJosep Orga <jorga@somdevices.com>
Mon, 30 Oct 2023 17:25:13 +0000 (18:25 +0100)
committerJosep Orga <jorga@somdevices.com>
Mon, 30 Oct 2023 17:25:13 +0000 (18:25 +0100)
commitd3b9f8fc86ea495efa465423a345684834c1a563
treefcf7dea54ddcb9c589c0fac172ecc0a3f80882bc
parentdd6f9de02b70d721f6145f89643c6f5305743ad0
LF-2928: clk: imx8mp: fix mclk register fail

Those MX8MP_SAIn_MCLK are not used by CCM clock controller in DTS,
so we can't get those clk in driver which results in the following
boot error messages during probe:
i.MX clk 324: register failed with -2
i.MX clk 325: register failed with -2
i.MX clk 330: register failed with -2
...

As those SAIn_MCLK does not belong to CCM and can be referenced
directly in DT, we can just delete them in CCM clock driver.

Reviewed-by: Jacky Bai <ping.bai@nxp.com>
Signed-off-by: Joy Zou <joy.zou@nxp.com>
drivers/clk/imx/clk-imx8mp.c
include/dt-bindings/clock/imx8mp-clock.h