ARM: tegra: roth: add entry for wifi/bt/gps rail consumer
Laxman Dewangan [Thu, 15 Nov 2012 18:42:05 +0000 (13:42 -0500)]
Add consumer entry for WIFI/BT/GPS modules 3v3 and 1v8 rail.

Reviewed-on: http://git-master/r/164009
(cherry picked from commit 91414fd1cda0e9f75c1ffcdb1796aed9331597d1)
Change-Id: I25e94afb024de7864abee0083354ba602ff83399
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Vikram Kanigiri <vkanigiri@nvidia.com>
Reviewed-on: http://git-master/r/164868
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

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

index b3b0364..b746048 100644 (file)
@@ -368,12 +368,16 @@ static struct regulator_consumer_supply fixed_reg_ts_3v3_supply[] = {
 
 /* VDD_3V3_COM controled by Wifi */
 static struct regulator_consumer_supply fixed_reg_com_3v3_supply[] = {
-       REGULATOR_SUPPLY("vdd_3v3_com", NULL),
+       REGULATOR_SUPPLY("vdd_wl_pa", "bcm4329_wlan.1"),
+       REGULATOR_SUPPLY("vdd_wl_pa", "reg-userspace-consumer.1"),
+       REGULATOR_SUPPLY("vdd_wl_pa", "reg-userspace-consumer.2"),
 };
 
 /* VDD_1v8_COM controled by Wifi */
 static struct regulator_consumer_supply fixed_reg_com_1v8_supply[] = {
-       REGULATOR_SUPPLY("vdd_1v8_com", NULL),
+       REGULATOR_SUPPLY("vddio", "bcm4329_wlan.1"),
+       REGULATOR_SUPPLY("vddio", "reg-userspace-consumer.1"),
+       REGULATOR_SUPPLY("vddio", "reg-userspace-consumer.2"),
 };
 
 /* vdd_3v3_sd PH0 */