diff options
author | Benoit Cousson <b-cousson@ti.com> | 2010-05-20 14:31:08 -0400 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2010-05-20 14:31:08 -0400 |
commit | d9e6625c70ff007ae246c9d62f8cdec8d08b2457 (patch) | |
tree | f10388b8693520d4f42420605657cac148ca4eb5 /arch/arm/mach-omap2/cm.h | |
parent | 53934aa74d49daa7c31c38028fd05c99475489d6 (diff) |
OMAP: CM: Move MAX_MODULE_READY_TIME to cm.h
The maximum timeout to wait for the PRCM to request that a module
exit idle or reach functionnal state is common to OMAP2/3/4 SoCs,
so, move it to the chip family-common cm.h include file.
Reduce the timeout from 20 ms to 2 ms.
Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2/cm.h')
-rw-r--r-- | arch/arm/mach-omap2/cm.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/cm.h b/arch/arm/mach-omap2/cm.h index b6ab183212df..bbc69df3bf3d 100644 --- a/arch/arm/mach-omap2/cm.h +++ b/arch/arm/mach-omap2/cm.h | |||
@@ -144,4 +144,13 @@ static inline u32 cm_clear_mod_reg_bits(u32 bits, s16 module, s16 idx) | |||
144 | #define OMAP24XX_CM_IDLEST_VAL 0 | 144 | #define OMAP24XX_CM_IDLEST_VAL 0 |
145 | #define OMAP34XX_CM_IDLEST_VAL 1 | 145 | #define OMAP34XX_CM_IDLEST_VAL 1 |
146 | 146 | ||
147 | /* | ||
148 | * MAX_MODULE_READY_TIME: max duration in microseconds to wait for the | ||
149 | * PRCM to request that a module exit the inactive state in the case of | ||
150 | * OMAP2 & 3. | ||
151 | * In the case of OMAP4 this is the max duration in microseconds for the | ||
152 | * module to reach the functionnal state from an inactive state. | ||
153 | */ | ||
154 | #define MAX_MODULE_READY_TIME 2000 | ||
155 | |||
147 | #endif | 156 | #endif |