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>
This commit is contained in:
parent
55d2cb0814
commit
cbf27660e6
1 changed files with 5 additions and 2 deletions
|
@ -81,10 +81,13 @@ static void omap2_init_processor_devices(void)
|
||||||
{
|
{
|
||||||
_init_omap_device("mpu", &mpu_dev);
|
_init_omap_device("mpu", &mpu_dev);
|
||||||
_init_omap_device("iva", &iva_dev);
|
_init_omap_device("iva", &iva_dev);
|
||||||
if (cpu_is_omap44xx())
|
if (cpu_is_omap44xx()) {
|
||||||
|
_init_omap_device("l3_main_1", &l3_dev);
|
||||||
_init_omap_device("dsp", &dsp_dev);
|
_init_omap_device("dsp", &dsp_dev);
|
||||||
|
} else {
|
||||||
_init_omap_device("l3_main", &l3_dev);
|
_init_omap_device("l3_main", &l3_dev);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This sets pwrdm state (other than mpu & core. Currently only ON &
|
* This sets pwrdm state (other than mpu & core. Currently only ON &
|
||||||
|
|
Loading…
Add table
Reference in a new issue