clk: rockchip: rk3399: add all of NOCs into critical clocks

We need to declare that we enable all NOCs which are critical clocks
always and clearly and explicitly show that we have enabled them at
clk_summary.

Change-Id: I859664692b4d1bb0dda0ee38295dfcbc3cc70019
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
This commit is contained in:
Xing Zheng
2016-04-01 10:34:45 +08:00
committed by Elaine Zhang
parent ea2205c458
commit b18ee8cb46

View File

@@ -1491,7 +1491,56 @@ static struct rockchip_clk_branch rk3399_clk_pmu_branches[] __initdata = {
};
static const char *const rk3399_cru_critical_clocks[] __initconst = {
"aclk_cci_pre",
/*
* We need to declare that we enable all NOCs which are critical clocks
* always and clearly and explicitly show that we have enabled them at
* clk_summary.
*/
"aclk_usb3_noc",
"aclk_gmac_noc",
"pclk_gmac_noc",
"pclk_center_main_noc",
"aclk_cci_noc0",
"aclk_cci_noc1",
"clk_dbg_noc",
"hclk_vcodec_noc",
"aclk_vcodec_noc",
"hclk_vdu_noc",
"aclk_vdu_noc",
"hclk_iep_noc",
"aclk_iep_noc",
"hclk_rga_noc",
"aclk_rga_noc",
"aclk_center_main_noc",
"aclk_center_peri_noc",
"aclk_perihp_noc",
"hclk_perihp_noc",
"pclk_perihp_noc",
"hclk_sdmmc_noc",
"aclk_emmc_noc",
"aclk_perilp0_noc",
"hclk_perilp0_noc",
"hclk_m0_perilp_noc",
"hclk_perilp1_noc",
"hclk_sdio_noc",
"hclk_sdioaudio_noc",
"pclk_perilp1_noc",
"aclk_vio_noc",
"aclk_hdcp_noc",
"hclk_hdcp_noc",
"pclk_hdcp_noc",
"pclk_edp_noc",
"aclk_vop0_noc",
"hclk_vop0_noc",
"aclk_vop1_noc",
"hclk_vop1_noc",
"aclk_isp0_noc",
"hclk_isp0_noc",
"aclk_isp1_noc",
"hclk_isp1_noc",
"aclk_gic_noc",
/* other critical clocks */
"aclk_gic",
"aclk_gic_noc",
"aclk_hdcp_noc",
@@ -1500,30 +1549,35 @@ static const char *const rk3399_cru_critical_clocks[] __initconst = {
"pclk_perilp0",
"pclk_perilp0",
"hclk_perilp0",
"hclk_perilp0_noc",
"pclk_perilp1",
"pclk_perilp1_noc",
"pclk_perihp",
"pclk_perihp_noc",
"hclk_perihp",
"aclk_perihp",
"aclk_perihp_noc",
"aclk_perilp0",
"aclk_perilp0_noc",
"hclk_perilp1",
"hclk_perilp1_noc",
"aclk_dmac0_perilp",
"aclk_dmac1_perilp",
"aclk_emmc_noc",
"gpll_hclk_perilp1_src",
"gpll_aclk_perilp0_src",
"gpll_aclk_perihp_src",
"aclk_vio_noc",
/* ddrc */
"sclk_ddrc"
"pclk_vio",
"pclk_vio_grf",
"pclk_perihp_grf",
};
static const char *const rk3399_pmucru_critical_clocks[] __initconst = {
/*
* We need to declare that we enable all NOCs which are critical clocks
* always and clearly and explicitly show that we have enabled them at
* clk_summary.
*/
"pclk_noc_pmu",
"hclk_noc_pmu",
/* other critical clocks */
"ppll",
"pclk_pmu_src",
"fclk_cm0s_src_pmu",