Skip to content

Commit d7169b8

Browse files
valpackettmmind
authored andcommitted
clk: rockchip: rk3188: use PCLK_CIF0/1 clock IDs on RK3066
RK3066 has two "CIF" video capture interface blocks, reference the newly added IDs for their PCLK clocks. Signed-off-by: Val Packett <val@packett.cool> Link: https://lore.kernel.org/r/20241205182954.5346-2-val@packett.cool Signed-off-by: Heiko Stuebner <heiko@sntech.de>
1 parent 7c98040 commit d7169b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/clk/rockchip/clk-rk3188.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ static struct rockchip_clk_branch common_clk_branches[] __initdata = {
337337

338338
GATE(0, "pclkin_cif0", "ext_cif0", 0,
339339
RK2928_CLKGATE_CON(3), 3, GFLAGS),
340-
INVERTER(0, "pclk_cif0", "pclkin_cif0",
340+
INVERTER(PCLK_CIF0, "pclk_cif0", "pclkin_cif0",
341341
RK2928_CLKSEL_CON(30), 8, IFLAGS),
342342

343343
FACTOR(0, "xin12m", "xin24m", 0, 1, 2),
@@ -595,7 +595,7 @@ static struct rockchip_clk_branch rk3066a_clk_branches[] __initdata = {
595595

596596
GATE(0, "pclkin_cif1", "ext_cif1", 0,
597597
RK2928_CLKGATE_CON(3), 4, GFLAGS),
598-
INVERTER(0, "pclk_cif1", "pclkin_cif1",
598+
INVERTER(PCLK_CIF1, "pclk_cif1", "pclkin_cif1",
599599
RK2928_CLKSEL_CON(30), 12, IFLAGS),
600600

601601
COMPOSITE(0, "aclk_gpu_src", mux_pll_src_cpll_gpll_p, 0,

0 commit comments

Comments
 (0)