clk: stm32mp1: remove ck_apb_dbg clock
authorGabriel Fernandez <gabriel.fernandez@st.com>
Fri, 6 Apr 2018 06:39:33 +0000 (08:39 +0200)
committerStephen Boyd <sboyd@kernel.org>
Fri, 6 Apr 2018 20:43:23 +0000 (13:43 -0700)
It's recommended to use only clk_sys_dbg clock instead to activate
debug IP.

Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-stm32mp1.c
include/dt-bindings/clock/stm32mp1-clks.h

index b7b5361..edd3cf4 100644 (file)
@@ -1988,10 +1988,6 @@ static const struct clock_config stm32mp1_clock_cfg[] = {
                  _DIV(RCC_MCO2CFGR, 4, 4, 0, NULL)),
 
        /* Debug clocks */
-       FIXED_FACTOR(NO_ID, "ck_axi_div2", "ck_axi", 0, 1, 2),
-
-       GATE(DBG, "ck_apb_dbg", "ck_axi_div2", 0, RCC_DBGCFGR, 8, 0),
-
        GATE(CK_DBG, "ck_sys_dbg", "ck_axi", 0, RCC_DBGCFGR, 8, 0),
 
        COMPOSITE(CK_TRACE, "ck_trace", ck_trace_src, CLK_OPS_PARENT_ENABLE,
index 6c807fd..90ec780 100644 (file)
 #define CK_MCO2                212
 
 /* TRACE & DEBUG clocks */
-#define DBG            213
 #define CK_DBG         214
 #define CK_TRACE       215