arm: tegra: loki:set correct regulator for usb phy
Jun Yan [Tue, 6 Aug 2013 02:59:36 +0000 (19:59 -0700)]
Set regulator map to battery to prevent error prints
from usb_phy

Change-Id: I15225073044b67aad93247b714ed93d5b26012ac
Signed-off-by: Jun Yan <juyan@nvidia.com>
Reviewed-on: http://git-master/r/269863
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

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

index 09f6d12..51e1d14 100644 (file)
@@ -507,6 +507,8 @@ static struct platform_device fixed_reg_en_##_var##_dev = { \
 /* Always ON Battery regulator */
 static struct regulator_consumer_supply fixed_reg_en_battery_supply[] = {
                REGULATOR_SUPPLY("vdd_sys_bl", NULL),
+               REGULATOR_SUPPLY("usb_vbus", "tegra-ehci.1"),
+               REGULATOR_SUPPLY("usb_vbus", "tegra-ehci.2"),
 };
 
 static struct regulator_consumer_supply fixed_reg_en_modem_3v3_supply[] = {