diff options
author | Gabriel Fernandez <gabriel.fernandez@st.com> | 2018-04-24 10:58:43 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2018-05-15 21:22:11 +0300 |
commit | 77dc00205cd5108cb2699e37c843f99220e24636 (patch) | |
tree | 329652a51d6d96f89eeaeb035451aea91005fb0e /drivers/clk | |
parent | ccf719b8845d6ca9f24a8708bb39e0df008f4e3f (diff) | |
download | linux-77dc00205cd5108cb2699e37c843f99220e24636.tar.xz |
clk: stm32mp1: Add CLK_IGNORE_UNUSED to ck_sys_dbg clock
Don't disable the dbg clock if was set by bootloader.
Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk')
-rw-r--r-- | drivers/clk/clk-stm32mp1.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/clk-stm32mp1.c b/drivers/clk/clk-stm32mp1.c index edd3cf451401..35dabf1df39a 100644 --- a/drivers/clk/clk-stm32mp1.c +++ b/drivers/clk/clk-stm32mp1.c @@ -1988,7 +1988,8 @@ static const struct clock_config stm32mp1_clock_cfg[] = { _DIV(RCC_MCO2CFGR, 4, 4, 0, NULL)), /* Debug clocks */ - GATE(CK_DBG, "ck_sys_dbg", "ck_axi", 0, RCC_DBGCFGR, 8, 0), + GATE(CK_DBG, "ck_sys_dbg", "ck_axi", CLK_IGNORE_UNUSED, + RCC_DBGCFGR, 8, 0), COMPOSITE(CK_TRACE, "ck_trace", ck_trace_src, CLK_OPS_PARENT_ENABLE, _GATE(RCC_DBGCFGR, 9, 0), |