Skip to content
Commit b159c63d authored by Abel Vesa's avatar Abel Vesa Committed by Stephen Boyd
Browse files

clk: imx8mq: Fix usdhc parents order



According to the latest RM (see Table 5-1. Clock Root Table),
both usdhc root clocks have the parent order as follows:

000 - 25M_REF_CLK
001 - SYSTEM_PLL1_DIV2
010 - SYSTEM_PLL1_CLK
011 - SYSTEM_PLL2_DIV2
100 - SYSTEM_PLL3_CLK
101 - SYSTEM_PLL1_DIV3
110 - AUDIO_PLL2_CLK
111 - SYSTEM_PLL1_DIV8

So the audio_pll2_out and sys3_pll_out have to be swapped.

Fixes: b8052204 ("clk: imx: Add clock driver for i.MX8MQ CCM")
Signed-off-by: default avatarAbel Vesa <abel.vesa@nxp.com>
Reported-by: default avatarCosmin Stefan Stoica <cosmin.stoica@nxp.com>
Link: https://lore.kernel.org/r/1602753944-30757-1-git-send-email-abel.vesa@nxp.com


Reviewed-by: default avatarFabio Estevam <festevam@gmail.com>
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent db2a28ef
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment