From 375759473aeb92b77244286893a970b2eff7cf83 Mon Sep 17 00:00:00 2001 From: Elaine Zhang Date: Thu, 9 Mar 2017 10:36:00 +0800 Subject: [PATCH] clk: rockchip: rk3368: add CLK_IGNORE_UNUSED flag for mcu clk Change-Id: I27856c9523ac3bffd4b509f016a659a1e3094b41 Signed-off-by: Elaine Zhang --- drivers/clk/rockchip/clk-rk3368.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/clk/rockchip/clk-rk3368.c b/drivers/clk/rockchip/clk-rk3368.c index 1f152733c8fe..b035c65a6d02 100644 --- a/drivers/clk/rockchip/clk-rk3368.c +++ b/drivers/clk/rockchip/clk-rk3368.c @@ -365,7 +365,7 @@ static struct rockchip_clk_branch rk3368_clk_branches[] __initdata = { * stclk_mcu is listed as child of fclk_mcu_src in diagram 5, * but stclk_mcu has an additional own divider in diagram 2 */ - COMPOSITE_NOMUX(0, "stclk_mcu", "fclk_mcu_src", 0, + COMPOSITE_NOMUX(0, "stclk_mcu", "fclk_mcu_src", CLK_IGNORE_UNUSED, RK3368_CLKSEL_CON(12), 8, 3, DFLAGS, RK3368_CLKGATE_CON(13), 13, GFLAGS), @@ -687,9 +687,9 @@ static struct rockchip_clk_branch rk3368_clk_branches[] __initdata = { /* clk_hsadc_tsp is part of diagram2 */ /* fclk_mcu_src gates */ - GATE(0, "hclk_noc_mcu", "fclk_mcu_src", 0, RK3368_CLKGATE_CON(13), 14, GFLAGS), - GATE(0, "fclk_mcu", "fclk_mcu_src", 0, RK3368_CLKGATE_CON(13), 12, GFLAGS), - GATE(0, "hclk_mcu", "fclk_mcu_src", 0, RK3368_CLKGATE_CON(13), 11, GFLAGS), + GATE(0, "hclk_noc_mcu", "fclk_mcu_src", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(13), 14, GFLAGS), + GATE(0, "fclk_mcu", "fclk_mcu_src", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(13), 12, GFLAGS), + GATE(0, "hclk_mcu", "fclk_mcu_src", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(13), 11, GFLAGS), /* hclk_cpu gates */ GATE(HCLK_SPDIF, "hclk_spdif", "hclk_bus", 0, RK3368_CLKGATE_CON(12), 10, GFLAGS), -- 2.34.1