summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/io.c
diff options
context:
space:
mode:
authorPaul Walmsley2008-08-19 10:08:40 +0200
committerTony Lindgren2008-08-19 10:08:40 +0200
commit9717100f77538bbee54d2b5c293fd829b252d2a6 (patch)
tree9e96c16ff6a3b92a2fe4c533c6f8afe833e232c2 /arch/arm/mach-omap2/io.c
parentARM: OMAP2: Powerdomain: Add base OMAP2/3 powerdomain code (diff)
downloadkernel-qcow2-linux-9717100f77538bbee54d2b5c293fd829b252d2a6.tar.gz
kernel-qcow2-linux-9717100f77538bbee54d2b5c293fd829b252d2a6.tar.xz
kernel-qcow2-linux-9717100f77538bbee54d2b5c293fd829b252d2a6.zip
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.c5
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 @@
#include <mach/mux.h>
#include <mach/omapfb.h>
+#include <mach/powerdomain.h>
+
+#include "powerdomains.h"
+
extern void omap_sram_init(void);
extern int omap2_clk_init(void);
extern void omap2_check_revision(void);
@@ -101,6 +105,7 @@ void __init omap2_map_common_io(void)
void __init omap2_init_common_hw(void)
{
omap2_mux_init();
+ pwrdm_init(powerdomains_omap);
omap2_clk_init();
/*
* Need to Fix this for 2430