Skip to content

Commit a4eb286

Browse files
Elaine Zhangmmind
authored andcommitted
clk: rockchip: fix up rk3128 pvtm and mipi_24m gate regs error
A copy-paste error made them use the wrong bits in the register. Signed-off-by: Elaine Zhang <[email protected]> Signed-off-by: Heiko Stuebner <[email protected]>
1 parent e8620ac commit a4eb286

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/clk/rockchip/clk-rk3128.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -315,13 +315,13 @@ static struct rockchip_clk_branch common_clk_branches[] __initdata = {
315315
RK2928_CLKGATE_CON(10), 8, GFLAGS),
316316

317317
GATE(SCLK_PVTM_CORE, "clk_pvtm_core", "xin24m", 0,
318-
RK2928_CLKGATE_CON(10), 8, GFLAGS),
318+
RK2928_CLKGATE_CON(10), 0, GFLAGS),
319319
GATE(SCLK_PVTM_GPU, "clk_pvtm_gpu", "xin24m", 0,
320-
RK2928_CLKGATE_CON(10), 8, GFLAGS),
320+
RK2928_CLKGATE_CON(10), 1, GFLAGS),
321321
GATE(SCLK_PVTM_FUNC, "clk_pvtm_func", "xin24m", 0,
322-
RK2928_CLKGATE_CON(10), 8, GFLAGS),
322+
RK2928_CLKGATE_CON(10), 2, GFLAGS),
323323
GATE(SCLK_MIPI_24M, "clk_mipi_24m", "xin24m", CLK_IGNORE_UNUSED,
324-
RK2928_CLKGATE_CON(10), 8, GFLAGS),
324+
RK2928_CLKGATE_CON(2), 15, GFLAGS),
325325

326326
COMPOSITE(SCLK_SDMMC, "sclk_sdmmc0", mux_mmc_src_p, 0,
327327
RK2928_CLKSEL_CON(11), 6, 2, MFLAGS, 0, 6, DFLAGS,

0 commit comments

Comments
 (0)