Browse Source

clk: stm32mp1: remove ck_apb_dbg clock

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>
Gabriel Fernandez 7 years ago
parent
commit
ccf719b884
2 changed files with 0 additions and 5 deletions
  1. 0 4
      drivers/clk/clk-stm32mp1.c
  2. 0 1
      include/dt-bindings/clock/stm32mp1-clks.h

+ 0 - 4
drivers/clk/clk-stm32mp1.c

@@ -1988,10 +1988,6 @@ 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 */
-	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),
 	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,
 	COMPOSITE(CK_TRACE, "ck_trace", ck_trace_src, CLK_OPS_PARENT_ENABLE,

+ 0 - 1
include/dt-bindings/clock/stm32mp1-clks.h

@@ -229,7 +229,6 @@
 #define CK_MCO2		212
 #define CK_MCO2		212
 
 
 /* TRACE & DEBUG clocks */
 /* TRACE & DEBUG clocks */
-#define DBG		213
 #define CK_DBG		214
 #define CK_DBG		214
 #define CK_TRACE	215
 #define CK_TRACE	215