]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/usb/phy/Kconfig
Merge branch 'acpi-bind'
[karo-tx-linux.git] / drivers / usb / phy / Kconfig
index 3622fff8b798adeeda9ba5a94f1b0b182d1fc839..d5589f9c60a92e3c96757c8a6ba1fd6a171e01b1 100644 (file)
@@ -1,22 +1,10 @@
 #
 # Physical Layer USB driver configuration
 #
-menuconfig USB_PHY
-       bool "USB Physical Layer drivers"
-       help
-         Most USB controllers have the physical layer signalling part
-         (commonly called a PHY) built in.  However, dual-role devices
-         (a.k.a. USB on-the-go) which support being USB master or slave
-         with the same connector often use an external PHY.
-
-         The drivers in this submenu add support for such PHY devices.
-         They are not needed for standard master-only (or the vast
-         majority of slave-only) USB interfaces.
+menu "USB Physical Layer drivers"
 
-         If you're not sure if this applies to you, it probably doesn't;
-         say N here.
-
-if USB_PHY
+config USB_PHY
+       def_bool n
 
 #
 # USB Transceiver Drivers
@@ -24,6 +12,7 @@ if USB_PHY
 config AB8500_USB
        tristate "AB8500 USB Transceiver Driver"
        depends on AB8500_CORE
+       select USB_PHY
        help
          Enable this to support the USB OTG transceiver in AB8500 chip.
          This transceiver supports high and full speed devices plus,
@@ -33,12 +22,14 @@ config FSL_USB2_OTG
        bool "Freescale USB OTG Transceiver Driver"
        depends on USB_EHCI_FSL && USB_FSL_USB2 && PM_RUNTIME
        select USB_OTG
+       select USB_PHY
        help
          Enable this to support Freescale USB OTG transceiver.
 
 config ISP1301_OMAP
        tristate "Philips ISP1301 with OMAP OTG"
        depends on I2C && ARCH_OMAP_OTG
+       select USB_PHY
        help
          If you say yes here you get support for the Philips ISP1301
          USB-On-The-Go transceiver working with the OMAP OTG controller.
@@ -52,12 +43,14 @@ config ISP1301_OMAP
 config MV_U3D_PHY
        bool "Marvell USB 3.0 PHY controller Driver"
        depends on CPU_MMP3
+       select USB_PHY
        help
          Enable this to support Marvell USB 3.0 phy controller for Marvell
          SoC.
 
 config NOP_USB_XCEIV
        tristate "NOP USB Transceiver Driver"
+       select USB_PHY
        help
          This driver is to be used by all the usb transceiver which are either
          built-in with usb ip or which are autonomous and doesn't require any
@@ -65,6 +58,7 @@ config NOP_USB_XCEIV
 
 config OMAP_CONTROL_USB
        tristate "OMAP CONTROL USB Driver"
+       depends on ARCH_OMAP2PLUS || COMPILE_TEST
        help
          Enable this to add support for the USB part present in the control
          module. This driver has API to power on the USB2 PHY and to write to
@@ -76,6 +70,7 @@ config OMAP_USB2
        tristate "OMAP USB2 PHY Driver"
        depends on ARCH_OMAP2PLUS
        select OMAP_CONTROL_USB
+       select USB_PHY
        help
          Enable this to support the transceiver that is part of SOC. This
          driver takes care of all the PHY functionality apart from comparator.
@@ -84,13 +79,27 @@ config OMAP_USB2
 
 config OMAP_USB3
        tristate "OMAP USB3 PHY Driver"
+       depends on ARCH_OMAP2PLUS || COMPILE_TEST
        select OMAP_CONTROL_USB
+       select USB_PHY
        help
          Enable this to support the USB3 PHY that is part of SOC. This
          driver takes care of all the PHY functionality apart from comparator.
          This driver interacts with the "OMAP Control USB Driver" to power
          on/off the PHY.
 
+config AM335X_CONTROL_USB
+       tristate
+
+config AM335X_PHY_USB
+       tristate "AM335x USB PHY Driver"
+       select USB_PHY
+       select AM335X_CONTROL_USB
+       select NOP_USB_XCEIV
+       help
+         This driver provides PHY support for that phy which part for the
+         AM335x SoC.
+
 config SAMSUNG_USBPHY
        tristate
        help
@@ -101,6 +110,7 @@ config SAMSUNG_USBPHY
 config SAMSUNG_USB2PHY
        tristate "Samsung USB 2.0 PHY controller Driver"
        select SAMSUNG_USBPHY
+       select USB_PHY
        help
          Enable this to support Samsung USB 2.0 (High Speed) PHY controller
          driver for Samsung SoCs.
@@ -108,6 +118,7 @@ config SAMSUNG_USB2PHY
 config SAMSUNG_USB3PHY
        tristate "Samsung USB 3.0 PHY controller Driver"
        select SAMSUNG_USBPHY
+       select USB_PHY
        help
          Enable this to support Samsung USB 3.0 (Super Speed) phy controller
          for samsung SoCs.
@@ -115,6 +126,7 @@ config SAMSUNG_USB3PHY
 config TWL4030_USB
        tristate "TWL4030 USB Transceiver Driver"
        depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS
+       select USB_PHY
        help
          Enable this to support the USB OTG transceiver on TWL4030
          family chips (including the TWL5030 and TPS659x0 devices).
@@ -135,6 +147,7 @@ config TWL6030_USB
 config USB_GPIO_VBUS
        tristate "GPIO based peripheral-only VBUS sensing 'transceiver'"
        depends on GPIOLIB
+       select USB_PHY
        help
          Provides simple GPIO VBUS sensing for controllers with an
          internal transceiver via the usb_phy interface, and
@@ -145,6 +158,7 @@ config USB_ISP1301
        tristate "NXP ISP1301 USB transceiver support"
        depends on USB || USB_GADGET
        depends on I2C
+       select USB_PHY
        help
          Say Y here to add support for the NXP ISP1301 USB transceiver driver.
          This chip is typically used as USB transceiver for USB host, gadget
@@ -156,6 +170,7 @@ config USB_ISP1301
 config USB_MSM_OTG
        tristate "OTG support for Qualcomm on-chip USB controller"
        depends on (USB || USB_GADGET) && ARCH_MSM
+       select USB_PHY
        help
          Enable this to support the USB OTG transceiver on MSM chips. It
          handles PHY initialization, clock management, and workarounds
@@ -169,6 +184,7 @@ config USB_MV_OTG
        tristate "Marvell USB OTG support"
        depends on USB_EHCI_MV && USB_MV_UDC && PM_RUNTIME
        select USB_OTG
+       select USB_PHY
        help
          Say Y here if you want to build Marvell USB OTG transciever
          driver in kernel (including PXA and MMP series). This driver
@@ -180,6 +196,7 @@ config USB_MXS_PHY
        tristate "Freescale MXS USB PHY support"
        depends on ARCH_MXC || ARCH_MXS
        select STMP_DEVICE
+       select USB_PHY
        help
          Enable this to support the Freescale MXS USB PHY.
 
@@ -188,6 +205,7 @@ config USB_MXS_PHY
 config USB_RCAR_PHY
        tristate "Renesas R-Car USB PHY support"
        depends on USB || USB_GADGET
+       select USB_PHY
        help
          Say Y here to add support for the Renesas R-Car USB common PHY driver.
          This chip is typically used as USB PHY for USB host, gadget.
@@ -210,4 +228,4 @@ config USB_ULPI_VIEWPORT
          Provides read/write operations to the ULPI phy register set for
          controllers with a viewport register (e.g. Chipidea/ARC controllers).
 
-endif # USB_PHY
+endmenu