mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
clk: rockchip: add and use clock id for mipi dsi 24M clock
Add dt-binding for mipi dsi 24M clock, and use it. Change-Id: I1f4dfac958b8b5dacfa6da02151dc3d6a2bd27a7 Signed-off-by: Jianqun xu <jay.xu@rock-chips.com> Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
This commit is contained in:
@@ -532,7 +532,7 @@ static struct rockchip_clk_branch rk3368_clk_branches[] __initdata = {
|
||||
GATE(ACLK_PERI, "aclk_peri", "aclk_peri_src", CLK_IGNORE_UNUSED,
|
||||
RK3368_CLKGATE_CON(3), 1, GFLAGS),
|
||||
|
||||
GATE(0, "sclk_mipidsi_24m", "xin24m", 0, RK3368_CLKGATE_CON(4), 14, GFLAGS),
|
||||
GATE(SCLK_MIPIDSI_24M, "sclk_mipidsi_24m", "xin24m", 0, RK3368_CLKGATE_CON(4), 14, GFLAGS),
|
||||
|
||||
/*
|
||||
* Clock-Architecture Diagram 4
|
||||
|
||||
@@ -81,6 +81,7 @@
|
||||
#define SCLK_SFC 126
|
||||
#define SCLK_MAC 127
|
||||
#define SCLK_MACREF_OUT 128
|
||||
#define SCLK_MIPIDSI_24M 129
|
||||
#define SCLK_TIMER10 133
|
||||
#define SCLK_TIMER11 134
|
||||
#define SCLK_TIMER12 135
|
||||
|
||||
Reference in New Issue
Block a user