]> git.baikalelectronics.ru Git - uboot.git/commit
clk: imx8mp: use usb_core_ref for usb_root_clk
authorAndrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
Fri, 3 Jun 2022 15:15:22 +0000 (17:15 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 14 Jun 2022 19:25:26 +0000 (21:25 +0200)
commit11594473ad58b4b4f2d89db5c18bacfd3dfc81fe
tree9f581bdc324d8887489f729f3869013013f41e7e
parentdd3d9c3227027c0d3bcd6e75a903b450883b0c04
clk: imx8mp: use usb_core_ref for usb_root_clk

Upstream commit eaac2e8a95fe ("clk: imx8mp: Fill in DWC3 USB, USB PHY,
HSIOMIX clock") added usb_core_ref for USB Controller but never set it
to be used as a clock source, using rather "osc_32k" instead.

This produces following boot log message:
"clk_register: failed to get osc_32k device (parent of usb_root_clk)"

Fix the USB controller clock source by using usb_core_ref instead of
osc_32k.

Fixes: eaac2e8a95fe ("clk: imx8mp: Fill in DWC3 USB, USB PHY, HSIOMIX clock")
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
Cc: Fabio Estevam <festevam@denx.de>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Reviewed-by: Fabio Estevam <festevam@denx.de>
drivers/clk/imx/clk-imx8mp.c