Roland Stigge | 8b7c3b6 | 2012-04-29 16:47:04 +0200 | [diff] [blame] | 1 | # |
| 2 | # Physical Layer USB driver configuration |
| 3 | # |
Roger Quadros | 052a11d | 2013-06-14 12:51:41 +0300 | [diff] [blame] | 4 | menu "USB Physical Layer drivers" |
Kishon Vijay Abraham I | 657b306 | 2012-09-06 20:27:06 +0530 | [diff] [blame] | 5 | |
Roger Quadros | 052a11d | 2013-06-14 12:51:41 +0300 | [diff] [blame] | 6 | config USB_PHY |
| 7 | def_bool n |
Roland Stigge | 8b7c3b6 | 2012-04-29 16:47:04 +0200 | [diff] [blame] | 8 | |
Anton Tikhomirov | e1d2e31 | 2013-11-26 11:47:53 +0900 | [diff] [blame] | 9 | config USB_OTG_FSM |
Felipe Balbi | e90b841 | 2013-12-23 11:22:46 -0600 | [diff] [blame] | 10 | tristate "USB 2.0 OTG FSM implementation" |
| 11 | depends on USB |
Anton Tikhomirov | e1d2e31 | 2013-11-26 11:47:53 +0900 | [diff] [blame] | 12 | select USB_OTG |
| 13 | select USB_PHY |
| 14 | help |
| 15 | Implements OTG Final State Machine as specified in On-The-Go |
| 16 | and Embedded Host Supplement to the USB Revision 2.0 Specification. |
| 17 | |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 18 | # |
| 19 | # USB Transceiver Drivers |
| 20 | # |
| 21 | config AB8500_USB |
| 22 | tristate "AB8500 USB Transceiver Driver" |
| 23 | depends on AB8500_CORE |
Roger Quadros | 052a11d | 2013-06-14 12:51:41 +0300 | [diff] [blame] | 24 | select USB_PHY |
Kishon Vijay Abraham I | 57f6ce0 | 2013-01-25 08:21:48 +0530 | [diff] [blame] | 25 | help |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 26 | Enable this to support the USB OTG transceiver in AB8500 chip. |
| 27 | This transceiver supports high and full speed devices plus, |
| 28 | in host mode, low speed. |
| 29 | |
| 30 | config FSL_USB2_OTG |
| 31 | bool "Freescale USB OTG Transceiver Driver" |
Anton Tikhomirov | e1d2e31 | 2013-11-26 11:47:53 +0900 | [diff] [blame] | 32 | depends on USB_EHCI_FSL && USB_FSL_USB2 && USB_OTG_FSM && PM_RUNTIME |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 33 | select USB_OTG |
Roger Quadros | 052a11d | 2013-06-14 12:51:41 +0300 | [diff] [blame] | 34 | select USB_PHY |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 35 | help |
| 36 | Enable this to support Freescale USB OTG transceiver. |
| 37 | |
| 38 | config ISP1301_OMAP |
| 39 | tristate "Philips ISP1301 with OMAP OTG" |
| 40 | depends on I2C && ARCH_OMAP_OTG |
Felipe Balbi | 7cd0c29 | 2013-12-10 17:00:06 -0600 | [diff] [blame] | 41 | depends on USB |
Roger Quadros | 052a11d | 2013-06-14 12:51:41 +0300 | [diff] [blame] | 42 | select USB_PHY |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 43 | help |
| 44 | If you say yes here you get support for the Philips ISP1301 |
| 45 | USB-On-The-Go transceiver working with the OMAP OTG controller. |
| 46 | The ISP1301 is a full speed USB transceiver which is used in |
| 47 | products including H2, H3, and H4 development boards for Texas |
| 48 | Instruments OMAP processors. |
| 49 | |
| 50 | This driver can also be built as a module. If so, the module |
Aaro Koskinen | 12c8d64 | 2013-12-21 20:37:38 +0200 | [diff] [blame] | 51 | will be called phy-isp1301-omap. |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 52 | |
WingMan Kwok | 25acdd0 | 2013-12-12 12:25:30 -0500 | [diff] [blame] | 53 | config KEYSTONE_USB_PHY |
| 54 | tristate "Keystone USB PHY Driver" |
| 55 | depends on ARCH_KEYSTONE || COMPILE_TEST |
| 56 | select NOP_USB_XCEIV |
| 57 | help |
| 58 | Enable this to support Keystone USB phy. This driver provides |
| 59 | interface to interact with USB 2.0 and USB 3.0 PHY that is part |
| 60 | of the Keystone SOC. |
| 61 | |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 62 | config MV_U3D_PHY |
| 63 | bool "Marvell USB 3.0 PHY controller Driver" |
Felipe Balbi | 60630c2 | 2013-03-22 09:15:45 +0200 | [diff] [blame] | 64 | depends on CPU_MMP3 |
Roger Quadros | 052a11d | 2013-06-14 12:51:41 +0300 | [diff] [blame] | 65 | select USB_PHY |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 66 | help |
| 67 | Enable this to support Marvell USB 3.0 phy controller for Marvell |
| 68 | SoC. |
| 69 | |
| 70 | config NOP_USB_XCEIV |
| 71 | tristate "NOP USB Transceiver Driver" |
Roger Quadros | 052a11d | 2013-06-14 12:51:41 +0300 | [diff] [blame] | 72 | select USB_PHY |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 73 | help |
| 74 | This driver is to be used by all the usb transceiver which are either |
| 75 | built-in with usb ip or which are autonomous and doesn't require any |
| 76 | phy programming such as ISP1x04 etc. |
Kishon Vijay Abraham I | 57f6ce0 | 2013-01-25 08:21:48 +0530 | [diff] [blame] | 77 | |
Kishon Vijay Abraham I | 01658f0 | 2013-01-25 15:53:57 +0530 | [diff] [blame] | 78 | config OMAP_CONTROL_USB |
| 79 | tristate "OMAP CONTROL USB Driver" |
Paul Gortmaker | 4e682bb | 2013-07-04 01:39:10 -0400 | [diff] [blame] | 80 | depends on ARCH_OMAP2PLUS || COMPILE_TEST |
Kishon Vijay Abraham I | 01658f0 | 2013-01-25 15:53:57 +0530 | [diff] [blame] | 81 | help |
| 82 | Enable this to add support for the USB part present in the control |
| 83 | module. This driver has API to power on the USB2 PHY and to write to |
| 84 | the mailbox. The mailbox is present only in omap4 and the register to |
| 85 | power on the USB2 PHY is present in OMAP4 and OMAP5. OMAP5 has an |
| 86 | additional register to power on USB3 PHY. |
| 87 | |
Roland Stigge | 8b7c3b6 | 2012-04-29 16:47:04 +0200 | [diff] [blame] | 88 | config OMAP_USB3 |
| 89 | tristate "OMAP USB3 PHY Driver" |
Paul Gortmaker | 4e682bb | 2013-07-04 01:39:10 -0400 | [diff] [blame] | 90 | depends on ARCH_OMAP2PLUS || COMPILE_TEST |
Roland Stigge | 8b7c3b6 | 2012-04-29 16:47:04 +0200 | [diff] [blame] | 91 | select OMAP_CONTROL_USB |
Roger Quadros | 052a11d | 2013-06-14 12:51:41 +0300 | [diff] [blame] | 92 | select USB_PHY |
Roland Stigge | 8b7c3b6 | 2012-04-29 16:47:04 +0200 | [diff] [blame] | 93 | help |
| 94 | Enable this to support the USB3 PHY that is part of SOC. This |
| 95 | driver takes care of all the PHY functionality apart from comparator. |
| 96 | This driver interacts with the "OMAP Control USB Driver" to power |
| 97 | on/off the PHY. |
| 98 | |
Sebastian Andrzej Siewior | 3bb869c | 2013-07-30 21:43:45 +0200 | [diff] [blame] | 99 | config AM335X_CONTROL_USB |
| 100 | tristate |
| 101 | |
| 102 | config AM335X_PHY_USB |
| 103 | tristate "AM335x USB PHY Driver" |
Dave Jones | 7ba0127 | 2013-09-03 17:35:52 -0400 | [diff] [blame] | 104 | depends on ARM || COMPILE_TEST |
Sebastian Andrzej Siewior | 3bb869c | 2013-07-30 21:43:45 +0200 | [diff] [blame] | 105 | select USB_PHY |
| 106 | select AM335X_CONTROL_USB |
| 107 | select NOP_USB_XCEIV |
| 108 | help |
| 109 | This driver provides PHY support for that phy which part for the |
| 110 | AM335x SoC. |
| 111 | |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 112 | config SAMSUNG_USBPHY |
Tomasz Figa | 6278703 | 2013-05-16 11:57:06 +0200 | [diff] [blame] | 113 | tristate |
Roland Stigge | 8b7c3b6 | 2012-04-29 16:47:04 +0200 | [diff] [blame] | 114 | help |
Vivek Gautam | dc2377d | 2013-03-14 15:59:10 +0530 | [diff] [blame] | 115 | Enable this to support Samsung USB phy helper driver for Samsung SoCs. |
| 116 | This driver provides common interface to interact, for Samsung USB 2.0 PHY |
| 117 | driver and later for Samsung USB 3.0 PHY driver. |
| 118 | |
| 119 | config SAMSUNG_USB2PHY |
| 120 | tristate "Samsung USB 2.0 PHY controller Driver" |
| 121 | select SAMSUNG_USBPHY |
Roger Quadros | 052a11d | 2013-06-14 12:51:41 +0300 | [diff] [blame] | 122 | select USB_PHY |
Vivek Gautam | dc2377d | 2013-03-14 15:59:10 +0530 | [diff] [blame] | 123 | help |
| 124 | Enable this to support Samsung USB 2.0 (High Speed) PHY controller |
| 125 | driver for Samsung SoCs. |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 126 | |
Vivek Gautam | b527675 | 2013-03-14 15:59:11 +0530 | [diff] [blame] | 127 | config SAMSUNG_USB3PHY |
| 128 | tristate "Samsung USB 3.0 PHY controller Driver" |
| 129 | select SAMSUNG_USBPHY |
Roger Quadros | 052a11d | 2013-06-14 12:51:41 +0300 | [diff] [blame] | 130 | select USB_PHY |
Vivek Gautam | b527675 | 2013-03-14 15:59:11 +0530 | [diff] [blame] | 131 | help |
| 132 | Enable this to support Samsung USB 3.0 (Super Speed) phy controller |
| 133 | for samsung SoCs. |
| 134 | |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 135 | config TWL6030_USB |
| 136 | tristate "TWL6030 USB Transceiver Driver" |
| 137 | depends on TWL4030_CORE && OMAP_USB2 && USB_MUSB_OMAP2PLUS |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 138 | help |
| 139 | Enable this to support the USB OTG transceiver on TWL6030 |
| 140 | family chips. This TWL6030 transceiver has the VBUS and ID GND |
| 141 | and OTG SRP events capabilities. For all other transceiver functionality |
| 142 | UTMI PHY is embedded in OMAP4430. The internal PHY configurations APIs |
| 143 | are hooked to this driver through platform_data structure. |
| 144 | The definition of internal PHY APIs are in the mach-omap2 layer. |
| 145 | |
| 146 | config USB_GPIO_VBUS |
| 147 | tristate "GPIO based peripheral-only VBUS sensing 'transceiver'" |
Linus Torvalds | 5647ac0 | 2013-05-09 09:59:16 -0700 | [diff] [blame] | 148 | depends on GPIOLIB |
Roger Quadros | 052a11d | 2013-06-14 12:51:41 +0300 | [diff] [blame] | 149 | select USB_PHY |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 150 | help |
| 151 | Provides simple GPIO VBUS sensing for controllers with an |
| 152 | internal transceiver via the usb_phy interface, and |
| 153 | optionally control of a D+ pullup GPIO as well as a VBUS |
| 154 | current limit regulator. |
Roland Stigge | 8b7c3b6 | 2012-04-29 16:47:04 +0200 | [diff] [blame] | 155 | |
Aaro Koskinen | 449d2ba | 2013-12-06 16:13:06 +0200 | [diff] [blame] | 156 | config OMAP_OTG |
| 157 | tristate "OMAP USB OTG controller driver" |
| 158 | depends on ARCH_OMAP_OTG && EXTCON |
| 159 | help |
| 160 | Enable this to support some transceivers on OMAP1 platforms. OTG |
| 161 | controller is needed to switch between host and peripheral modes. |
| 162 | |
| 163 | This driver can also be built as a module. If so, the module |
Aaro Koskinen | 12c8d64 | 2013-12-21 20:37:38 +0200 | [diff] [blame] | 164 | will be called phy-omap-otg. |
Aaro Koskinen | 449d2ba | 2013-12-06 16:13:06 +0200 | [diff] [blame] | 165 | |
Aaro Koskinen | 9ba96ae | 2013-12-06 16:13:07 +0200 | [diff] [blame] | 166 | config TAHVO_USB |
| 167 | tristate "Tahvo USB transceiver driver" |
| 168 | depends on MFD_RETU && EXTCON |
| 169 | select USB_PHY |
| 170 | help |
| 171 | Enable this to support USB transceiver on Tahvo. This is used |
| 172 | at least on Nokia 770. |
| 173 | |
| 174 | config TAHVO_USB_HOST_BY_DEFAULT |
| 175 | depends on TAHVO_USB |
| 176 | boolean "Device in USB host mode by default" |
| 177 | help |
| 178 | Say Y here, if you want the device to enter USB host mode |
| 179 | by default on bootup. |
| 180 | |
Roland Stigge | 8b7c3b6 | 2012-04-29 16:47:04 +0200 | [diff] [blame] | 181 | config USB_ISP1301 |
| 182 | tristate "NXP ISP1301 USB transceiver support" |
| 183 | depends on USB || USB_GADGET |
| 184 | depends on I2C |
Roger Quadros | 052a11d | 2013-06-14 12:51:41 +0300 | [diff] [blame] | 185 | select USB_PHY |
Roland Stigge | 8b7c3b6 | 2012-04-29 16:47:04 +0200 | [diff] [blame] | 186 | help |
| 187 | Say Y here to add support for the NXP ISP1301 USB transceiver driver. |
| 188 | This chip is typically used as USB transceiver for USB host, gadget |
| 189 | and OTG drivers (to be selected separately). |
| 190 | |
| 191 | To compile this driver as a module, choose M here: the |
Aaro Koskinen | 12c8d64 | 2013-12-21 20:37:38 +0200 | [diff] [blame] | 192 | module will be called phy-isp1301. |
Yu Xu | a67e76a | 2012-08-09 22:29:31 +0800 | [diff] [blame] | 193 | |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 194 | config USB_MSM_OTG |
| 195 | tristate "OTG support for Qualcomm on-chip USB controller" |
| 196 | depends on (USB || USB_GADGET) && ARCH_MSM |
Roger Quadros | 052a11d | 2013-06-14 12:51:41 +0300 | [diff] [blame] | 197 | select USB_PHY |
Yu Xu | a67e76a | 2012-08-09 22:29:31 +0800 | [diff] [blame] | 198 | help |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 199 | Enable this to support the USB OTG transceiver on MSM chips. It |
| 200 | handles PHY initialization, clock management, and workarounds |
| 201 | required after resetting the hardware and power management. |
| 202 | This driver is required even for peripheral only or host only |
| 203 | mode configurations. |
| 204 | This driver is not supported on boards like trout which |
| 205 | has an external PHY. |
| 206 | |
| 207 | config USB_MV_OTG |
| 208 | tristate "Marvell USB OTG support" |
Alan Stern | 98f541c | 2013-05-01 12:13:54 -0400 | [diff] [blame] | 209 | depends on USB_EHCI_MV && USB_MV_UDC && PM_RUNTIME |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 210 | select USB_OTG |
Roger Quadros | 052a11d | 2013-06-14 12:51:41 +0300 | [diff] [blame] | 211 | select USB_PHY |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 212 | help |
| 213 | Say Y here if you want to build Marvell USB OTG transciever |
| 214 | driver in kernel (including PXA and MMP series). This driver |
| 215 | implements role switch between EHCI host driver and gadget driver. |
| 216 | |
| 217 | To compile this driver as a module, choose M here. |
| 218 | |
| 219 | config USB_MXS_PHY |
| 220 | tristate "Freescale MXS USB PHY support" |
| 221 | depends on ARCH_MXC || ARCH_MXS |
| 222 | select STMP_DEVICE |
Roger Quadros | 052a11d | 2013-06-14 12:51:41 +0300 | [diff] [blame] | 223 | select USB_PHY |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 224 | help |
| 225 | Enable this to support the Freescale MXS USB PHY. |
| 226 | |
| 227 | MXS Phy is used by some of the i.MX SoCs, for example imx23/28/6x. |
Kuninori Morimoto | 1789e52 | 2012-10-31 19:03:11 -0700 | [diff] [blame] | 228 | |
| 229 | config USB_RCAR_PHY |
Sergei Shtylyov | 54407f1 | 2013-06-09 00:34:36 +0400 | [diff] [blame] | 230 | tristate "Renesas R-Car USB PHY support" |
Kuninori Morimoto | 1789e52 | 2012-10-31 19:03:11 -0700 | [diff] [blame] | 231 | depends on USB || USB_GADGET |
Roger Quadros | 052a11d | 2013-06-14 12:51:41 +0300 | [diff] [blame] | 232 | select USB_PHY |
Kuninori Morimoto | 1789e52 | 2012-10-31 19:03:11 -0700 | [diff] [blame] | 233 | help |
Sergei Shtylyov | 54407f1 | 2013-06-09 00:34:36 +0400 | [diff] [blame] | 234 | Say Y here to add support for the Renesas R-Car USB common PHY driver. |
| 235 | This chip is typically used as USB PHY for USB host, gadget. |
| 236 | This driver supports R8A7778 and R8A7779. |
Kuninori Morimoto | 1789e52 | 2012-10-31 19:03:11 -0700 | [diff] [blame] | 237 | |
| 238 | To compile this driver as a module, choose M here: the |
Sergei Shtylyov | 54407f1 | 2013-06-09 00:34:36 +0400 | [diff] [blame] | 239 | module will be called phy-rcar-usb. |
Praveen Paneri | 337dc3a | 2012-11-23 16:03:06 +0530 | [diff] [blame] | 240 | |
Valentine Barshak | 5578b26 | 2013-10-10 20:35:17 +0400 | [diff] [blame] | 241 | config USB_RCAR_GEN2_PHY |
| 242 | tristate "Renesas R-Car Gen2 USB PHY support" |
| 243 | depends on ARCH_R8A7790 || ARCH_R8A7791 || COMPILE_TEST |
| 244 | select USB_PHY |
| 245 | help |
| 246 | Say Y here to add support for the Renesas R-Car Gen2 USB PHY driver. |
| 247 | It is typically used to control internal USB PHY for USBHS, |
| 248 | and to configure shared USB channels 0 and 2. |
| 249 | This driver supports R8A7790 and R8A7791. |
| 250 | |
| 251 | To compile this driver as a module, choose M here: the |
| 252 | module will be called phy-rcar-gen2-usb. |
| 253 | |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 254 | config USB_ULPI |
| 255 | bool "Generic ULPI Transceiver Driver" |
| 256 | depends on ARM |
Praveen Paneri | 337dc3a | 2012-11-23 16:03:06 +0530 | [diff] [blame] | 257 | help |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 258 | Enable this to support ULPI connected USB OTG transceivers which |
| 259 | are likely found on embedded boards. |
| 260 | |
| 261 | config USB_ULPI_VIEWPORT |
| 262 | bool |
| 263 | depends on USB_ULPI |
| 264 | help |
| 265 | Provides read/write operations to the ULPI phy register set for |
| 266 | controllers with a viewport register (e.g. Chipidea/ARC controllers). |
| 267 | |
Roger Quadros | 052a11d | 2013-06-14 12:51:41 +0300 | [diff] [blame] | 268 | endmenu |