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>
This commit is contained in:
parent
ccf719b884
commit
77dc00205c
|
@ -1988,7 +1988,8 @@ static const struct clock_config stm32mp1_clock_cfg[] = {
|
||||||
_DIV(RCC_MCO2CFGR, 4, 4, 0, NULL)),
|
_DIV(RCC_MCO2CFGR, 4, 4, 0, NULL)),
|
||||||
|
|
||||||
/* Debug clocks */
|
/* 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,
|
COMPOSITE(CK_TRACE, "ck_trace", ck_trace_src, CLK_OPS_PARENT_ENABLE,
|
||||||
_GATE(RCC_DBGCFGR, 9, 0),
|
_GATE(RCC_DBGCFGR, 9, 0),
|
||||||
|
|
Loading…
Reference in New Issue