Skip to content

Commit 570727e

Browse files
aford173abelvesa
authored andcommitted
clk: imx8mn: Fix imx8mn_clko1_sels
When attempting to use sys_pll1_80m as the parent for clko1, the system hangs. This is due to the fact that the source select for sys_pll1_80m was incorrectly pointing to m7_alt_pll_clk, which doesn't yet exist. According to Rev 3 of the TRM, The imx8mn_clko1_sels also incorrectly references an osc_27m which does not exist, nor does an entry for source select bits 010b. Fix both by inserting a dummy clock into the missing space in the table and renaming the incorrectly name clock with dummy. Fixes: 96d6392 ("clk: imx: Add support for i.MX8MN clock driver") Signed-off-by: Adam Ford <[email protected]> Reviewed-by: Fabio Estevam <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Abel Vesa <[email protected]>
1 parent c1b6ad9 commit 570727e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/clk/imx/clk-imx8mn.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -277,9 +277,9 @@ static const char * const imx8mn_pdm_sels[] = {"osc_24m", "sys_pll2_100m", "audi
277277

278278
static const char * const imx8mn_dram_core_sels[] = {"dram_pll_out", "dram_alt_root", };
279279

280-
static const char * const imx8mn_clko1_sels[] = {"osc_24m", "sys_pll1_800m", "osc_27m",
281-
"sys_pll1_200m", "audio_pll2_out", "vpu_pll",
282-
"sys_pll1_80m", };
280+
static const char * const imx8mn_clko1_sels[] = {"osc_24m", "sys_pll1_800m", "dummy",
281+
"sys_pll1_200m", "audio_pll2_out", "sys_pll2_500m",
282+
"dummy", "sys_pll1_80m", };
283283
static const char * const imx8mn_clko2_sels[] = {"osc_24m", "sys_pll2_200m", "sys_pll1_400m",
284284
"sys_pll2_166m", "sys_pll3_out", "audio_pll1_out",
285285
"video_pll1_out", "osc_32k", };

0 commit comments

Comments
 (0)