summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishwanath BS <vishwanath.bs@ti.com>2012-02-23 17:34:37 +0800
committerAndy Green <andy.green@linaro.org>2012-06-20 10:27:33 +0800
commitfd98e92d8a99dbd81f2aff5d3fb1c0c9affca8a4 (patch)
treeeb561b3829a84c83c3cb20dd6e80f5b3074c640e
parentee7ad12a0b3bb832c0b623ae2f044ed4dd250205 (diff)
OMAP5 OPP: Enable MMC OPP
MMC OPPs have to be enabled for non pm standalone build. Signed-off-by: Vishwanath BS <vishwanath.bs@ti.com>
-rw-r--r--arch/arm/mach-omap2/opp5xxx_data.c21
1 files changed, 11 insertions, 10 deletions
diff --git a/arch/arm/mach-omap2/opp5xxx_data.c b/arch/arm/mach-omap2/opp5xxx_data.c
index ee807895b4b..f8fa94fc768 100644
--- a/arch/arm/mach-omap2/opp5xxx_data.c
+++ b/arch/arm/mach-omap2/opp5xxx_data.c
@@ -172,16 +172,6 @@ static struct omap_opp_def __initdata omap54xx_opp_def_list[] = {
OPP_INITIALIZER("l3_main_1", "virt_l3_ck", "core", true, 266000000, OMAP5430_VDD_CORE_OPP_NOM),
/* TODO: Uncomment the following once we have drivers for them */
#if 0
- /* MMC1 OPP1 - OPPLOW */
- OPP_INITIALIZER("mmc1", "mmc1_fclk", "core", true, 96000000, OMAP5430_VDD_CORE_OPP_LOW),
- /* MMC1 OPP2 - OPPNOM */
- OPP_INITIALIZER("mmc1", "mmc1_fclk", "core", true, 192000000, OMAP5430_VDD_CORE_OPP_NOM),
-
- /* MMC2 OPP1 - OPPLOW */
- OPP_INITIALIZER("mmc2", "mmc2_fclk", "core", true, 96000000, OMAP5430_VDD_CORE_OPP_LOW),
- /* MMC2 OPP2 - OPPNOM */
- OPP_INITIALIZER("mmc2", "mmc2_fclk", "core", true, 192000000, OMAP5430_VDD_CORE_OPP_NOM),
-
/* FDIF OPP1 - OPPLOW */
OPP_INITIALIZER("fdif", "fdif_fck", "core", true, 64000000, OMAP5430_VDD_CORE_OPP_LOW),
/* FDIF OPP3 - OPPNOM */
@@ -199,6 +189,17 @@ static struct omap_opp_def __initdata omap54xx_opp_def_list[] = {
#endif
#ifndef CONFIG_OMAP_PM_STANDALONE
+ /* MMC1 OPP1 - OPPLOW */
+ OPP_INITIALIZER("mmc1", "mmc1_fclk", "core", true, 96000000, OMAP5430_VDD_CORE_OPP_LOW),
+ /* MMC1 OPP2 - OPPNOM */
+ OPP_INITIALIZER("mmc1", "mmc1_fclk", "core", true, 192000000, OMAP5430_VDD_CORE_OPP_NOM),
+
+ /* MMC2 OPP1 - OPPLOW */
+ OPP_INITIALIZER("mmc2", "mmc2_fclk", "core", true, 96000000, OMAP5430_VDD_CORE_OPP_LOW),
+ /* MMC2 OPP2 - OPPNOM */
+ OPP_INITIALIZER("mmc2", "mmc2_fclk", "core", true, 192000000, OMAP5430_VDD_CORE_OPP_NOM),
+
+
/* IVA OPP1 - OPPLOW */
OPP_INITIALIZER("iva", "dpll_iva_h12x2_ck", "mm", true, 194200000, OMAP5430_VDD_MM_OPP_LOW),
/* IVA OPP2 - OPPNOM */