瀏覽代碼

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 年之前
父節點
當前提交
ccf719b884
共有 2 個文件被更改,包括 0 次插入5 次删除
  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)),
 
 	/* 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,

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

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