diff options
author | Yuchou Gan <yuchou.gan@nxp.com> | 2016-12-21 02:09:19 +0800 |
---|---|---|
committer | Anson Huang <Anson.Huang@nxp.com> | 2017-06-08 19:28:07 +0800 |
commit | 21ae8cfcfff900e42fa4768a7d17321d84020d41 (patch) | |
tree | ed4332acac9d0a245e8e133ed9b05a86232d781c /drivers/clk | |
parent | 0879516652ff03ba6a923e42e0eb17486070b75d (diff) |
MGS-2483 Increase the gpu 2d and 3d frequency to 475M Hz on 7ULP
Increase the gpu 2d and 3d frequency to 475M Hz on 7ULP
Signed-off-by: Yuchou Gan <yuchou.gan@nxp.com>
Date: Dec 20, 2016
Diffstat (limited to 'drivers/clk')
-rw-r--r-- | drivers/clk/imx/clk-imx7ulp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/clk/imx/clk-imx7ulp.c b/drivers/clk/imx/clk-imx7ulp.c index 225d1c1b64d5..06bdd8478e7e 100644 --- a/drivers/clk/imx/clk-imx7ulp.c +++ b/drivers/clk/imx/clk-imx7ulp.c @@ -175,6 +175,10 @@ static void __init imx7ulp_clocks_init(struct device_node *scg_node) for (i = 0; i < ARRAY_SIZE(clks_init_on); i++) 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_prepare_enable(clks[IMX7ULP_CLK_GPU3D]); + imx_clk_prepare_enable(clks[IMX7ULP_CLK_GPU2D]); pr_info("i.MX7ULP clock tree init done.\n"); } |