Skip to content

Commit a250f09

Browse files
finley1226rkhuangtao
authored andcommitted
clk: rockchip: rk3128: Add sclk_hsadc_tsp
Change-Id: I842869a7ea79730daa6616f1cf2a8f5db7165ceb Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
1 parent 33e05f0 commit a250f09

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

drivers/clk/rockchip/clk-rk3128.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,8 @@ static struct rockchip_clk_branch common_clk_branches[] __initdata = {
448448
COMPOSITE(SCLK_TSP, "sclk_tsp", mux_pll_src_3plls_p, 0,
449449
RK2928_CLKSEL_CON(4), 6, 2, MFLAGS, 0, 5, DFLAGS,
450450
RK2928_CLKGATE_CON(1), 14, GFLAGS),
451+
GATE(SCLK_HSADC_TSP, "sclk_hsadc_tsp", "ext_hsadc_tsp", 0,
452+
RK2928_CLKGATE_CON(10), 13, GFLAGS),
451453

452454
COMPOSITE(SCLK_NANDC, "sclk_nandc", mux_pll_src_3plls_p, 0,
453455
RK2928_CLKSEL_CON(2), 14, 2, MFLAGS, 8, 5, DFLAGS,

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
#define SCLK_CIF_OUT 152
7676
#define SCLK_SFC 153
7777
#define SCLK_USB480M 154
78+
#define SCLK_HSADC_TSP 155
7879

7980
/* dclk gates */
8081
#define DCLK_VOP 190

0 commit comments

Comments
 (0)