diff options
author | Paul Walmsley <paul@pwsan.com> | 2009-02-05 22:45:25 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-02-23 09:52:51 -0500 |
commit | d41ad52040dee5043ce6b1d49a1c8864706d2bfd (patch) | |
tree | 90543a401c03b84d3a4e2cf36ce622cd625479a2 /arch/arm/mach-omap2/clockdomains.h | |
parent | c0bf31320dea2cbcbab1f53ee15a8520f762409b (diff) |
[ARM] OMAP3: update ES level flags to discriminate between post-ES2 revisions
Some OMAP3 chip behaviors change in ES levels after ES2. Modify the
existing omap_chip flags to add options for ES3.0 and ES3.1.
Add a new macro, CHIP_GE_OMAP3430ES2, to cover ES levels from ES2
onwards - a common pattern for OMAP3 features. Update all current
users of the omap_chip macros to use this new macro.
Also add CHIP_GE_OMAP3430ES3_1 to cover the USBTLL SAR errata case
(described and fixed in the following patch)
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-omap2/clockdomains.h')
-rw-r--r-- | arch/arm/mach-omap2/clockdomains.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/clockdomains.h b/arch/arm/mach-omap2/clockdomains.h index d7db796403dc..281d5da19188 100644 --- a/arch/arm/mach-omap2/clockdomains.h +++ b/arch/arm/mach-omap2/clockdomains.h | |||
@@ -182,7 +182,7 @@ static struct clockdomain sgx_clkdm = { | |||
182 | .pwrdm = { .name = "sgx_pwrdm" }, | 182 | .pwrdm = { .name = "sgx_pwrdm" }, |
183 | .flags = CLKDM_CAN_HWSUP_SWSUP, | 183 | .flags = CLKDM_CAN_HWSUP_SWSUP, |
184 | .clktrctrl_mask = OMAP3430ES2_CLKTRCTRL_SGX_MASK, | 184 | .clktrctrl_mask = OMAP3430ES2_CLKTRCTRL_SGX_MASK, |
185 | .omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP3430ES2), | 185 | .omap_chip = OMAP_CHIP_INIT(CHIP_GE_OMAP3430ES2), |
186 | }; | 186 | }; |
187 | 187 | ||
188 | /* | 188 | /* |
@@ -237,7 +237,7 @@ static struct clockdomain usbhost_clkdm = { | |||
237 | .pwrdm = { .name = "usbhost_pwrdm" }, | 237 | .pwrdm = { .name = "usbhost_pwrdm" }, |
238 | .flags = CLKDM_CAN_HWSUP_SWSUP, | 238 | .flags = CLKDM_CAN_HWSUP_SWSUP, |
239 | .clktrctrl_mask = OMAP3430ES2_CLKTRCTRL_USBHOST_MASK, | 239 | .clktrctrl_mask = OMAP3430ES2_CLKTRCTRL_USBHOST_MASK, |
240 | .omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP3430ES2), | 240 | .omap_chip = OMAP_CHIP_INIT(CHIP_GE_OMAP3430ES2), |
241 | }; | 241 | }; |
242 | 242 | ||
243 | static struct clockdomain per_clkdm = { | 243 | static struct clockdomain per_clkdm = { |
@@ -287,7 +287,7 @@ static struct clockdomain dpll4_clkdm = { | |||
287 | static struct clockdomain dpll5_clkdm = { | 287 | static struct clockdomain dpll5_clkdm = { |
288 | .name = "dpll5_clkdm", | 288 | .name = "dpll5_clkdm", |
289 | .pwrdm = { .name = "dpll5_pwrdm" }, | 289 | .pwrdm = { .name = "dpll5_pwrdm" }, |
290 | .omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP3430ES2), | 290 | .omap_chip = OMAP_CHIP_INIT(CHIP_GE_OMAP3430ES2), |
291 | }; | 291 | }; |
292 | 292 | ||
293 | #endif /* CONFIG_ARCH_OMAP34XX */ | 293 | #endif /* CONFIG_ARCH_OMAP34XX */ |