diff options
author | Benoit Cousson <b-cousson@ti.com> | 2010-12-21 23:08:13 -0500 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2010-12-21 23:08:13 -0500 |
commit | ae4b4fc1bb59ad8802800a8103a6519acadcc9cf (patch) | |
tree | c364a94cd7db4af526793de12349ef1961e9ec67 /arch/arm/mach-omap2/clock3xxx_data.c | |
parent | d9b98f5f9e20389c43370539ef3de4aba7cf1d79 (diff) |
OMAP3: clock data: Add "wkup_clkdm" in sr1_fck and sr2_fck
The smartreflex modules belong to an ALWON_FCLK clock domain that
does not have any SW control. The gating of that interface clock
is triggered by a transition of the WKUP clock domain to idle.
Attach both smartreflex instances on OMAP3 to the WKUP clock domain.
The missing clock domain field in srX_fck clock nodes was reported by
Kevin during the discussion about smartreflex on OMAP3:
https://patchwork.kernel.org/patch/199342/
Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-omap2/clock3xxx_data.c')
-rw-r--r-- | arch/arm/mach-omap2/clock3xxx_data.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/clock3xxx_data.c b/arch/arm/mach-omap2/clock3xxx_data.c index a179edb03c13..b25171d9a387 100644 --- a/arch/arm/mach-omap2/clock3xxx_data.c +++ b/arch/arm/mach-omap2/clock3xxx_data.c | |||
@@ -3044,6 +3044,7 @@ static struct clk sr1_fck = { | |||
3044 | .parent = &sys_ck, | 3044 | .parent = &sys_ck, |
3045 | .enable_reg = OMAP_CM_REGADDR(WKUP_MOD, CM_FCLKEN), | 3045 | .enable_reg = OMAP_CM_REGADDR(WKUP_MOD, CM_FCLKEN), |
3046 | .enable_bit = OMAP3430_EN_SR1_SHIFT, | 3046 | .enable_bit = OMAP3430_EN_SR1_SHIFT, |
3047 | .clkdm_name = "wkup_clkdm", | ||
3047 | .recalc = &followparent_recalc, | 3048 | .recalc = &followparent_recalc, |
3048 | }; | 3049 | }; |
3049 | 3050 | ||
@@ -3054,6 +3055,7 @@ static struct clk sr2_fck = { | |||
3054 | .parent = &sys_ck, | 3055 | .parent = &sys_ck, |
3055 | .enable_reg = OMAP_CM_REGADDR(WKUP_MOD, CM_FCLKEN), | 3056 | .enable_reg = OMAP_CM_REGADDR(WKUP_MOD, CM_FCLKEN), |
3056 | .enable_bit = OMAP3430_EN_SR2_SHIFT, | 3057 | .enable_bit = OMAP3430_EN_SR2_SHIFT, |
3058 | .clkdm_name = "wkup_clkdm", | ||
3057 | .recalc = &followparent_recalc, | 3059 | .recalc = &followparent_recalc, |
3058 | }; | 3060 | }; |
3059 | 3061 | ||