linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] clk: stm32mp1: Add CLK_IGNORE_UNUSED to ck_sys_dbg clock
@ 2018-04-24  7:58 gabriel.fernandez
  2018-05-01 22:10 ` Stephen Boyd
  2018-05-15 18:23 ` Stephen Boyd
  0 siblings, 2 replies; 5+ messages in thread
From: gabriel.fernandez @ 2018-04-24  7:58 UTC (permalink / raw)
  To: sboyd, Maxime Coquelin, Michael Turquette, Alexandre Torgue
  Cc: linux-arm-kernel, linux-kernel, linux-clk, olivier.bideau,
	Loic PALLARDY, benjamin GAIGNARD, Gabriel Fernandez

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(-)

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),
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] clk: stm32mp1: Add CLK_IGNORE_UNUSED to ck_sys_dbg clock
  2018-04-24  7:58 [PATCH] clk: stm32mp1: Add CLK_IGNORE_UNUSED to ck_sys_dbg clock gabriel.fernandez
@ 2018-05-01 22:10 ` Stephen Boyd
  2018-05-02 13:57   ` Gabriel FERNANDEZ
  2018-05-15 18:23 ` Stephen Boyd
  1 sibling, 1 reply; 5+ messages in thread
From: Stephen Boyd @ 2018-05-01 22:10 UTC (permalink / raw)
  To: Alexandre Torgue, Maxime Coquelin, Michael Turquette, gabriel.fernandez
  Cc: linux-arm-kernel, linux-kernel, linux-clk, olivier.bideau,
	Loic PALLARDY, benjamin GAIGNARD, Gabriel Fernandez

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] clk: stm32mp1: Add CLK_IGNORE_UNUSED to ck_sys_dbg clock
  2018-05-01 22:10 ` Stephen Boyd
@ 2018-05-02 13:57   ` Gabriel FERNANDEZ
  0 siblings, 0 replies; 5+ messages in thread
From: Gabriel FERNANDEZ @ 2018-05-02 13:57 UTC (permalink / raw)
  To: Stephen Boyd, Alexandre TORGUE, Maxime Coquelin, Michael Turquette
  Cc: linux-arm-kernel, linux-kernel, linux-clk, Olivier BIDEAU,
	Loic PALLARDY, Benjamin GAIGNARD

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.
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] clk: stm32mp1: Add CLK_IGNORE_UNUSED to ck_sys_dbg clock
  2018-04-24  7:58 [PATCH] clk: stm32mp1: Add CLK_IGNORE_UNUSED to ck_sys_dbg clock gabriel.fernandez
  2018-05-01 22:10 ` Stephen Boyd
@ 2018-05-15 18:23 ` Stephen Boyd
  2018-05-16  5:09   ` Gabriel FERNANDEZ
  1 sibling, 1 reply; 5+ messages in thread
From: Stephen Boyd @ 2018-05-15 18:23 UTC (permalink / raw)
  To: Alexandre Torgue, Maxime Coquelin, Michael Turquette, gabriel.fernandez
  Cc: linux-arm-kernel, linux-kernel, linux-clk, olivier.bideau,
	Loic PALLARDY, benjamin GAIGNARD, Gabriel Fernandez

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] clk: stm32mp1: Add CLK_IGNORE_UNUSED to ck_sys_dbg clock
  2018-05-15 18:23 ` Stephen Boyd
@ 2018-05-16  5:09   ` Gabriel FERNANDEZ
  0 siblings, 0 replies; 5+ messages in thread
From: Gabriel FERNANDEZ @ 2018-05-16  5:09 UTC (permalink / raw)
  To: Stephen Boyd, Alexandre TORGUE, Maxime Coquelin, Michael Turquette
  Cc: linux-arm-kernel, linux-kernel, linux-clk, Olivier BIDEAU,
	Loic PALLARDY, Benjamin GAIGNARD

Thanks Stephen


On 05/15/2018 08:23 PM, 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>
>> ---
> Applied to clk-next
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-05-16  5:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-24  7:58 [PATCH] clk: stm32mp1: Add CLK_IGNORE_UNUSED to ck_sys_dbg clock gabriel.fernandez
2018-05-01 22:10 ` Stephen Boyd
2018-05-02 13:57   ` Gabriel FERNANDEZ
2018-05-15 18:23 ` Stephen Boyd
2018-05-16  5:09   ` Gabriel FERNANDEZ

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).