* [PATCH] clk: sunxi: Remove ahb1_sdram from sun6i/sun8i protected clocks list
@ 2014-11-24 10:05 Chen-Yu Tsai
2014-11-25 21:49 ` Maxime Ripard
0 siblings, 1 reply; 2+ messages in thread
From: Chen-Yu Tsai @ 2014-11-24 10:05 UTC (permalink / raw)
To: linux-arm-kernel
The ahb1_sdram clock gate is only used for accessing the sdram
controller's registers over the bus. It is not used for actually clock
the controller or the dram, hence it does not need to be protected.
This also gets rid of the problem when the protected ahb1_sdram gate
is prepared/enabled while it is still an orphan, and the operation
is not propagated to the correct parent.
This was confirmed on my A23 tablet and my A31 Hummingbird.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
---
drivers/clk/sunxi/clk-sunxi.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/clk/sunxi/clk-sunxi.c b/drivers/clk/sunxi/clk-sunxi.c
index 337593c..8a38070 100644
--- a/drivers/clk/sunxi/clk-sunxi.c
+++ b/drivers/clk/sunxi/clk-sunxi.c
@@ -1425,7 +1425,6 @@ CLK_OF_DECLARE(sun7i_a20_clk_init, "allwinner,sun7i-a20", sun5i_init_clocks);
static const char *sun6i_critical_clocks[] __initdata = {
"cpu",
- "ahb1_sdram",
};
static void __init sun6i_init_clocks(struct device_node *node)
--
2.1.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] clk: sunxi: Remove ahb1_sdram from sun6i/sun8i protected clocks list
2014-11-24 10:05 [PATCH] clk: sunxi: Remove ahb1_sdram from sun6i/sun8i protected clocks list Chen-Yu Tsai
@ 2014-11-25 21:49 ` Maxime Ripard
0 siblings, 0 replies; 2+ messages in thread
From: Maxime Ripard @ 2014-11-25 21:49 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Nov 24, 2014 at 06:05:15PM +0800, Chen-Yu Tsai wrote:
> The ahb1_sdram clock gate is only used for accessing the sdram
> controller's registers over the bus. It is not used for actually clock
> the controller or the dram, hence it does not need to be protected.
>
> This also gets rid of the problem when the protected ahb1_sdram gate
> is prepared/enabled while it is still an orphan, and the operation
> is not propagated to the correct parent.
>
> This was confirmed on my A23 tablet and my A31 Hummingbird.
>
> Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Queued for 3.20, thanks!
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20141125/776e12f9/attachment.sig>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-11-25 21:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-24 10:05 [PATCH] clk: sunxi: Remove ahb1_sdram from sun6i/sun8i protected clocks list Chen-Yu Tsai
2014-11-25 21:49 ` Maxime Ripard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox