arm: tegra: cardhu: power: SDMMC1 in ldo5 as default.
Laxman Dewangan [Mon, 31 Jan 2011 09:39:47 +0000 (14:39 +0530)]
The power rail for sdmmc1 is from LDO3 on E1187 and LDO5 in E1198.
Making the entry for E1198 as default. The E1187 based cofiguration
can be enabled by enabling corresponding config variable.

Original-Change-Id: Id296ca152a00eb865f2ef1dfe6f6147a9956cb38
Reviewed-on: http://git-master/r/17664
Reviewed-by: Mohit Singh <mpsingh@nvidia.com>
Tested-by: Mohit Singh <mpsingh@nvidia.com>
Reviewed-by: Ramachandrudu Kandhala <rkandhala@nvidia.com>
Original-Change-Id: Iecbaec9580410b47f17a4801c8376f6d0fa44c8a

Rebase-Id: R122c13973fba3431edee4bd1c06dd0b4c27f315b

arch/arm/mach-tegra/board-cardhu-power.c

index 9a01634..0f27823 100644 (file)
@@ -99,9 +99,15 @@ static struct regulator_consumer_supply tps6591x_ldo2_supply[] = {
        REGULATOR_SUPPLY("avdd_plle", NULL),
 };
 
+#if defined(CONFIG_TEGRA_VERBIER_E1187)
 static struct regulator_consumer_supply tps6591x_ldo3_supply[] = {
        REGULATOR_SUPPLY("vddio_sdmmc1", NULL),
 };
+#else
+static struct regulator_consumer_supply tps6591x_ldo3_supply[] = {
+       REGULATOR_SUPPLY("unused_rail_ldo3", NULL),
+};
+#endif
 
 static struct regulator_consumer_supply tps6591x_ldo4_supply[] = {
        REGULATOR_SUPPLY("vdd_rtc", NULL),
@@ -109,6 +115,9 @@ static struct regulator_consumer_supply tps6591x_ldo4_supply[] = {
 
 static struct regulator_consumer_supply tps6591x_ldo5_supply[] = {
        REGULATOR_SUPPLY("avdd_vdac", NULL),
+#if !defined(CONFIG_TEGRA_VERBIER_E1187)
+       REGULATOR_SUPPLY("vddio_sdmmc1", NULL),
+#endif
 };
 static struct regulator_consumer_supply tps6591x_ldo6_supply[] = {
        REGULATOR_SUPPLY("avdd_dsi_csi", NULL),