diff options
author | Jouni Högander <jouni.hogander@nokia.com> | 2008-04-14 09:06:11 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2008-05-09 13:25:04 -0400 |
commit | 1971a3900a4fd61643de950248309598c3e23215 (patch) | |
tree | 52ed085a642a087fd5071ca49f8a50586130377c /arch/arm/mach-omap2 | |
parent | 31c203d49ca04e042722d764feec0b80c2afb575 (diff) |
ARM: OMAP: PRCM fixes to ssi clock handling
ssi_l4_ick should have PARENT_CONTROLS_CLOCK flag.
ST_SSI_STDBY bit in idlest register cannot be used in omap2_clk_wait_ready
Signed-off-by: Jouni Högander <jouni.hogander@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r-- | arch/arm/mach-omap2/clock.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-omap2/clock34xx.h | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/clock.c b/arch/arm/mach-omap2/clock.c index b57ffb5a22a5..ab9fc57d25f1 100644 --- a/arch/arm/mach-omap2/clock.c +++ b/arch/arm/mach-omap2/clock.c | |||
@@ -205,7 +205,9 @@ static void omap2_clk_wait_ready(struct clk *clk) | |||
205 | /* REVISIT: What are the appropriate exclusions for 34XX? */ | 205 | /* REVISIT: What are the appropriate exclusions for 34XX? */ |
206 | /* OMAP3: ignore DSS-mod clocks */ | 206 | /* OMAP3: ignore DSS-mod clocks */ |
207 | if (cpu_is_omap34xx() && | 207 | if (cpu_is_omap34xx() && |
208 | (((u32)reg & ~0xff) == (u32)OMAP_CM_REGADDR(OMAP3430_DSS_MOD, 0))) | 208 | (((u32)reg & ~0xff) == (u32)OMAP_CM_REGADDR(OMAP3430_DSS_MOD, 0) || |
209 | ((((u32)reg & ~0xff) == (u32)OMAP_CM_REGADDR(CORE_MOD, 0)) && | ||
210 | clk->enable_bit == OMAP3430_EN_SSI_SHIFT))) | ||
209 | return; | 211 | return; |
210 | 212 | ||
211 | /* Check if both functional and interface clocks | 213 | /* Check if both functional and interface clocks |
diff --git a/arch/arm/mach-omap2/clock34xx.h b/arch/arm/mach-omap2/clock34xx.h index 3f133a0df089..f8bdcc1e3d3c 100644 --- a/arch/arm/mach-omap2/clock34xx.h +++ b/arch/arm/mach-omap2/clock34xx.h | |||
@@ -1837,7 +1837,8 @@ static struct clk omapctrl_ick = { | |||
1837 | static struct clk ssi_l4_ick = { | 1837 | static struct clk ssi_l4_ick = { |
1838 | .name = "ssi_l4_ick", | 1838 | .name = "ssi_l4_ick", |
1839 | .parent = &l4_ick, | 1839 | .parent = &l4_ick, |
1840 | .flags = CLOCK_IN_OMAP343X | RATE_PROPAGATES, | 1840 | .flags = CLOCK_IN_OMAP343X | RATE_PROPAGATES | |
1841 | PARENT_CONTROLS_CLOCK, | ||
1841 | .recalc = &followparent_recalc, | 1842 | .recalc = &followparent_recalc, |
1842 | }; | 1843 | }; |
1843 | 1844 | ||