clk: imx: imx8qxp: correct the enet clocks for i.MX8DXL
authorShenwei Wang <shenwei.wang@nxp.com>
Tue, 12 Sep 2023 09:19:01 +0000 (17:19 +0800)
committerAbel Vesa <abel.vesa@linaro.org>
Wed, 4 Oct 2023 12:44:04 +0000 (15:44 +0300)
commit8568b3c499268456b76cdc2e9e1b9d86d8b08837
treeff58b0f732ac4795c993e70e1c1e4cdc2ea33a1d
parent15cee75dacb82ade710d61bfd536011933ef9bf2
clk: imx: imx8qxp: correct the enet clocks for i.MX8DXL

The SC_PM_CLK_MISC0 clock is not available for the resources of ENET0/1 on
i.MX8DXL. Using the clock device compatible string to identify the platform
and only initialize the enetX_rgmii_rx_clk clock for non i.MX8DXL platform.

Signed-off-by: Shenwei Wang <shenwei.wang@nxp.com>
Reviewed-by: Ranjani Vaidyanathan <ranjani.vaidyanathan@nxp.com>
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
Acked-by: Jason Liu <jason.hui.liu@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/20230912-imx8-clk-v1-v1-3-69a34bcfcae1@nxp.com
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
drivers/clk/imx/clk-imx8qxp.c