diff options
author | Gabriel Fernandez <gabriel.fernandez@st.com> | 2018-04-06 08:39:33 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2018-04-06 13:43:23 -0700 |
commit | ccf719b8845d6ca9f24a8708bb39e0df008f4e3f (patch) | |
tree | d8b4aefb2faf1111a47c8e478fe0654578934edc | |
parent | 1742aed6e539851ae7cfb12685182aa9044f3b0c (diff) | |
download | linux-ccf719b8845d6ca9f24a8708bb39e0df008f4e3f.tar.gz linux-ccf719b8845d6ca9f24a8708bb39e0df008f4e3f.tar.bz2 linux-ccf719b8845d6ca9f24a8708bb39e0df008f4e3f.zip |
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>
-rw-r--r-- | drivers/clk/clk-stm32mp1.c | 4 | ||||
-rw-r--r-- | include/dt-bindings/clock/stm32mp1-clks.h | 1 |
2 files changed, 0 insertions, 5 deletions
diff --git a/drivers/clk/clk-stm32mp1.c b/drivers/clk/clk-stm32mp1.c index b7b53615b67c..edd3cf451401 100644 --- a/drivers/clk/clk-stm32mp1.c +++ b/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, diff --git a/include/dt-bindings/clock/stm32mp1-clks.h b/include/dt-bindings/clock/stm32mp1-clks.h index 6c807fd2c8d5..90ec780bfc68 100644 --- a/include/dt-bindings/clock/stm32mp1-clks.h +++ b/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 |