[PATCH 7/7] musb: set 'extvbus' for OMAP3EVM Rev >=E

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



MUSB interface can source 500mA on OMAP3EVM Rev >= E while Rev < E
supports only 100mA so setting 'extvbus' flag to '1' for OMAP3EVM
Rev >= E.

Signed-off-by: Ajay Kumar Gupta <ajay.gupta@xxxxxx>
---
 arch/arm/mach-omap2/board-omap3evm.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c
index 0bcf909..a3c8344 100644
--- a/arch/arm/mach-omap2/board-omap3evm.c
+++ b/arch/arm/mach-omap2/board-omap3evm.c
@@ -428,6 +428,8 @@ static void __init omap3_evm_init(void)
 		omap_cfg_reg(AH14_34XX_GPIO21);
 		ehci_pdata.reset_gpio_port[1] = 21;
 
+		/* set flag to program ULPI_BUSCONTROL */
+		musb_bdata.extvbus = 1;
 	} else {
 		/* setup EHCI phy reset on MDC */
 		omap_cfg_reg(AF4_34XX_GPIO135_OUT);
-- 
1.6.2.4

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux