Skip to content

Commit d8cbb1a

Browse files
Elaine Zhangrkhuangtao
authored andcommitted
clk: rockchip: rk3399: fix up the dclk_vop1_div parents
if the dclk_vop0_div allow CLK_SET_RATE_PARENT for VPLL, the dclk_vop1_div parent is not allowed in vpll. Change-Id: I9973014e8ed2fcf1c351e3f62c00040677391ff7 Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
1 parent 904247b commit d8cbb1a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

drivers/clk/rockchip/clk-rk3399.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ PNAME(mux_pll_src_cpll_gpll_npll_ppll_upll_24m_p) = { "cpll", "gpll", "npll",
173173
"ppll", "upll", "xin24m" };
174174

175175
PNAME(mux_pll_src_vpll_cpll_gpll_p) = { "vpll", "cpll", "gpll" };
176+
PNAME(mux_pll_src_dmyvpll_cpll_gpll_p) = { "dummy_vpll", "cpll", "gpll" };
176177
/*
177178
* We hope to be able to HDMI/DP can obtain better signal quality,
178179
* therefore, we move VOP pwm and aclk clocks to other PLLs, let
@@ -1219,7 +1220,7 @@ static struct rockchip_clk_branch rk3399_clk_branches[] __initdata = {
12191220
RK3399_CLKGATE_CON(28), 4, GFLAGS),
12201221

12211222
/* The VOP1 is sub screen, it is note able to re-set parent rate. */
1222-
COMPOSITE(DCLK_VOP1_DIV, "dclk_vop1_div", mux_pll_src_vpll_cpll_gpll_p, 0,
1223+
COMPOSITE(DCLK_VOP1_DIV, "dclk_vop1_div", mux_pll_src_dmyvpll_cpll_gpll_p, 0,
12231224
RK3399_CLKSEL_CON(50), 8, 2, MFLAGS, 0, 8, DFLAGS,
12241225
RK3399_CLKGATE_CON(10), 13, GFLAGS),
12251226

0 commit comments

Comments
 (0)