Skip to contentSkip to conversation

ARM:omap3:board-omap3beagle.c:support twl4030_usb transceiver device

PATCH New [email protected] 1 participant 1 message Aug 1, 2009

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM:omap3:board-omap3beagle.c:support twl4030_usb transceiver device

From: Ming Lei <[email protected]>

This patch defines twl4030_usb_data as platform_data, which can be passed to twl4030 mfd driver to build twl4030_usb device. Without twl4030_usb device, we can not use musb on beagle board.

---
 arch/arm/mach-omap2/board-omap3beagle.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
arch/arm/mach-omap2/board-omap3beagle.c +4 -0
index 991ac9c..b8c1ae9 100644
@@ -249,6 +249,9 @@ static struct regulator_init_data beagle_vpll2 = {
 	.consumer_supplies	= &beagle_vdvi_supply,
 };
 
+static struct twl4030_usb_data beagle_usb = {
+	.usb_mode	= T2_USB_MODE_ULPI,
+};
 static struct twl4030_platform_data beagle_twldata = {
 	.irq_base	= TWL4030_IRQ_BASE,
 	.irq_end	= TWL4030_IRQ_END,
@@ -259,6 +262,7 @@ static struct twl4030_platform_data beagle_twldata = {
 	.vsim		= &beagle_vsim,
 	.vdac		= &beagle_vdac,
 	.vpll2		= &beagle_vpll2,
+	.usb		= &beagle_usb,
 };
 
 static struct i2c_board_info __initdata beagle_i2c_boardinfo[] = {
Signature · 7 lines
1.6.0.GIT


-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php