Skip to content

Commit e62d893

Browse files
finley1226rkhuangtao
authored andcommitted
clk: rockchip: rk3288: Add id for i2s_src
Change-Id: I0d15dd656e96a3905012d42fef6640e152838888 Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
1 parent 815879a commit e62d893

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

drivers/clk/rockchip/clk-rk3288.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ static struct rockchip_clk_branch rk3288_clk_branches[] __initdata = {
339339
GATE(0, "aclk_bus_2pmu", "aclk_cpu_pre", CLK_IGNORE_UNUSED,
340340
RK3288_CLKGATE_CON(0), 7, GFLAGS),
341341

342-
COMPOSITE(0, "i2s_src", mux_pll_src_cpll_gpll_p, 0,
342+
COMPOSITE(SCLK_I2S_SRC, "i2s_src", mux_pll_src_cpll_gpll_p, 0,
343343
RK3288_CLKSEL_CON(4), 15, 1, MFLAGS, 0, 7, DFLAGS,
344344
RK3288_CLKGATE_CON(4), 1, GFLAGS),
345345
COMPOSITE_FRACMUX(0, "i2s_frac", "i2s_src", CLK_SET_RATE_PARENT,

include/dt-bindings/clock/rk3288-cru.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
#define SCLK_MIPIDSI_24M 126
9191
#define SCLK_VIP_OUT 127
9292
#define SCLK_DDRCLK 128
93+
#define SCLK_I2S_SRC 129
9394

9495
#define SCLK_MAC_PLL 150
9596
#define SCLK_MAC 151

0 commit comments

Comments
 (0)