linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: gabriel.fernandez@st.com (gabriel.fernandez at st.com)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 6/6] clk: stm32mp1: remove ck_apb_dbg clock
Date: Fri, 6 Apr 2018 08:39:33 +0200	[thread overview]
Message-ID: <1522996773-24129-7-git-send-email-gabriel.fernandez@st.com> (raw)
In-Reply-To: <1522996773-24129-1-git-send-email-gabriel.fernandez@st.com>

From: Gabriel Fernandez <gabriel.fernandez@st.com>

It's recommended to use only clk_sys_dbg clock instead to activate
debug IP.

Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com>
---
 drivers/clk/clk-stm32mp1.c                | 4 ----
 include/dt-bindings/clock/stm32mp1-clks.h | 1 -
 2 files changed, 5 deletions(-)

diff --git a/drivers/clk/clk-stm32mp1.c b/drivers/clk/clk-stm32mp1.c
index b7b5361..edd3cf4 100644
--- a/drivers/clk/clk-stm32mp1.c
+++ b/drivers/clk/clk-stm32mp1.c
@@ -1988,10 +1988,6 @@ enum {
 		  _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 6c807fd..90ec780 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
 
-- 
1.9.1

  parent reply	other threads:[~2018-04-06  6:39 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-06  6:39 [PATCH 0/6] stm32mp1 clock update gabriel.fernandez at st.com
2018-04-06  6:39 ` [PATCH 1/6] clk: stm32mp1: add missing static gabriel.fernandez at st.com
2018-04-06 20:44   ` Stephen Boyd
2018-04-06  6:39 ` [PATCH 2/6] clk: stm32mp1: remove unused dfsdm_src[] const gabriel.fernandez at st.com
2018-04-06 20:44   ` Stephen Boyd
2018-04-06  6:39 ` [PATCH 3/6] clk: stm32mp1: fix SAI3 & SAI4 clocks gabriel.fernandez at st.com
2018-04-06 20:44   ` Stephen Boyd
2018-04-06  6:39 ` [PATCH 4/6] clk: stm32mp1: add missing tzc2 clock gabriel.fernandez at st.com
2018-04-06 20:44   ` Stephen Boyd
2018-04-06  6:39 ` [PATCH 5/6] clk: stm32mp1: set stgen_k clock as critical gabriel.fernandez at st.com
2018-04-06 20:44   ` Stephen Boyd
2018-04-06  6:39 ` gabriel.fernandez at st.com [this message]
2018-04-06 20:44   ` [PATCH 6/6] clk: stm32mp1: remove ck_apb_dbg clock Stephen Boyd

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1522996773-24129-7-git-send-email-gabriel.fernandez@st.com \
    --to=gabriel.fernandez@st.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).