2018-04-24 08:02:07

by Gabriel FERNANDEZ

[permalink] [raw]
Subject: [PATCH] clk: stm32mp1: Add CLK_IGNORE_UNUSED to ck_sys_dbg clock

From: Gabriel Fernandez <[email protected]>

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

Signed-off-by: Gabriel Fernandez <[email protected]>
---
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



2018-05-01 22:10:30

by Stephen Boyd

[permalink] [raw]
Subject: Re: [PATCH] clk: stm32mp1: Add CLK_IGNORE_UNUSED to ck_sys_dbg clock

Quoting [email protected] (2018-04-24 00:58:43)
> From: Gabriel Fernandez <[email protected]>
>
> Don't disable the dbg clock if was set by bootloader.
>
> Signed-off-by: Gabriel Fernandez <[email protected]>
> ---

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


2018-05-02 13:59:36

by Gabriel FERNANDEZ

[permalink] [raw]
Subject: Re: [PATCH] clk: stm32mp1: Add CLK_IGNORE_UNUSED to ck_sys_dbg clock

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 [email protected] (2018-04-24 00:58:43)
>> From: Gabriel Fernandez <[email protected]>
>>
>> Don't disable the dbg clock if was set by bootloader.
>>
>> Signed-off-by: Gabriel Fernandez <[email protected]>
>> ---
> Is this a critical fix for this merge window? Please add "Fixes:" tag.
>

2018-05-15 18:25:14

by Stephen Boyd

[permalink] [raw]
Subject: Re: [PATCH] clk: stm32mp1: Add CLK_IGNORE_UNUSED to ck_sys_dbg clock

Quoting [email protected] (2018-04-24 00:58:43)
> From: Gabriel Fernandez <[email protected]>
>
> Don't disable the dbg clock if was set by bootloader.
>
> Signed-off-by: Gabriel Fernandez <[email protected]>
> ---

Applied to clk-next


2018-05-16 05:10:03

by Gabriel FERNANDEZ

[permalink] [raw]
Subject: Re: [PATCH] clk: stm32mp1: Add CLK_IGNORE_UNUSED to ck_sys_dbg clock

Thanks Stephen


On 05/15/2018 08:23 PM, Stephen Boyd wrote:
> Quoting [email protected] (2018-04-24 00:58:43)
>> From: Gabriel Fernandez <[email protected]>
>>
>> Don't disable the dbg clock if was set by bootloader.
>>
>> Signed-off-by: Gabriel Fernandez <[email protected]>
>> ---
> Applied to clk-next
>