diff options
author | Benoit Cousson <b-cousson@ti.com> | 2010-08-05 09:22:35 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2010-09-23 20:14:16 -0400 |
commit | cbf27660e692d8c74087c0ccb80225207d280af1 (patch) | |
tree | 8d6e616e34bbbd00b2fe803c1002338820be6298 /arch/arm/mach-omap2/pm.c | |
parent | 55d2cb0814f4285f89be8ed474a8ae7042fb5735 (diff) |
OMAP4: pm: Change l3_main to l3_main_1 during bus device init
The OMAP4 L3 interconnect is split in 3 part for power saving reason.
Because of that there is no l3_main like on OMAP2 & 3 but 3 differentes
l3_main_X instances.
In the case of OMAP4, query only the l3_main_1 part. The clock and
voltage are shared across the 3 instances.
Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Cc: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-omap2/pm.c')
-rw-r--r-- | arch/arm/mach-omap2/pm.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/pm.c b/arch/arm/mach-omap2/pm.c index 4477d5d7a3b5..59ca03b0e691 100644 --- a/arch/arm/mach-omap2/pm.c +++ b/arch/arm/mach-omap2/pm.c | |||
@@ -81,9 +81,12 @@ static void omap2_init_processor_devices(void) | |||
81 | { | 81 | { |
82 | _init_omap_device("mpu", &mpu_dev); | 82 | _init_omap_device("mpu", &mpu_dev); |
83 | _init_omap_device("iva", &iva_dev); | 83 | _init_omap_device("iva", &iva_dev); |
84 | if (cpu_is_omap44xx()) | 84 | if (cpu_is_omap44xx()) { |
85 | _init_omap_device("l3_main_1", &l3_dev); | ||
85 | _init_omap_device("dsp", &dsp_dev); | 86 | _init_omap_device("dsp", &dsp_dev); |
86 | _init_omap_device("l3_main", &l3_dev); | 87 | } else { |
88 | _init_omap_device("l3_main", &l3_dev); | ||
89 | } | ||
87 | } | 90 | } |
88 | 91 | ||
89 | /* | 92 | /* |