From: Tang Yun ping Date: Mon, 8 May 2017 01:36:10 +0000 (+0800) Subject: clk: rockchip: rk3288: always enable gpll_ddr for ddrc. X-Git-Tag: release-20171130_firefly~4^2~635 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f8c67c5e9b491b0218c998f49870b9de8f85e1a2;p=firefly-linux-kernel-4.4.55.git clk: rockchip: rk3288: always enable gpll_ddr for ddrc. When ddr frequency scanning, need to switch to gpll for saving times. Change-Id: Ibb7e4ed1fa4babaf65e1d98c8a0891766cea63de Signed-off-by: Tang Yun ping --- diff --git a/drivers/clk/rockchip/clk-rk3288.c b/drivers/clk/rockchip/clk-rk3288.c index 6c2e24b0e7b7..d89b1706121e 100644 --- a/drivers/clk/rockchip/clk-rk3288.c +++ b/drivers/clk/rockchip/clk-rk3288.c @@ -306,7 +306,7 @@ static struct rockchip_clk_branch rk3288_clk_branches[] __initdata = { GATE(0, "dpll_ddr", "dpll", CLK_IGNORE_UNUSED, RK3288_CLKGATE_CON(0), 8, GFLAGS), - GATE(0, "gpll_ddr", "gpll", 0, + GATE(0, "gpll_ddr", "gpll", CLK_IGNORE_UNUSED, RK3288_CLKGATE_CON(0), 9, GFLAGS), COMPOSITE_DDRCLK(SCLK_DDRCLK, "sclk_ddrc", mux_ddrphy_p, 0, RK3288_CLKSEL_CON(26), 2, 1, 0, 0,