Skip to content

Commit cd5289d

Browse files
finley1226rkhuangtao
authored andcommitted
clk: rockchip: rk3308: Set max parent rate for vop fractional divider
Change-Id: I79b5b412e2952d48e83546dce69c6ce2fbe75e5b Signed-off-by: Finley Xiao <[email protected]>
1 parent 0689ad7 commit cd5289d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/clk/rockchip/clk-rk3308.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#include "clk.h"
2222

2323
#define RK3308_GRF_SOC_STATUS0 0x380
24+
#define RK3308_VOP_FRAC_MAX_PRATE 270000000
2425

2526
enum rk3308_plls {
2627
apll, dpll, vpll0, vpll1,
@@ -454,7 +455,7 @@ static struct rockchip_clk_branch rk3308_clk_branches[] __initdata = {
454455
COMPOSITE_FRACMUX(0, "dclk_vop_frac", "dclk_vop_src", CLK_SET_RATE_PARENT,
455456
RK3308_CLKSEL_CON(9), 0,
456457
RK3308_CLKGATE_CON(1), 7, GFLAGS,
457-
&rk3308_dclk_vop_fracmux, 0),
458+
&rk3308_dclk_vop_fracmux, RK3308_VOP_FRAC_MAX_PRATE),
458459
GATE(DCLK_VOP, "dclk_vop", "dclk_vop_mux", 0,
459460
RK3308_CLKGATE_CON(1), 8, GFLAGS),
460461

0 commit comments

Comments
 (0)