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/powerdomains34xx.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/powerdomains34xx.h')
-rw-r--r-- | arch/arm/mach-omap2/powerdomains34xx.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/powerdomains34xx.h b/arch/arm/mach-omap2/powerdomains34xx.h index 15c346c627dd..78acfce8bbdc 100644 --- a/arch/arm/mach-omap2/powerdomains34xx.h +++ b/arch/arm/mach-omap2/powerdomains34xx.h | |||
@@ -244,7 +244,7 @@ static struct powerdomain dss_pwrdm = { | |||
244 | static struct powerdomain sgx_pwrdm = { | 244 | static struct powerdomain sgx_pwrdm = { |
245 | .name = "sgx_pwrdm", | 245 | .name = "sgx_pwrdm", |
246 | .prcm_offs = OMAP3430ES2_SGX_MOD, | 246 | .prcm_offs = OMAP3430ES2_SGX_MOD, |
247 | .omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP3430ES2), | 247 | .omap_chip = OMAP_CHIP_INIT(CHIP_GE_OMAP3430ES2), |
248 | .wkdep_srcs = gfx_sgx_wkdeps, | 248 | .wkdep_srcs = gfx_sgx_wkdeps, |
249 | .sleepdep_srcs = cam_gfx_sleepdeps, | 249 | .sleepdep_srcs = cam_gfx_sleepdeps, |
250 | /* XXX This is accurate for 3430 SGX, but what about GFX? */ | 250 | /* XXX This is accurate for 3430 SGX, but what about GFX? */ |
@@ -312,7 +312,7 @@ static struct powerdomain neon_pwrdm = { | |||
312 | static struct powerdomain usbhost_pwrdm = { | 312 | static struct powerdomain usbhost_pwrdm = { |
313 | .name = "usbhost_pwrdm", | 313 | .name = "usbhost_pwrdm", |
314 | .prcm_offs = OMAP3430ES2_USBHOST_MOD, | 314 | .prcm_offs = OMAP3430ES2_USBHOST_MOD, |
315 | .omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP3430ES2), | 315 | .omap_chip = OMAP_CHIP_INIT(CHIP_GE_OMAP3430ES2), |
316 | .wkdep_srcs = per_usbhost_wkdeps, | 316 | .wkdep_srcs = per_usbhost_wkdeps, |
317 | .sleepdep_srcs = dss_per_usbhost_sleepdeps, | 317 | .sleepdep_srcs = dss_per_usbhost_sleepdeps, |
318 | .pwrsts = PWRSTS_OFF_RET_ON, | 318 | .pwrsts = PWRSTS_OFF_RET_ON, |
@@ -354,7 +354,7 @@ static struct powerdomain dpll4_pwrdm = { | |||
354 | static struct powerdomain dpll5_pwrdm = { | 354 | static struct powerdomain dpll5_pwrdm = { |
355 | .name = "dpll5_pwrdm", | 355 | .name = "dpll5_pwrdm", |
356 | .prcm_offs = PLL_MOD, | 356 | .prcm_offs = PLL_MOD, |
357 | .omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP3430ES2), | 357 | .omap_chip = OMAP_CHIP_INIT(CHIP_GE_OMAP3430ES2), |
358 | }; | 358 | }; |
359 | 359 | ||
360 | 360 | ||