]> git.dujemihanovic.xyz Git - u-boot.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)
commit65d5931d02d47eacdb26b879a252064bf728ae12
tree9f581bdc324d8887489f729f3869013013f41e7e
parent698c0411cfabcd245027400961d184d0e072a22c
clk: imx8mp: use usb_core_ref for usb_root_clk

Upstream commit 7a2c3be95a50 ("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: 7a2c3be95a50 ("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