Skip to contentSkip to conversation

USB:musb:fix dependency of selecting TWL4030_USB

PATCH In review [email protected] 2 participants 3 messages Aug 1, 2009

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

PATCH 1/1 USB:musb:fix dependency of selecting TWL4030_USB

From: Ming Lei <[email protected]>

All machines based on OMAP34XX should select TWL_4030_USB if they want to support musb.

---
 drivers/usb/musb/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/usb/musb/Kconfig +1 -1
index 70073b1..6ac465e 100644
@@ -11,7 +11,7 @@ config USB_MUSB_HDRC
 	depends on (USB || USB_GADGET) && HAVE_CLK
 	depends on !SUPERH
 	select NOP_USB_XCEIV if ARCH_DAVINCI
-	select TWL4030_USB if MACH_OMAP_3430SDP
+	select TWL4030_USB if ARCH_OMAP34XX
 	select USB_OTG_UTILS
 	tristate 'Inventra Highspeed Dual Role Controller (TI, ADI, ...)'
 	help
Signature · 1 line
1.6.0.GIT
#1 lore raw
Quoted 5 lines · Ming Lei

From: Ming Lei <[email protected]>

All machines based on OMAP34XX should select TWL_4030_USB if they want to support musb.

Not really. The OMAP3 EVM uses an NXP ISP1504 transceiver instead, and so registers a NOP transceiver instead.

- Anand

Quoted 22 lines
---
 drivers/usb/musb/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/usb/musb/Kconfig +1 -2
index 70073b1..6ac465e 100644
@@ -11,7 +11,7 @@ config USB_MUSB_HDRC
        depends on (USB || USB_GADGET) && HAVE_CLK
        depends on !SUPERH
        select NOP_USB_XCEIV if ARCH_DAVINCI
-       select TWL4030_USB if MACH_OMAP_3430SDP
+       select TWL4030_USB if ARCH_OMAP34XX
        select USB_OTG_UTILS
        tristate 'Inventra Highspeed Dual Role Controller (TI, ADI, ...)'
        help
--

1.6.0.GIT

author
#2 lore raw

2009/8/1 Gadiyar, Anand <[email protected]>:

Quoted 9 lines
Quoted 5 lines · Ming Lei

From: Ming Lei <[email protected]>

All machines based on OMAP34XX should select TWL_4030_USB if they want to support musb.

Not really. The OMAP3 EVM uses an NXP ISP1504 transceiver instead, and so registers a NOP transceiver instead.

Oh, I forget that twl4030 is a standalone chip, so please ignore the patch.

Maybe we should remove the dependency on MACH_OMAP_3430SDP, because many machines may use twl4030.

Signature · 1 line
Lei Ming