USB: ehci-omap: Don't select any PHY driver
authorRoger Quadros <rogerq@ti.com>
Mon, 15 Apr 2013 11:50:34 +0000 (14:50 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Apr 2013 17:03:07 +0000 (10:03 -0700)
Don't select NOP_USB_XCEIV. Instead, board config
must select USB_PHY and the appropriate PHY driver.

Also add a hint in Kconfig so that users enabling
this driver manually enable the right PHY drivers as well.

Gets rid of the below warnings when USB_EHCI_HCD_OMAP
is enabled.

warning: (USB_EHCI_HCD_OMAP) selects NOP_USB_XCEIV which has unmet direct dependencies (USB_SUPPORT && USB_PHY)
warning: (USB_EHCI_HCD_OMAP) selects NOP_USB_XCEIV which has unmet direct dependencies (USB_SUPPORT && USB_PHY)

Signed-off-by: Roger Quadros <rogerq@ti.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/Kconfig

index c0be25c..c558472 100644 (file)
@@ -150,11 +150,13 @@ config USB_EHCI_MXC
 config USB_EHCI_HCD_OMAP
        tristate "EHCI support for OMAP3 and later chips"
        depends on ARCH_OMAP
-       select NOP_USB_XCEIV
        default y
        ---help---
          Enables support for the on-chip EHCI controller on
          OMAP3 and later chips.
+         If your system uses a PHY on the USB port, you will need to
+         enable USB_PHY and the appropriate PHY driver as well. Most
+         boards need the NOP_USB_XCEIV PHY driver.
 
 config USB_EHCI_HCD_ORION
        tristate  "Support for Marvell EBU on-chip EHCI USB controller"