MGS-2507 [imx7ulp] gpu clock is not aligned with design expectation
authorXianzhong <xianzhong.li@nxp.com>
Mon, 17 Apr 2017 03:17:42 +0000 (11:17 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:21:55 +0000 (15:21 -0500)
Fixed the clock rate to 350M Hz to meet the design.

Signed-off-by: Yuchou Gan <yuchou.gan@nxp.com>
Date: 13 April, 2017

drivers/clk/imx/clk-imx7ulp.c

index 61ff9ad..ab1403a 100644 (file)
@@ -183,6 +183,7 @@ static void __init imx7ulp_clocks_init(struct device_node *scg_node)
                imx_clk_prepare_enable(clks[clks_init_on[i]]);
         imx_clk_set_parent(clks[IMX7ULP_CLK_GPU2D], clks[IMX7ULP_CLK_APLL_PFD2]);
         imx_clk_set_parent(clks[IMX7ULP_CLK_GPU3D], clks[IMX7ULP_CLK_APLL_PFD2]);
+        imx_clk_set_rate(clks[IMX7ULP_CLK_APLL_PFD2], 350000000);
 
        pr_info("i.MX7ULP clock tree init done.\n");
 }