-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 226572 b: refs/heads/master c: f5a6422 h: refs/heads/master v: v3
- Loading branch information
Nishanth Menon
authored and
Kevin Hilman
committed
Dec 21, 2010
1 parent
362f391
commit c1e0072
Showing
5 changed files
with
66 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: fd1478cd61624479c89e35602925459d74505ff3 | ||
refs/heads/master: f5a6422d4e0e85a9c7f5522d3321254bfdfa7f04 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
/* | ||
* OMAP4 OPP table definitions. | ||
* | ||
* Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/ | ||
* Nishanth Menon | ||
* Kevin Hilman | ||
* Thara Gopinath | ||
* Copyright (C) 2010 Nokia Corporation. | ||
* Eduardo Valentin | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 2 as | ||
* published by the Free Software Foundation. | ||
* | ||
* This program is distributed "as is" WITHOUT ANY WARRANTY of any | ||
* kind, whether express or implied; without even the implied warranty | ||
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
*/ | ||
#include <linux/module.h> | ||
|
||
#include <plat/cpu.h> | ||
|
||
#include "omap_opp_data.h" | ||
|
||
static struct omap_opp_def __initdata omap44xx_opp_def_list[] = { | ||
/* MPU OPP1 - OPP50 */ | ||
OPP_INITIALIZER("mpu", true, 300000000, 1100000), | ||
/* MPU OPP2 - OPP100 */ | ||
OPP_INITIALIZER("mpu", true, 600000000, 1200000), | ||
/* MPU OPP3 - OPP-Turbo */ | ||
OPP_INITIALIZER("mpu", false, 800000000, 1260000), | ||
/* MPU OPP4 - OPP-SB */ | ||
OPP_INITIALIZER("mpu", false, 1008000000, 1350000), | ||
/* L3 OPP1 - OPP50 */ | ||
OPP_INITIALIZER("l3_main_1", true, 100000000, 930000), | ||
/* L3 OPP2 - OPP100, OPP-Turbo, OPP-SB */ | ||
OPP_INITIALIZER("l3_main_1", true, 200000000, 1100000), | ||
/* TODO: add IVA, DSP, aess, fdif, gpu */ | ||
}; | ||
|
||
/** | ||
* omap4_opp_init() - initialize omap4 opp table | ||
*/ | ||
static int __init omap4_opp_init(void) | ||
{ | ||
int r = -ENODEV; | ||
|
||
if (!cpu_is_omap44xx()) | ||
return r; | ||
|
||
r = omap_init_opp_table(omap44xx_opp_def_list, | ||
ARRAY_SIZE(omap44xx_opp_def_list)); | ||
|
||
return r; | ||
} | ||
device_initcall(omap4_opp_init); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters