@@ -34,8 +34,6 @@ static const char * const audio_pll1_bypass_sels[] = {"audio_pll1", "audio_pll1_
34
34
static const char * const audio_pll2_bypass_sels [] = {"audio_pll2" , "audio_pll2_ref_sel" , };
35
35
static const char * const video_pll1_bypass_sels [] = {"video_pll1" , "video_pll1_ref_sel" , };
36
36
37
- static const char * const sys1_pll_out_sels [] = {"sys1_pll1_ref_sel" , };
38
- static const char * const sys2_pll_out_sels [] = {"sys1_pll1_ref_sel" , "sys2_pll1_ref_sel" , };
39
37
static const char * const sys3_pll_out_sels [] = {"sys3_pll1_ref_sel" , "sys2_pll1_ref_sel" , };
40
38
static const char * const dram_pll_out_sels [] = {"dram_pll1_ref_sel" , };
41
39
static const char * const video2_pll_out_sels [] = {"video2_pll1_ref_sel" , };
@@ -308,8 +306,6 @@ static int imx8mq_clocks_probe(struct platform_device *pdev)
308
306
clks [IMX8MQ_AUDIO_PLL1_REF_SEL ] = imx_clk_mux ("audio_pll1_ref_sel" , base + 0x0 , 16 , 2 , pll_ref_sels , ARRAY_SIZE (pll_ref_sels ));
309
307
clks [IMX8MQ_AUDIO_PLL2_REF_SEL ] = imx_clk_mux ("audio_pll2_ref_sel" , base + 0x8 , 16 , 2 , pll_ref_sels , ARRAY_SIZE (pll_ref_sels ));
310
308
clks [IMX8MQ_VIDEO_PLL1_REF_SEL ] = imx_clk_mux ("video_pll1_ref_sel" , base + 0x10 , 16 , 2 , pll_ref_sels , ARRAY_SIZE (pll_ref_sels ));
311
- clks [IMX8MQ_SYS1_PLL1_REF_SEL ] = imx_clk_mux ("sys1_pll1_ref_sel" , base + 0x30 , 0 , 2 , pll_ref_sels , ARRAY_SIZE (pll_ref_sels ));
312
- clks [IMX8MQ_SYS2_PLL1_REF_SEL ] = imx_clk_mux ("sys2_pll1_ref_sel" , base + 0x3c , 0 , 2 , pll_ref_sels , ARRAY_SIZE (pll_ref_sels ));
313
309
clks [IMX8MQ_SYS3_PLL1_REF_SEL ] = imx_clk_mux ("sys3_pll1_ref_sel" , base + 0x48 , 0 , 2 , pll_ref_sels , ARRAY_SIZE (pll_ref_sels ));
314
310
clks [IMX8MQ_DRAM_PLL1_REF_SEL ] = imx_clk_mux ("dram_pll1_ref_sel" , base + 0x60 , 0 , 2 , pll_ref_sels , ARRAY_SIZE (pll_ref_sels ));
315
311
clks [IMX8MQ_VIDEO2_PLL1_REF_SEL ] = imx_clk_mux ("video2_pll1_ref_sel" , base + 0x54 , 0 , 2 , pll_ref_sels , ARRAY_SIZE (pll_ref_sels ));
@@ -344,8 +340,8 @@ static int imx8mq_clocks_probe(struct platform_device *pdev)
344
340
clks [IMX8MQ_AUDIO_PLL2_OUT ] = imx_clk_gate ("audio_pll2_out" , "audio_pll2_bypass" , base + 0x8 , 21 );
345
341
clks [IMX8MQ_VIDEO_PLL1_OUT ] = imx_clk_gate ("video_pll1_out" , "video_pll1_bypass" , base + 0x10 , 21 );
346
342
347
- clks [IMX8MQ_SYS1_PLL_OUT ] = imx_clk_sccg_pll ("sys1_pll_out" , sys1_pll_out_sels , ARRAY_SIZE ( sys1_pll_out_sels ), 0 , 0 , 0 , base + 0x30 , CLK_IS_CRITICAL );
348
- clks [IMX8MQ_SYS2_PLL_OUT ] = imx_clk_sccg_pll ("sys2_pll_out" , sys2_pll_out_sels , ARRAY_SIZE ( sys2_pll_out_sels ), 0 , 0 , 1 , base + 0x3c , CLK_IS_CRITICAL );
343
+ clks [IMX8MQ_SYS1_PLL_OUT ] = imx_clk_fixed ("sys1_pll_out" , 800000000 );
344
+ clks [IMX8MQ_SYS2_PLL_OUT ] = imx_clk_fixed ("sys2_pll_out" , 1000000000 );
349
345
clks [IMX8MQ_SYS3_PLL_OUT ] = imx_clk_sccg_pll ("sys3_pll_out" , sys3_pll_out_sels , ARRAY_SIZE (sys3_pll_out_sels ), 0 , 0 , 1 , base + 0x48 , CLK_IS_CRITICAL );
350
346
clks [IMX8MQ_DRAM_PLL_OUT ] = imx_clk_sccg_pll ("dram_pll_out" , dram_pll_out_sels , ARRAY_SIZE (dram_pll_out_sels ), 0 , 0 , 0 , base + 0x60 , CLK_IS_CRITICAL );
351
347
clks [IMX8MQ_VIDEO2_PLL_OUT ] = imx_clk_sccg_pll ("video2_pll_out" , video2_pll_out_sels , ARRAY_SIZE (video2_pll_out_sels ), 0 , 0 , 0 , base + 0x54 , 0 );
0 commit comments