clk: rockchip: add sclk_timer5 as critical clock on rk3128
authorElaine Zhang <zhangqing@rock-chips.com>
Fri, 1 Sep 2017 02:01:46 +0000 (10:01 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Sat, 16 Sep 2017 23:55:36 +0000 (01:55 +0200)
sclk_timer5 is for arm arch counter, so need always on.
but no dts node to handle this clk, so make it as critical clock

Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/clk/rockchip/clk-rk3128.c

index ce02d2cff608dcf9c1bc6a0db254cf5a91d9e8fa..5970a50671b9a6638d637f8a017e1cc0cf063e97 100644 (file)
@@ -578,6 +578,7 @@ static const char *const rk3128_critical_clocks[] __initconst = {
        "hclk_peri",
        "pclk_peri",
        "pclk_pmu",
+       "sclk_timer5",
 };
 
 static struct rockchip_clk_provider *__init rk3128_common_clk_init(struct device_node *np)