All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 6/7] arm: mmp&dove: modify tauros2_init call
@ 2012-07-31  7:01 Andrew Lunn
  2012-07-31  7:09 ` Chao Xie
  0 siblings, 1 reply; 6+ messages in thread
From: Andrew Lunn @ 2012-07-31  7:01 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Chao

When making changes to Dove, or any other Orion system, please could
you CC: the orion maintainers:

ARM/Marvell Dove/Kirkwood/MV78xx0/Orion SOC support
M:      Jason Cooper <jason@lakedaemon.net>
M:      Andrew Lunn <andrew@lunn.ch>
L:      linux-arm-kernel at lists.infradead.org (moderated for non-subscribers)
S:      Maintained
F:      arch/arm/mach-dove/
F:      arch/arm/mach-kirkwood/
F:      arch/arm/mach-mv78xx0/
F:      arch/arm/mach-orion5x/
F:      arch/arm/plat-orion/

Does this also affect Armada 370 and Armada XP SOC? I've no idea what
cache it uses.

Thanks
	Andrew

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PATCH 1/7] ARM: pxa: support CKENC in clk_enable
@ 2012-07-31  6:13 Chao Xie
  2012-07-31  6:13 ` [PATCH 6/7] arm: mmp&dove: modify tauros2_init call Chao Xie
  0 siblings, 1 reply; 6+ messages in thread
From: Chao Xie @ 2012-07-31  6:13 UTC (permalink / raw)
  To: linux-arm-kernel

From: Chao Xie <chao.xie@marvell.com>

Since more device clock is supported in PXA95x, add CKENC support.

Signed-off-by: Chao Xie <xiechao.mail@gmail.com>
---
 arch/arm/mach-pxa/clock-pxa3xx.c |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-pxa/clock-pxa3xx.c b/arch/arm/mach-pxa/clock-pxa3xx.c
index 2a37a9a..d4e9499 100644
--- a/arch/arm/mach-pxa/clock-pxa3xx.c
+++ b/arch/arm/mach-pxa/clock-pxa3xx.c
@@ -127,8 +127,10 @@ void clk_pxa3xx_cken_enable(struct clk *clk)
 
 	if (clk->cken < 32)
 		CKENA |= mask;
-	else
+	else if (clk->cken < 64)
 		CKENB |= mask;
+	else
+		CKENC |= mask;
 }
 
 void clk_pxa3xx_cken_disable(struct clk *clk)
@@ -137,8 +139,10 @@ void clk_pxa3xx_cken_disable(struct clk *clk)
 
 	if (clk->cken < 32)
 		CKENA &= ~mask;
-	else
+	else if (clk->cken < 64)
 		CKENB &= ~mask;
+	else
+		CKENC &= ~mask;
 }
 
 const struct clkops clk_pxa3xx_cken_ops = {
-- 
1.7.0.4

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

end of thread, other threads:[~2012-08-04  4:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-31  7:01 [PATCH 6/7] arm: mmp&dove: modify tauros2_init call Andrew Lunn
2012-07-31  7:09 ` Chao Xie
2012-07-31  7:17   ` Andrew Lunn
2012-07-31  7:18   ` Gregory CLEMENT
2012-08-04  4:13     ` Haojian Zhuang
  -- strict thread matches above, loose matches on Subject: below --
2012-07-31  6:13 [PATCH 1/7] ARM: pxa: support CKENC in clk_enable Chao Xie
2012-07-31  6:13 ` [PATCH 6/7] arm: mmp&dove: modify tauros2_init call Chao Xie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.