Skip to content

Commit 6eeec66

Browse files
wzyy2yihsin-hung
authored andcommitted
FROMLIST: clk: rockchip: rk3288: make all niu clocks critical
NIU clocks are related to the interconnect and it's important to other blocks. Since we don't have a driver to handle it, we should always enable it to avoid casually close. Make all of them critical,so that we don't have to each clock on its own once things break. Change-Id: I623bd4e2a45afadff65e33456cefdc717076f5c7
1 parent b2e000a commit 6eeec66

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

drivers/clk/rockchip/clk-rk3288.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -817,6 +817,14 @@ static const char *const rk3288_critical_clocks[] __initconst = {
817817
"aclk_peri",
818818
"hclk_peri",
819819
"pclk_pd_pmu",
820+
"aclk_peri_niu",
821+
"aclk_vio0_niu",
822+
"aclk_vio1_niu",
823+
"aclk_rga_niu",
824+
"pclk_core_niu",
825+
"hclk_vio_niu",
826+
"pclk_alive_niu",
827+
"pclk_pmu_niu",
820828
};
821829

822830
static void __iomem *rk3288_cru_base;

0 commit comments

Comments
 (0)