clk: rockchip: mark rk3399 hdcp_noc and vio_noc as critical
authorChris Zhong <zyw@rock-chips.com>
Tue, 9 Aug 2016 18:02:33 +0000 (11:02 -0700)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 11 Aug 2016 22:12:55 +0000 (00:12 +0200)
The aclk_vio_noc should be put into critical list, as the interconnect
is not handled right now, but is required by VOP.
And the Type-C DP need these clocks: aclk_hdcp_noc, hclk_hdcp_noc,
pclk_hdcp_noc. Mark them as critical to avoid someone close them.

Signed-off-by: Chris Zhong <zyw@rock-chips.com>
Reviewed-by: Guenter Roeck <groeck@chromium.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/clk/rockchip/clk-rk3399.c

index b173711a4d030f80a3fb2a23ecef0d7b15e4423c..6f3d0a60d6cd283ba42e5f690cf309b888b7078c 100644 (file)
@@ -1470,6 +1470,9 @@ static const char *const rk3399_cru_critical_clocks[] __initconst = {
        "aclk_cci_pre",
        "aclk_gic",
        "aclk_gic_noc",
+       "aclk_hdcp_noc",
+       "hclk_hdcp_noc",
+       "pclk_hdcp_noc",
        "pclk_perilp0",
        "pclk_perilp0",
        "hclk_perilp0",
@@ -1489,6 +1492,7 @@ static const char *const rk3399_cru_critical_clocks[] __initconst = {
        "gpll_hclk_perilp1_src",
        "gpll_aclk_perilp0_src",
        "gpll_aclk_perihp_src",
+       "aclk_vio_noc",
 };
 
 static const char *const rk3399_pmucru_critical_clocks[] __initconst = {