clk: imx: imx8ulp: Fix XBAR_DIVBUS and AD_SLOW clock parents
authorPeng Fan <peng.fan@nxp.com>
Fri, 31 Mar 2023 06:38:10 +0000 (14:38 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 May 2023 14:03:34 +0000 (23:03 +0900)
commit9b75bd4eef4fdb0de263dccd18b0ebca35a50a25
tree1edc0396d629aae95662bbb9e6bbca08b23cd78b
parent72ff6c115667faa343986388bd25d2ece051cb63
clk: imx: imx8ulp: Fix XBAR_DIVBUS and AD_SLOW clock parents

[ Upstream commit d608c18018c897b88d66f1340fe274b7181817fa ]

XBAR_DIVBUS and AD_SLOW should set parent to XBAR_AD_DIVPLAT and
XBAR_DIVBUS respectively, not the NIC_AD. otherwise we will get
wrong clock rate.

Fixes: c43a801a5789 ("clk: imx: Add clock driver for imx8ulp")
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
Signed-off-by: Ye Li <ye.li@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/20230331063814.2462059-2-peng.fan@oss.nxp.com
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/imx/clk-imx8ulp.c