diff options
author | Paul Walmsley <paul@pwsan.com> | 2008-08-19 04:08:40 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2008-08-19 04:08:40 -0400 |
commit | 9717100f77538bbee54d2b5c293fd829b252d2a6 (patch) | |
tree | 9e96c16ff6a3b92a2fe4c533c6f8afe833e232c2 /arch/arm/mach-omap2/io.c | |
parent | ad67ef6848a1608b0430003e11e7af1ce706e341 (diff) |
ARM: OMAP2: Powerdomain: Add OMAP2/3 common powerdomains
Add powerdomains common to both OMAP2 and OMAP3 (WKUP and GFX/SGX).
Modify mach-omap2/io.c to initialize the powerdomain code on boot.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/io.c')
-rw-r--r-- | arch/arm/mach-omap2/io.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c index 987351f07d7b..5f73cf0bb7ef 100644 --- a/arch/arm/mach-omap2/io.c +++ b/arch/arm/mach-omap2/io.c | |||
@@ -24,6 +24,10 @@ | |||
24 | #include <mach/mux.h> | 24 | #include <mach/mux.h> |
25 | #include <mach/omapfb.h> | 25 | #include <mach/omapfb.h> |
26 | 26 | ||
27 | #include <mach/powerdomain.h> | ||
28 | |||
29 | #include "powerdomains.h" | ||
30 | |||
27 | extern void omap_sram_init(void); | 31 | extern void omap_sram_init(void); |
28 | extern int omap2_clk_init(void); | 32 | extern int omap2_clk_init(void); |
29 | extern void omap2_check_revision(void); | 33 | extern void omap2_check_revision(void); |
@@ -101,6 +105,7 @@ void __init omap2_map_common_io(void) | |||
101 | void __init omap2_init_common_hw(void) | 105 | void __init omap2_init_common_hw(void) |
102 | { | 106 | { |
103 | omap2_mux_init(); | 107 | omap2_mux_init(); |
108 | pwrdm_init(powerdomains_omap); | ||
104 | omap2_clk_init(); | 109 | omap2_clk_init(); |
105 | /* | 110 | /* |
106 | * Need to Fix this for 2430 | 111 | * Need to Fix this for 2430 |