mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
clk: rockchip: rk3568: export PCLK_CORE_PVTM clock id
mark pclk_core_pre as critical. Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com> Change-Id: I7da6a93dc1352acb2b336006bd1e30c49b8d6074
This commit is contained in:
@@ -531,6 +531,8 @@ static struct rockchip_clk_branch rk3568_clk_branches[] __initdata = {
|
||||
RK3568_CLKGATE_CON(1), 11, GFLAGS),
|
||||
GATE(CLK_CORE_PVTPLL, "clk_core_pvtpll", "armclk", 0,
|
||||
RK3568_CLKGATE_CON(1), 12, GFLAGS),
|
||||
GATE(PCLK_CORE_PVTM, "pclk_core_pvtm", "pclk_core_pre", 0,
|
||||
RK3568_CLKGATE_CON(1), 9, GFLAGS),
|
||||
|
||||
/* PD_GPU */
|
||||
COMPOSITE(CLK_GPU_SRC, "clk_gpu_src", mpll_gpll_cpll_npll_p, 0,
|
||||
@@ -1584,6 +1586,7 @@ static struct rockchip_clk_branch rk3568_clk_pmu_branches[] __initdata = {
|
||||
|
||||
static const char *const rk3568_cru_critical_clocks[] __initconst = {
|
||||
"armclk",
|
||||
"pclk_core_pre",
|
||||
"aclk_bus",
|
||||
"pclk_bus",
|
||||
"aclk_top_high",
|
||||
|
||||
@@ -461,8 +461,9 @@
|
||||
#define SCLK_EMMC_DRV 400
|
||||
#define SCLK_EMMC_SAMPLE 401
|
||||
#define PCLK_EDPPHY_GRF 402
|
||||
#define PCLK_CORE_PVTM 403
|
||||
|
||||
#define CLK_NR_CLKS (PCLK_EDPPHY_GRF + 1)
|
||||
#define CLK_NR_CLKS (PCLK_CORE_PVTM + 1)
|
||||
|
||||
/* pmu soft-reset indices */
|
||||
/* pmucru_softrst_con0 */
|
||||
|
||||
Reference in New Issue
Block a user