diff options
| -rw-r--r-- | drivers/usb/Kconfig | 2 | ||||
| -rw-r--r-- | drivers/usb/Makefile | 2 | ||||
| -rw-r--r-- | drivers/usb/otg/Kconfig | 141 | ||||
| -rw-r--r-- | drivers/usb/otg/Makefile | 21 | ||||
| -rw-r--r-- | drivers/usb/phy/Kconfig | 168 | ||||
| -rw-r--r-- | drivers/usb/phy/Makefile | 24 | ||||
| -rw-r--r-- | drivers/usb/phy/ab8500-usb.c (renamed from drivers/usb/otg/ab8500-usb.c) | 0 | ||||
| -rw-r--r-- | drivers/usb/phy/fsl_otg.c (renamed from drivers/usb/otg/fsl_otg.c) | 0 | ||||
| -rw-r--r-- | drivers/usb/phy/fsl_otg.h (renamed from drivers/usb/otg/fsl_otg.h) | 0 | ||||
| -rw-r--r-- | drivers/usb/phy/gpio_vbus.c (renamed from drivers/usb/otg/gpio_vbus.c) | 0 | ||||
| -rw-r--r-- | drivers/usb/phy/isp1301_omap.c (renamed from drivers/usb/otg/isp1301_omap.c) | 0 | ||||
| -rw-r--r-- | drivers/usb/phy/msm_otg.c (renamed from drivers/usb/otg/msm_otg.c) | 0 | ||||
| -rw-r--r-- | drivers/usb/phy/mv_otg.c (renamed from drivers/usb/otg/mv_otg.c) | 0 | ||||
| -rw-r--r-- | drivers/usb/phy/mv_otg.h (renamed from drivers/usb/otg/mv_otg.h) | 0 | ||||
| -rw-r--r-- | drivers/usb/phy/mxs-phy.c (renamed from drivers/usb/otg/mxs-phy.c) | 0 | ||||
| -rw-r--r-- | drivers/usb/phy/nop-usb-xceiv.c (renamed from drivers/usb/otg/nop-usb-xceiv.c) | 0 | ||||
| -rw-r--r-- | drivers/usb/phy/otg_fsm.c (renamed from drivers/usb/otg/otg_fsm.c) | 0 | ||||
| -rw-r--r-- | drivers/usb/phy/otg_fsm.h (renamed from drivers/usb/otg/otg_fsm.h) | 0 | ||||
| -rw-r--r-- | drivers/usb/phy/twl4030-usb.c (renamed from drivers/usb/otg/twl4030-usb.c) | 0 | ||||
| -rw-r--r-- | drivers/usb/phy/twl6030-usb.c (renamed from drivers/usb/otg/twl6030-usb.c) | 0 | ||||
| -rw-r--r-- | drivers/usb/phy/ulpi.c (renamed from drivers/usb/otg/ulpi.c) | 0 | ||||
| -rw-r--r-- | drivers/usb/phy/ulpi_viewport.c (renamed from drivers/usb/otg/ulpi_viewport.c) | 0 |
22 files changed, 171 insertions, 187 deletions
diff --git a/drivers/usb/Kconfig b/drivers/usb/Kconfig index 640ae6c6d2d2..2c481b808276 100644 --- a/drivers/usb/Kconfig +++ b/drivers/usb/Kconfig | |||
| @@ -186,6 +186,4 @@ source "drivers/usb/atm/Kconfig" | |||
| 186 | 186 | ||
| 187 | source "drivers/usb/gadget/Kconfig" | 187 | source "drivers/usb/gadget/Kconfig" |
| 188 | 188 | ||
| 189 | source "drivers/usb/otg/Kconfig" | ||
| 190 | |||
| 191 | endif # USB_SUPPORT | 189 | endif # USB_SUPPORT |
diff --git a/drivers/usb/Makefile b/drivers/usb/Makefile index 8f5ebced5df0..860306b14392 100644 --- a/drivers/usb/Makefile +++ b/drivers/usb/Makefile | |||
| @@ -6,8 +6,6 @@ | |||
| 6 | 6 | ||
| 7 | obj-$(CONFIG_USB) += core/ | 7 | obj-$(CONFIG_USB) += core/ |
| 8 | 8 | ||
| 9 | obj-$(CONFIG_USB_OTG_UTILS) += otg/ | ||
| 10 | |||
| 11 | obj-$(CONFIG_USB_DWC3) += dwc3/ | 9 | obj-$(CONFIG_USB_DWC3) += dwc3/ |
| 12 | 10 | ||
| 13 | obj-$(CONFIG_USB_MON) += mon/ | 11 | obj-$(CONFIG_USB_MON) += mon/ |
diff --git a/drivers/usb/otg/Kconfig b/drivers/usb/otg/Kconfig deleted file mode 100644 index 37962c99ff1e..000000000000 --- a/drivers/usb/otg/Kconfig +++ /dev/null | |||
| @@ -1,141 +0,0 @@ | |||
| 1 | # | ||
| 2 | # USB OTG infrastructure may be needed for peripheral-only, host-only, | ||
| 3 | # or OTG-capable configurations when OTG transceivers or controllers | ||
| 4 | # are used. | ||
| 5 | # | ||
| 6 | |||
| 7 | comment "OTG and related infrastructure" | ||
| 8 | |||
| 9 | config USB_OTG_UTILS | ||
| 10 | bool | ||
| 11 | help | ||
| 12 | Select this to make sure the build includes objects from | ||
| 13 | the OTG infrastructure directory. | ||
| 14 | |||
| 15 | if USB || USB_GADGET | ||
| 16 | |||
| 17 | # | ||
| 18 | # USB Transceiver Drivers | ||
| 19 | # | ||
| 20 | config USB_GPIO_VBUS | ||
| 21 | tristate "GPIO based peripheral-only VBUS sensing 'transceiver'" | ||
| 22 | depends on GENERIC_GPIO | ||
| 23 | select USB_OTG_UTILS | ||
| 24 | help | ||
| 25 | Provides simple GPIO VBUS sensing for controllers with an | ||
| 26 | internal transceiver via the usb_phy interface, and | ||
| 27 | optionally control of a D+ pullup GPIO as well as a VBUS | ||
| 28 | current limit regulator. | ||
| 29 | |||
| 30 | config ISP1301_OMAP | ||
| 31 | tristate "Philips ISP1301 with OMAP OTG" | ||
| 32 | depends on I2C && ARCH_OMAP_OTG | ||
| 33 | select USB_OTG_UTILS | ||
| 34 | help | ||
| 35 | If you say yes here you get support for the Philips ISP1301 | ||
| 36 | USB-On-The-Go transceiver working with the OMAP OTG controller. | ||
| 37 | The ISP1301 is a full speed USB transceiver which is used in | ||
| 38 | products including H2, H3, and H4 development boards for Texas | ||
| 39 | Instruments OMAP processors. | ||
| 40 | |||
| 41 | This driver can also be built as a module. If so, the module | ||
| 42 | will be called isp1301_omap. | ||
| 43 | |||
| 44 | config USB_ULPI | ||
| 45 | bool "Generic ULPI Transceiver Driver" | ||
| 46 | depends on ARM | ||
| 47 | select USB_OTG_UTILS | ||
| 48 | help | ||
| 49 | Enable this to support ULPI connected USB OTG transceivers which | ||
| 50 | are likely found on embedded boards. | ||
| 51 | |||
| 52 | config USB_ULPI_VIEWPORT | ||
| 53 | bool | ||
| 54 | depends on USB_ULPI | ||
| 55 | help | ||
| 56 | Provides read/write operations to the ULPI phy register set for | ||
| 57 | controllers with a viewport register (e.g. Chipidea/ARC controllers). | ||
| 58 | |||
| 59 | config TWL4030_USB | ||
| 60 | tristate "TWL4030 USB Transceiver Driver" | ||
| 61 | depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS | ||
| 62 | select USB_OTG_UTILS | ||
| 63 | help | ||
| 64 | Enable this to support the USB OTG transceiver on TWL4030 | ||
| 65 | family chips (including the TWL5030 and TPS659x0 devices). | ||
| 66 | This transceiver supports high and full speed devices plus, | ||
| 67 | in host mode, low speed. | ||
| 68 | |||
| 69 | config TWL6030_USB | ||
| 70 | tristate "TWL6030 USB Transceiver Driver" | ||
| 71 | depends on TWL4030_CORE && OMAP_USB2 && USB_MUSB_OMAP2PLUS | ||
| 72 | select USB_OTG_UTILS | ||
| 73 | help | ||
| 74 | Enable this to support the USB OTG transceiver on TWL6030 | ||
| 75 | family chips. This TWL6030 transceiver has the VBUS and ID GND | ||
| 76 | and OTG SRP events capabilities. For all other transceiver functionality | ||
| 77 | UTMI PHY is embedded in OMAP4430. The internal PHY configurations APIs | ||
| 78 | are hooked to this driver through platform_data structure. | ||
| 79 | The definition of internal PHY APIs are in the mach-omap2 layer. | ||
| 80 | |||
| 81 | config NOP_USB_XCEIV | ||
| 82 | tristate "NOP USB Transceiver Driver" | ||
| 83 | select USB_OTG_UTILS | ||
| 84 | help | ||
| 85 | This driver is to be used by all the usb transceiver which are either | ||
| 86 | built-in with usb ip or which are autonomous and doesn't require any | ||
| 87 | phy programming such as ISP1x04 etc. | ||
| 88 | |||
| 89 | config USB_MSM_OTG | ||
| 90 | tristate "OTG support for Qualcomm on-chip USB controller" | ||
| 91 | depends on (USB || USB_GADGET) && ARCH_MSM | ||
| 92 | select USB_OTG_UTILS | ||
| 93 | help | ||
| 94 | Enable this to support the USB OTG transceiver on MSM chips. It | ||
| 95 | handles PHY initialization, clock management, and workarounds | ||
| 96 | required after resetting the hardware and power management. | ||
| 97 | This driver is required even for peripheral only or host only | ||
| 98 | mode configurations. | ||
| 99 | This driver is not supported on boards like trout which | ||
| 100 | has an external PHY. | ||
| 101 | |||
| 102 | config AB8500_USB | ||
| 103 | tristate "AB8500 USB Transceiver Driver" | ||
| 104 | depends on AB8500_CORE | ||
| 105 | select USB_OTG_UTILS | ||
| 106 | help | ||
| 107 | Enable this to support the USB OTG transceiver in AB8500 chip. | ||
| 108 | This transceiver supports high and full speed devices plus, | ||
| 109 | in host mode, low speed. | ||
| 110 | |||
| 111 | config FSL_USB2_OTG | ||
| 112 | bool "Freescale USB OTG Transceiver Driver" | ||
| 113 | depends on USB_EHCI_FSL && USB_FSL_USB2 && USB_SUSPEND | ||
| 114 | select USB_OTG | ||
| 115 | select USB_OTG_UTILS | ||
| 116 | help | ||
| 117 | Enable this to support Freescale USB OTG transceiver. | ||
| 118 | |||
| 119 | config USB_MXS_PHY | ||
| 120 | tristate "Freescale MXS USB PHY support" | ||
| 121 | depends on ARCH_MXC || ARCH_MXS | ||
| 122 | select STMP_DEVICE | ||
| 123 | select USB_OTG_UTILS | ||
| 124 | help | ||
| 125 | Enable this to support the Freescale MXS USB PHY. | ||
| 126 | |||
| 127 | MXS Phy is used by some of the i.MX SoCs, for example imx23/28/6x. | ||
| 128 | |||
| 129 | config USB_MV_OTG | ||
| 130 | tristate "Marvell USB OTG support" | ||
| 131 | depends on USB_EHCI_MV && USB_MV_UDC && USB_SUSPEND | ||
| 132 | select USB_OTG | ||
| 133 | select USB_OTG_UTILS | ||
| 134 | help | ||
| 135 | Say Y here if you want to build Marvell USB OTG transciever | ||
| 136 | driver in kernel (including PXA and MMP series). This driver | ||
| 137 | implements role switch between EHCI host driver and gadget driver. | ||
| 138 | |||
| 139 | To compile this driver as a module, choose M here. | ||
| 140 | |||
| 141 | endif # USB || OTG | ||
diff --git a/drivers/usb/otg/Makefile b/drivers/usb/otg/Makefile deleted file mode 100644 index 6abc45388e24..000000000000 --- a/drivers/usb/otg/Makefile +++ /dev/null | |||
| @@ -1,21 +0,0 @@ | |||
| 1 | # | ||
| 2 | # OTG infrastructure and transceiver drivers | ||
| 3 | # | ||
| 4 | |||
| 5 | ccflags-$(CONFIG_USB_DEBUG) := -DDEBUG | ||
| 6 | ccflags-$(CONFIG_USB_GADGET_DEBUG) += -DDEBUG | ||
| 7 | |||
| 8 | # transceiver drivers | ||
| 9 | obj-$(CONFIG_USB_GPIO_VBUS) += gpio_vbus.o | ||
| 10 | obj-$(CONFIG_ISP1301_OMAP) += isp1301_omap.o | ||
| 11 | obj-$(CONFIG_TWL4030_USB) += twl4030-usb.o | ||
| 12 | obj-$(CONFIG_TWL6030_USB) += twl6030-usb.o | ||
| 13 | obj-$(CONFIG_NOP_USB_XCEIV) += nop-usb-xceiv.o | ||
| 14 | obj-$(CONFIG_USB_ULPI) += ulpi.o | ||
| 15 | obj-$(CONFIG_USB_ULPI_VIEWPORT) += ulpi_viewport.o | ||
| 16 | obj-$(CONFIG_USB_MSM_OTG) += msm_otg.o | ||
| 17 | obj-$(CONFIG_AB8500_USB) += ab8500-usb.o | ||
| 18 | fsl_usb2_otg-objs := fsl_otg.o otg_fsm.o | ||
| 19 | obj-$(CONFIG_FSL_USB2_OTG) += fsl_usb2_otg.o | ||
| 20 | obj-$(CONFIG_USB_MXS_PHY) += mxs-phy.o | ||
| 21 | obj-$(CONFIG_USB_MV_OTG) += mv_otg.o | ||
diff --git a/drivers/usb/phy/Kconfig b/drivers/usb/phy/Kconfig index 65217a590068..32ce740a9dd5 100644 --- a/drivers/usb/phy/Kconfig +++ b/drivers/usb/phy/Kconfig | |||
| @@ -4,6 +4,73 @@ | |||
| 4 | comment "USB Physical Layer drivers" | 4 | comment "USB Physical Layer drivers" |
| 5 | depends on USB || USB_GADGET | 5 | depends on USB || USB_GADGET |
| 6 | 6 | ||
| 7 | config USB_OTG_UTILS | ||
| 8 | bool | ||
| 9 | help | ||
| 10 | Select this to make sure the build includes objects from | ||
| 11 | the OTG infrastructure directory. | ||
| 12 | |||
| 13 | if USB || USB_GADGET | ||
| 14 | |||
| 15 | # | ||
| 16 | # USB Transceiver Drivers | ||
| 17 | # | ||
| 18 | config AB8500_USB | ||
| 19 | tristate "AB8500 USB Transceiver Driver" | ||
| 20 | depends on AB8500_CORE | ||
| 21 | select USB_OTG_UTILS | ||
| 22 | help | ||
| 23 | Enable this to support the USB OTG transceiver in AB8500 chip. | ||
| 24 | This transceiver supports high and full speed devices plus, | ||
| 25 | in host mode, low speed. | ||
| 26 | |||
| 27 | config FSL_USB2_OTG | ||
| 28 | bool "Freescale USB OTG Transceiver Driver" | ||
| 29 | depends on USB_EHCI_FSL && USB_FSL_USB2 && USB_SUSPEND | ||
| 30 | select USB_OTG | ||
| 31 | select USB_OTG_UTILS | ||
| 32 | help | ||
| 33 | Enable this to support Freescale USB OTG transceiver. | ||
| 34 | |||
| 35 | config ISP1301_OMAP | ||
| 36 | tristate "Philips ISP1301 with OMAP OTG" | ||
| 37 | depends on I2C && ARCH_OMAP_OTG | ||
| 38 | select USB_OTG_UTILS | ||
| 39 | help | ||
| 40 | If you say yes here you get support for the Philips ISP1301 | ||
| 41 | USB-On-The-Go transceiver working with the OMAP OTG controller. | ||
| 42 | The ISP1301 is a full speed USB transceiver which is used in | ||
| 43 | products including H2, H3, and H4 development boards for Texas | ||
| 44 | Instruments OMAP processors. | ||
| 45 | |||
| 46 | This driver can also be built as a module. If so, the module | ||
| 47 | will be called isp1301_omap. | ||
| 48 | |||
| 49 | config MV_U3D_PHY | ||
| 50 | bool "Marvell USB 3.0 PHY controller Driver" | ||
| 51 | depends on USB_MV_U3D | ||
| 52 | select USB_OTG_UTILS | ||
| 53 | help | ||
| 54 | Enable this to support Marvell USB 3.0 phy controller for Marvell | ||
| 55 | SoC. | ||
| 56 | |||
| 57 | config NOP_USB_XCEIV | ||
| 58 | tristate "NOP USB Transceiver Driver" | ||
| 59 | select USB_OTG_UTILS | ||
| 60 | help | ||
| 61 | This driver is to be used by all the usb transceiver which are either | ||
| 62 | built-in with usb ip or which are autonomous and doesn't require any | ||
| 63 | phy programming such as ISP1x04 etc. | ||
| 64 | |||
| 65 | config OMAP_CONTROL_USB | ||
| 66 | tristate "OMAP CONTROL USB Driver" | ||
| 67 | help | ||
| 68 | Enable this to add support for the USB part present in the control | ||
| 69 | module. This driver has API to power on the USB2 PHY and to write to | ||
| 70 | the mailbox. The mailbox is present only in omap4 and the register to | ||
| 71 | power on the USB2 PHY is present in OMAP4 and OMAP5. OMAP5 has an | ||
| 72 | additional register to power on USB3 PHY. | ||
| 73 | |||
| 7 | config OMAP_USB2 | 74 | config OMAP_USB2 |
| 8 | tristate "OMAP USB2 PHY Driver" | 75 | tristate "OMAP USB2 PHY Driver" |
| 9 | depends on ARCH_OMAP2PLUS | 76 | depends on ARCH_OMAP2PLUS |
| @@ -25,14 +92,45 @@ config OMAP_USB3 | |||
| 25 | This driver interacts with the "OMAP Control USB Driver" to power | 92 | This driver interacts with the "OMAP Control USB Driver" to power |
| 26 | on/off the PHY. | 93 | on/off the PHY. |
| 27 | 94 | ||
| 28 | config OMAP_CONTROL_USB | 95 | config SAMSUNG_USBPHY |
| 29 | tristate "OMAP CONTROL USB Driver" | 96 | bool "Samsung USB PHY controller Driver" |
| 97 | depends on USB_S3C_HSOTG || USB_EHCI_S5P || USB_OHCI_EXYNOS | ||
| 98 | select USB_OTG_UTILS | ||
| 30 | help | 99 | help |
| 31 | Enable this to add support for the USB part present in the control | 100 | Enable this to support Samsung USB phy controller for samsung |
| 32 | module. This driver has API to power on the USB2 PHY and to write to | 101 | SoCs. |
| 33 | the mailbox. The mailbox is present only in omap4 and the register to | 102 | |
| 34 | power on the USB2 PHY is present in OMAP4 and OMAP5. OMAP5 has an | 103 | config TWL4030_USB |
| 35 | additional register to power on USB3 PHY. | 104 | tristate "TWL4030 USB Transceiver Driver" |
| 105 | depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS | ||
| 106 | select USB_OTG_UTILS | ||
| 107 | help | ||
| 108 | Enable this to support the USB OTG transceiver on TWL4030 | ||
| 109 | family chips (including the TWL5030 and TPS659x0 devices). | ||
| 110 | This transceiver supports high and full speed devices plus, | ||
| 111 | in host mode, low speed. | ||
| 112 | |||
| 113 | config TWL6030_USB | ||
| 114 | tristate "TWL6030 USB Transceiver Driver" | ||
| 115 | depends on TWL4030_CORE && OMAP_USB2 && USB_MUSB_OMAP2PLUS | ||
| 116 | select USB_OTG_UTILS | ||
| 117 | help | ||
| 118 | Enable this to support the USB OTG transceiver on TWL6030 | ||
| 119 | family chips. This TWL6030 transceiver has the VBUS and ID GND | ||
| 120 | and OTG SRP events capabilities. For all other transceiver functionality | ||
| 121 | UTMI PHY is embedded in OMAP4430. The internal PHY configurations APIs | ||
| 122 | are hooked to this driver through platform_data structure. | ||
| 123 | The definition of internal PHY APIs are in the mach-omap2 layer. | ||
| 124 | |||
| 125 | config USB_GPIO_VBUS | ||
| 126 | tristate "GPIO based peripheral-only VBUS sensing 'transceiver'" | ||
| 127 | depends on GENERIC_GPIO | ||
| 128 | select USB_OTG_UTILS | ||
| 129 | help | ||
| 130 | Provides simple GPIO VBUS sensing for controllers with an | ||
| 131 | internal transceiver via the usb_phy interface, and | ||
| 132 | optionally control of a D+ pullup GPIO as well as a VBUS | ||
| 133 | current limit regulator. | ||
| 36 | 134 | ||
| 37 | config USB_ISP1301 | 135 | config USB_ISP1301 |
| 38 | tristate "NXP ISP1301 USB transceiver support" | 136 | tristate "NXP ISP1301 USB transceiver support" |
| @@ -46,13 +144,40 @@ config USB_ISP1301 | |||
| 46 | To compile this driver as a module, choose M here: the | 144 | To compile this driver as a module, choose M here: the |
| 47 | module will be called isp1301. | 145 | module will be called isp1301. |
| 48 | 146 | ||
| 49 | config MV_U3D_PHY | 147 | config USB_MSM_OTG |
| 50 | bool "Marvell USB 3.0 PHY controller Driver" | 148 | tristate "OTG support for Qualcomm on-chip USB controller" |
| 51 | depends on USB_MV_U3D | 149 | depends on (USB || USB_GADGET) && ARCH_MSM |
| 52 | select USB_OTG_UTILS | 150 | select USB_OTG_UTILS |
| 53 | help | 151 | help |
| 54 | Enable this to support Marvell USB 3.0 phy controller for Marvell | 152 | Enable this to support the USB OTG transceiver on MSM chips. It |
| 55 | SoC. | 153 | handles PHY initialization, clock management, and workarounds |
| 154 | required after resetting the hardware and power management. | ||
| 155 | This driver is required even for peripheral only or host only | ||
| 156 | mode configurations. | ||
| 157 | This driver is not supported on boards like trout which | ||
| 158 | has an external PHY. | ||
| 159 | |||
| 160 | config USB_MV_OTG | ||
| 161 | tristate "Marvell USB OTG support" | ||
| 162 | depends on USB_EHCI_MV && USB_MV_UDC && USB_SUSPEND | ||
| 163 | select USB_OTG | ||
| 164 | select USB_OTG_UTILS | ||
| 165 | help | ||
| 166 | Say Y here if you want to build Marvell USB OTG transciever | ||
| 167 | driver in kernel (including PXA and MMP series). This driver | ||
| 168 | implements role switch between EHCI host driver and gadget driver. | ||
| 169 | |||
| 170 | To compile this driver as a module, choose M here. | ||
| 171 | |||
| 172 | config USB_MXS_PHY | ||
| 173 | tristate "Freescale MXS USB PHY support" | ||
| 174 | depends on ARCH_MXC || ARCH_MXS | ||
| 175 | select STMP_DEVICE | ||
| 176 | select USB_OTG_UTILS | ||
| 177 | help | ||
| 178 | Enable this to support the Freescale MXS USB PHY. | ||
| 179 | |||
| 180 | MXS Phy is used by some of the i.MX SoCs, for example imx23/28/6x. | ||
| 56 | 181 | ||
| 57 | config USB_RCAR_PHY | 182 | config USB_RCAR_PHY |
| 58 | tristate "Renesas R-Car USB phy support" | 183 | tristate "Renesas R-Car USB phy support" |
| @@ -66,10 +191,19 @@ config USB_RCAR_PHY | |||
| 66 | To compile this driver as a module, choose M here: the | 191 | To compile this driver as a module, choose M here: the |
| 67 | module will be called rcar-phy. | 192 | module will be called rcar-phy. |
| 68 | 193 | ||
| 69 | config SAMSUNG_USBPHY | 194 | config USB_ULPI |
| 70 | bool "Samsung USB PHY controller Driver" | 195 | bool "Generic ULPI Transceiver Driver" |
| 71 | depends on USB_S3C_HSOTG || USB_EHCI_S5P || USB_OHCI_EXYNOS | 196 | depends on ARM |
| 72 | select USB_OTG_UTILS | 197 | select USB_OTG_UTILS |
| 73 | help | 198 | help |
| 74 | Enable this to support Samsung USB phy controller for samsung | 199 | Enable this to support ULPI connected USB OTG transceivers which |
| 75 | SoCs. | 200 | are likely found on embedded boards. |
| 201 | |||
| 202 | config USB_ULPI_VIEWPORT | ||
| 203 | bool | ||
| 204 | depends on USB_ULPI | ||
| 205 | help | ||
| 206 | Provides read/write operations to the ULPI phy register set for | ||
| 207 | controllers with a viewport register (e.g. Chipidea/ARC controllers). | ||
| 208 | |||
| 209 | endif # USB || OTG | ||
diff --git a/drivers/usb/phy/Makefile b/drivers/usb/phy/Makefile index 9fa6327d4c52..34488ceef491 100644 --- a/drivers/usb/phy/Makefile +++ b/drivers/usb/phy/Makefile | |||
| @@ -5,11 +5,27 @@ | |||
| 5 | ccflags-$(CONFIG_USB_DEBUG) := -DDEBUG | 5 | ccflags-$(CONFIG_USB_DEBUG) := -DDEBUG |
| 6 | 6 | ||
| 7 | obj-$(CONFIG_USB_OTG_UTILS) += phy.o | 7 | obj-$(CONFIG_USB_OTG_UTILS) += phy.o |
| 8 | |||
| 9 | # transceiver drivers, keep the list sorted | ||
| 10 | |||
| 11 | obj-$(CONFIG_AB8500_USB) += ab8500-usb.o | ||
| 12 | fsl_usb2_otg-objs := fsl_otg.o otg_fsm.o | ||
| 13 | obj-$(CONFIG_FSL_USB2_OTG) += fsl_usb2_otg.o | ||
| 14 | obj-$(CONFIG_ISP1301_OMAP) += isp1301_omap.o | ||
| 15 | obj-$(CONFIG_MV_U3D_PHY) += mv_u3d_phy.o | ||
| 16 | obj-$(CONFIG_NOP_USB_XCEIV) += nop-usb-xceiv.o | ||
| 17 | obj-$(CONFIG_OMAP_CONTROL_USB) += omap-control-usb.o | ||
| 8 | obj-$(CONFIG_OMAP_USB2) += omap-usb2.o | 18 | obj-$(CONFIG_OMAP_USB2) += omap-usb2.o |
| 9 | obj-$(CONFIG_OMAP_USB3) += omap-usb3.o | 19 | obj-$(CONFIG_OMAP_USB3) += omap-usb3.o |
| 10 | obj-$(CONFIG_OMAP_CONTROL_USB) += omap-control-usb.o | 20 | obj-$(CONFIG_SAMSUNG_USBPHY) += samsung-usbphy.o |
| 21 | obj-$(CONFIG_TWL4030_USB) += twl4030-usb.o | ||
| 22 | obj-$(CONFIG_TWL6030_USB) += twl6030-usb.o | ||
| 23 | obj-$(CONFIG_USB_EHCI_TEGRA) += tegra_usb_phy.o | ||
| 24 | obj-$(CONFIG_USB_GPIO_VBUS) += gpio_vbus.o | ||
| 11 | obj-$(CONFIG_USB_ISP1301) += isp1301.o | 25 | obj-$(CONFIG_USB_ISP1301) += isp1301.o |
| 12 | obj-$(CONFIG_MV_U3D_PHY) += mv_u3d_phy.o | 26 | obj-$(CONFIG_USB_MSM_OTG) += msm_otg.o |
| 13 | obj-$(CONFIG_USB_EHCI_TEGRA) += tegra_usb_phy.o | 27 | obj-$(CONFIG_USB_MV_OTG) += mv_otg.o |
| 28 | obj-$(CONFIG_USB_MXS_PHY) += mxs-phy.o | ||
| 14 | obj-$(CONFIG_USB_RCAR_PHY) += rcar-phy.o | 29 | obj-$(CONFIG_USB_RCAR_PHY) += rcar-phy.o |
| 15 | obj-$(CONFIG_SAMSUNG_USBPHY) += samsung-usbphy.o | 30 | obj-$(CONFIG_USB_ULPI) += ulpi.o |
| 31 | obj-$(CONFIG_USB_ULPI_VIEWPORT) += ulpi_viewport.o | ||
diff --git a/drivers/usb/otg/ab8500-usb.c b/drivers/usb/phy/ab8500-usb.c index 2d86f26a0183..2d86f26a0183 100644 --- a/drivers/usb/otg/ab8500-usb.c +++ b/drivers/usb/phy/ab8500-usb.c | |||
diff --git a/drivers/usb/otg/fsl_otg.c b/drivers/usb/phy/fsl_otg.c index 72a2a00c2487..72a2a00c2487 100644 --- a/drivers/usb/otg/fsl_otg.c +++ b/drivers/usb/phy/fsl_otg.c | |||
diff --git a/drivers/usb/otg/fsl_otg.h b/drivers/usb/phy/fsl_otg.h index ca266280895d..ca266280895d 100644 --- a/drivers/usb/otg/fsl_otg.h +++ b/drivers/usb/phy/fsl_otg.h | |||
diff --git a/drivers/usb/otg/gpio_vbus.c b/drivers/usb/phy/gpio_vbus.c index a7d4ac591982..a7d4ac591982 100644 --- a/drivers/usb/otg/gpio_vbus.c +++ b/drivers/usb/phy/gpio_vbus.c | |||
diff --git a/drivers/usb/otg/isp1301_omap.c b/drivers/usb/phy/isp1301_omap.c index 8fe0c3b95261..8fe0c3b95261 100644 --- a/drivers/usb/otg/isp1301_omap.c +++ b/drivers/usb/phy/isp1301_omap.c | |||
diff --git a/drivers/usb/otg/msm_otg.c b/drivers/usb/phy/msm_otg.c index 749fbf41fb6f..749fbf41fb6f 100644 --- a/drivers/usb/otg/msm_otg.c +++ b/drivers/usb/phy/msm_otg.c | |||
diff --git a/drivers/usb/otg/mv_otg.c b/drivers/usb/phy/mv_otg.c index b6a9be31133b..b6a9be31133b 100644 --- a/drivers/usb/otg/mv_otg.c +++ b/drivers/usb/phy/mv_otg.c | |||
diff --git a/drivers/usb/otg/mv_otg.h b/drivers/usb/phy/mv_otg.h index 8a9e351b36ba..8a9e351b36ba 100644 --- a/drivers/usb/otg/mv_otg.h +++ b/drivers/usb/phy/mv_otg.h | |||
diff --git a/drivers/usb/otg/mxs-phy.c b/drivers/usb/phy/mxs-phy.c index 9d4381e64d51..9d4381e64d51 100644 --- a/drivers/usb/otg/mxs-phy.c +++ b/drivers/usb/phy/mxs-phy.c | |||
diff --git a/drivers/usb/otg/nop-usb-xceiv.c b/drivers/usb/phy/nop-usb-xceiv.c index 2b10cc969bbb..2b10cc969bbb 100644 --- a/drivers/usb/otg/nop-usb-xceiv.c +++ b/drivers/usb/phy/nop-usb-xceiv.c | |||
diff --git a/drivers/usb/otg/otg_fsm.c b/drivers/usb/phy/otg_fsm.c index 1f729a15decb..1f729a15decb 100644 --- a/drivers/usb/otg/otg_fsm.c +++ b/drivers/usb/phy/otg_fsm.c | |||
diff --git a/drivers/usb/otg/otg_fsm.h b/drivers/usb/phy/otg_fsm.h index c30a2e1d9e46..c30a2e1d9e46 100644 --- a/drivers/usb/otg/otg_fsm.h +++ b/drivers/usb/phy/otg_fsm.h | |||
diff --git a/drivers/usb/otg/twl4030-usb.c b/drivers/usb/phy/twl4030-usb.c index a994715a3101..a994715a3101 100644 --- a/drivers/usb/otg/twl4030-usb.c +++ b/drivers/usb/phy/twl4030-usb.c | |||
diff --git a/drivers/usb/otg/twl6030-usb.c b/drivers/usb/phy/twl6030-usb.c index 8cd6cf49bdbd..8cd6cf49bdbd 100644 --- a/drivers/usb/otg/twl6030-usb.c +++ b/drivers/usb/phy/twl6030-usb.c | |||
diff --git a/drivers/usb/otg/ulpi.c b/drivers/usb/phy/ulpi.c index 217339dd7a90..217339dd7a90 100644 --- a/drivers/usb/otg/ulpi.c +++ b/drivers/usb/phy/ulpi.c | |||
diff --git a/drivers/usb/otg/ulpi_viewport.c b/drivers/usb/phy/ulpi_viewport.c index c5ba7e5423fc..c5ba7e5423fc 100644 --- a/drivers/usb/otg/ulpi_viewport.c +++ b/drivers/usb/phy/ulpi_viewport.c | |||
