diff options
Diffstat (limited to 'arch/arm/plat-omap/include/plat/cpu.h')
-rw-r--r-- | arch/arm/plat-omap/include/plat/cpu.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/arch/arm/plat-omap/include/plat/cpu.h b/arch/arm/plat-omap/include/plat/cpu.h index 67b3d75884cd..3a280aaf9675 100644 --- a/arch/arm/plat-omap/include/plat/cpu.h +++ b/arch/arm/plat-omap/include/plat/cpu.h | |||
@@ -477,6 +477,13 @@ void omap2_check_revision(void); | |||
477 | 477 | ||
478 | /* | 478 | /* |
479 | * Runtime detection of OMAP3 features | 479 | * Runtime detection of OMAP3 features |
480 | * | ||
481 | * OMAP3_HAS_IO_CHAIN_CTRL: Some later members of the OMAP3 chip | ||
482 | * family have OS-level control over the I/O chain clock. This is | ||
483 | * to avoid a window during which wakeups could potentially be lost | ||
484 | * during powerdomain transitions. If this bit is set, it | ||
485 | * indicates that the chip does support OS-level control of this | ||
486 | * feature. | ||
480 | */ | 487 | */ |
481 | extern u32 omap_features; | 488 | extern u32 omap_features; |
482 | 489 | ||
@@ -488,9 +495,10 @@ extern u32 omap_features; | |||
488 | #define OMAP3_HAS_192MHZ_CLK BIT(5) | 495 | #define OMAP3_HAS_192MHZ_CLK BIT(5) |
489 | #define OMAP3_HAS_IO_WAKEUP BIT(6) | 496 | #define OMAP3_HAS_IO_WAKEUP BIT(6) |
490 | #define OMAP3_HAS_SDRC BIT(7) | 497 | #define OMAP3_HAS_SDRC BIT(7) |
491 | #define OMAP4_HAS_MPU_1GHZ BIT(8) | 498 | #define OMAP3_HAS_IO_CHAIN_CTRL BIT(8) |
492 | #define OMAP4_HAS_MPU_1_2GHZ BIT(9) | 499 | #define OMAP4_HAS_MPU_1GHZ BIT(9) |
493 | #define OMAP4_HAS_MPU_1_5GHZ BIT(10) | 500 | #define OMAP4_HAS_MPU_1_2GHZ BIT(10) |
501 | #define OMAP4_HAS_MPU_1_5GHZ BIT(11) | ||
494 | 502 | ||
495 | 503 | ||
496 | #define OMAP3_HAS_FEATURE(feat,flag) \ | 504 | #define OMAP3_HAS_FEATURE(feat,flag) \ |
@@ -507,12 +515,11 @@ OMAP3_HAS_FEATURE(isp, ISP) | |||
507 | OMAP3_HAS_FEATURE(192mhz_clk, 192MHZ_CLK) | 515 | OMAP3_HAS_FEATURE(192mhz_clk, 192MHZ_CLK) |
508 | OMAP3_HAS_FEATURE(io_wakeup, IO_WAKEUP) | 516 | OMAP3_HAS_FEATURE(io_wakeup, IO_WAKEUP) |
509 | OMAP3_HAS_FEATURE(sdrc, SDRC) | 517 | OMAP3_HAS_FEATURE(sdrc, SDRC) |
518 | OMAP3_HAS_FEATURE(io_chain_ctrl, IO_CHAIN_CTRL) | ||
510 | 519 | ||
511 | /* | 520 | /* |
512 | * Runtime detection of OMAP4 features | 521 | * Runtime detection of OMAP4 features |
513 | */ | 522 | */ |
514 | extern u32 omap_features; | ||
515 | |||
516 | #define OMAP4_HAS_FEATURE(feat, flag) \ | 523 | #define OMAP4_HAS_FEATURE(feat, flag) \ |
517 | static inline unsigned int omap4_has_ ##feat(void) \ | 524 | static inline unsigned int omap4_has_ ##feat(void) \ |
518 | { \ | 525 | { \ |