diff mbox

clk: stm32mp1: Add CLK_IGNORE_UNUSED to ck_sys_dbg clock

Message ID 1524556723-26926-1-git-send-email-gabriel.fernandez@st.com (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Gabriel FERNANDEZ April 24, 2018, 7:58 a.m. UTC
From: Gabriel Fernandez <gabriel.fernandez@st.com>

Don't disable the dbg clock if was set by bootloader.

Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com>
---
 drivers/clk/clk-stm32mp1.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Stephen Boyd May 1, 2018, 10:10 p.m. UTC | #1
Quoting gabriel.fernandez@st.com (2018-04-24 00:58:43)
> From: Gabriel Fernandez <gabriel.fernandez@st.com>
> 
> Don't disable the dbg clock if was set by bootloader.
> 
> Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com>
> ---

Is this a critical fix for this merge window? Please add "Fixes:" tag.

--
To unsubscribe from this list: send the line "unsubscribe linux-clk" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Gabriel FERNANDEZ May 2, 2018, 1:57 p.m. UTC | #2
Hi Stephen,

This patch is not a critical fix for this merge window.

Thanks

Gabriel


On 05/02/2018 12:10 AM, Stephen Boyd wrote:
> Quoting gabriel.fernandez@st.com (2018-04-24 00:58:43)

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

>>

>> Don't disable the dbg clock if was set by bootloader.

>>

>> Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com>

>> ---

> Is this a critical fix for this merge window? Please add "Fixes:" tag.

>
Stephen Boyd May 15, 2018, 6:23 p.m. UTC | #3
Quoting gabriel.fernandez@st.com (2018-04-24 00:58:43)
> From: Gabriel Fernandez <gabriel.fernandez@st.com>
> 
> Don't disable the dbg clock if was set by bootloader.
> 
> Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com>
> ---

Applied to clk-next

--
To unsubscribe from this list: send the line "unsubscribe linux-clk" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Gabriel FERNANDEZ May 16, 2018, 5:09 a.m. UTC | #4
VGhhbmtzIFN0ZXBoZW4NCg0KDQpPbiAwNS8xNS8yMDE4IDA4OjIzIFBNLCBTdGVwaGVuIEJveWQg
d3JvdGU6DQo+IFF1b3RpbmcgZ2FicmllbC5mZXJuYW5kZXpAc3QuY29tICgyMDE4LTA0LTI0IDAw
OjU4OjQzKQ0KPj4gRnJvbTogR2FicmllbCBGZXJuYW5kZXogPGdhYnJpZWwuZmVybmFuZGV6QHN0
LmNvbT4NCj4+DQo+PiBEb24ndCBkaXNhYmxlIHRoZSBkYmcgY2xvY2sgaWYgd2FzIHNldCBieSBi
b290bG9hZGVyLg0KPj4NCj4+IFNpZ25lZC1vZmYtYnk6IEdhYnJpZWwgRmVybmFuZGV6IDxnYWJy
aWVsLmZlcm5hbmRlekBzdC5jb20+DQo+PiAtLS0NCj4gQXBwbGllZCB0byBjbGstbmV4dA0KPg0K
--
To unsubscribe from this list: send the line "unsubscribe linux-clk" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/clk/clk-stm32mp1.c b/drivers/clk/clk-stm32mp1.c
index edd3cf4..35dabf1 100644
--- a/drivers/clk/clk-stm32mp1.c
+++ b/drivers/clk/clk-stm32mp1.c
@@ -1988,7 +1988,8 @@  enum {
 		  _DIV(RCC_MCO2CFGR, 4, 4, 0, NULL)),
 
 	/* Debug clocks */
-	GATE(CK_DBG, "ck_sys_dbg", "ck_axi", 0, RCC_DBGCFGR, 8, 0),
+	GATE(CK_DBG, "ck_sys_dbg", "ck_axi", CLK_IGNORE_UNUSED,
+	     RCC_DBGCFGR, 8, 0),
 
 	COMPOSITE(CK_TRACE, "ck_trace", ck_trace_src, CLK_OPS_PARENT_ENABLE,
 		  _GATE(RCC_DBGCFGR, 9, 0),