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 | |
Todd Poynor | c534828 | 2011-07-01 17:19:56 -0700 | [diff] [blame] | 9 | config USB_OTG_WAKELOCK |
| 10 | bool "Hold a wakelock when USB connected" |
Dmitry Shmidt | 48baaa3 | 2017-01-12 12:45:46 -0800 | [diff] [blame] | 11 | depends on PM_WAKELOCKS |
Todd Poynor | c534828 | 2011-07-01 17:19:56 -0700 | [diff] [blame] | 12 | select USB_OTG_UTILS |
| 13 | help |
| 14 | Select this to automatically hold a wakelock when USB is |
| 15 | connected, preventing suspend. |
| 16 | |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 17 | # |
| 18 | # USB Transceiver Drivers |
| 19 | # |
| 20 | config AB8500_USB |
| 21 | tristate "AB8500 USB Transceiver Driver" |
| 22 | depends on AB8500_CORE |
Roger Quadros | 052a11d | 2013-06-14 12:51:41 +0300 | [diff] [blame] | 23 | select USB_PHY |
Kishon Vijay Abraham I | 57f6ce0 | 2013-01-25 08:21:48 +0530 | [diff] [blame] | 24 | help |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 25 | Enable this to support the USB OTG transceiver in AB8500 chip. |
| 26 | This transceiver supports high and full speed devices plus, |
| 27 | in host mode, low speed. |
| 28 | |
| 29 | config FSL_USB2_OTG |
| 30 | bool "Freescale USB OTG Transceiver Driver" |
Rafael J. Wysocki | 1b3e3aa | 2014-12-13 00:44:04 +0100 | [diff] [blame] | 31 | depends on USB_EHCI_FSL && USB_FSL_USB2 && USB_OTG_FSM && PM |
Felipe Balbi | 5a8d651 | 2016-05-31 13:07:47 +0300 | [diff] [blame] | 32 | depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y' |
Roger Quadros | 052a11d | 2013-06-14 12:51:41 +0300 | [diff] [blame] | 33 | select USB_PHY |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 34 | help |
| 35 | Enable this to support Freescale USB OTG transceiver. |
| 36 | |
| 37 | config ISP1301_OMAP |
| 38 | tristate "Philips ISP1301 with OMAP OTG" |
| 39 | depends on I2C && ARCH_OMAP_OTG |
Felipe Balbi | 7cd0c29 | 2013-12-10 17:00:06 -0600 | [diff] [blame] | 40 | depends on USB |
Felipe Balbi | 5a8d651 | 2016-05-31 13:07:47 +0300 | [diff] [blame] | 41 | depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y' |
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 |
Felipe Balbi | 5a8d651 | 2016-05-31 13:07:47 +0300 | [diff] [blame] | 56 | depends on NOP_USB_XCEIV |
WingMan Kwok | 25acdd0 | 2013-12-12 12:25:30 -0500 | [diff] [blame] | 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 NOP_USB_XCEIV |
| 63 | tristate "NOP USB Transceiver Driver" |
Felipe Balbi | 5a8d651 | 2016-05-31 13:07:47 +0300 | [diff] [blame] | 64 | depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, NOP can't be built-in |
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 | This driver is to be used by all the usb transceiver which are either |
| 68 | built-in with usb ip or which are autonomous and doesn't require any |
| 69 | phy programming such as ISP1x04 etc. |
Kishon Vijay Abraham I | 57f6ce0 | 2013-01-25 08:21:48 +0530 | [diff] [blame] | 70 | |
Sebastian Andrzej Siewior | 3bb869c | 2013-07-30 21:43:45 +0200 | [diff] [blame] | 71 | config AM335X_CONTROL_USB |
| 72 | tristate |
| 73 | |
| 74 | config AM335X_PHY_USB |
| 75 | tristate "AM335x USB PHY Driver" |
Dave Jones | 7ba0127 | 2013-09-03 17:35:52 -0400 | [diff] [blame] | 76 | depends on ARM || COMPILE_TEST |
Felipe Balbi | 5a8d651 | 2016-05-31 13:07:47 +0300 | [diff] [blame] | 77 | depends on NOP_USB_XCEIV |
Sebastian Andrzej Siewior | 3bb869c | 2013-07-30 21:43:45 +0200 | [diff] [blame] | 78 | select USB_PHY |
| 79 | select AM335X_CONTROL_USB |
Bin Liu | 59f042f | 2015-12-08 10:31:50 -0600 | [diff] [blame] | 80 | select USB_COMMON |
Sebastian Andrzej Siewior | 3bb869c | 2013-07-30 21:43:45 +0200 | [diff] [blame] | 81 | help |
| 82 | This driver provides PHY support for that phy which part for the |
| 83 | AM335x SoC. |
| 84 | |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 85 | config SAMSUNG_USBPHY |
Tomasz Figa | 6278703 | 2013-05-16 11:57:06 +0200 | [diff] [blame] | 86 | tristate |
Kishon Vijay Abraham I | 01658f0 | 2013-01-25 15:53:57 +0530 | [diff] [blame] | 87 | help |
Vivek Gautam | dc2377d | 2013-03-14 15:59:10 +0530 | [diff] [blame] | 88 | Enable this to support Samsung USB phy helper driver for Samsung SoCs. |
| 89 | This driver provides common interface to interact, for Samsung USB 2.0 PHY |
| 90 | driver and later for Samsung USB 3.0 PHY driver. |
| 91 | |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 92 | config TWL6030_USB |
| 93 | tristate "TWL6030 USB Transceiver Driver" |
| 94 | depends on TWL4030_CORE && OMAP_USB2 && USB_MUSB_OMAP2PLUS |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 95 | help |
| 96 | Enable this to support the USB OTG transceiver on TWL6030 |
| 97 | family chips. This TWL6030 transceiver has the VBUS and ID GND |
| 98 | and OTG SRP events capabilities. For all other transceiver functionality |
| 99 | UTMI PHY is embedded in OMAP4430. The internal PHY configurations APIs |
| 100 | are hooked to this driver through platform_data structure. |
| 101 | The definition of internal PHY APIs are in the mach-omap2 layer. |
| 102 | |
| 103 | config USB_GPIO_VBUS |
| 104 | tristate "GPIO based peripheral-only VBUS sensing 'transceiver'" |
Geert Uytterhoeven | db978e2 | 2015-05-05 18:32:38 +0200 | [diff] [blame] | 105 | depends on GPIOLIB || COMPILE_TEST |
Felipe Balbi | 5a8d651 | 2016-05-31 13:07:47 +0300 | [diff] [blame] | 106 | depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y' |
Roger Quadros | 052a11d | 2013-06-14 12:51:41 +0300 | [diff] [blame] | 107 | select USB_PHY |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 108 | help |
| 109 | Provides simple GPIO VBUS sensing for controllers with an |
| 110 | internal transceiver via the usb_phy interface, and |
| 111 | optionally control of a D+ pullup GPIO as well as a VBUS |
| 112 | current limit regulator. |
Kishon Vijay Abraham I | 01658f0 | 2013-01-25 15:53:57 +0530 | [diff] [blame] | 113 | |
Aaro Koskinen | 449d2ba | 2013-12-06 16:13:06 +0200 | [diff] [blame] | 114 | config OMAP_OTG |
| 115 | tristate "OMAP USB OTG controller driver" |
| 116 | depends on ARCH_OMAP_OTG && EXTCON |
| 117 | help |
| 118 | Enable this to support some transceivers on OMAP1 platforms. OTG |
| 119 | controller is needed to switch between host and peripheral modes. |
| 120 | |
| 121 | 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] | 122 | will be called phy-omap-otg. |
Aaro Koskinen | 449d2ba | 2013-12-06 16:13:06 +0200 | [diff] [blame] | 123 | |
Aaro Koskinen | 9ba96ae | 2013-12-06 16:13:07 +0200 | [diff] [blame] | 124 | config TAHVO_USB |
| 125 | tristate "Tahvo USB transceiver driver" |
| 126 | depends on MFD_RETU && EXTCON |
Felipe Balbi | 5a8d651 | 2016-05-31 13:07:47 +0300 | [diff] [blame] | 127 | depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y' |
Aaro Koskinen | 9ba96ae | 2013-12-06 16:13:07 +0200 | [diff] [blame] | 128 | select USB_PHY |
| 129 | help |
| 130 | Enable this to support USB transceiver on Tahvo. This is used |
| 131 | at least on Nokia 770. |
| 132 | |
| 133 | config TAHVO_USB_HOST_BY_DEFAULT |
| 134 | depends on TAHVO_USB |
Christoph Jaeger | 6341e62 | 2014-12-20 15:41:11 -0500 | [diff] [blame] | 135 | bool "Device in USB host mode by default" |
Aaro Koskinen | 9ba96ae | 2013-12-06 16:13:07 +0200 | [diff] [blame] | 136 | help |
| 137 | Say Y here, if you want the device to enter USB host mode |
| 138 | by default on bootup. |
| 139 | |
Roland Stigge | 8b7c3b6 | 2012-04-29 16:47:04 +0200 | [diff] [blame] | 140 | config USB_ISP1301 |
| 141 | tristate "NXP ISP1301 USB transceiver support" |
Alexandre Pereira da Silva | c615632 | 2012-06-26 11:56:48 -0300 | [diff] [blame] | 142 | depends on USB || USB_GADGET |
Roland Stigge | 8b7c3b6 | 2012-04-29 16:47:04 +0200 | [diff] [blame] | 143 | depends on I2C |
Roger Quadros | 052a11d | 2013-06-14 12:51:41 +0300 | [diff] [blame] | 144 | select USB_PHY |
Roland Stigge | 8b7c3b6 | 2012-04-29 16:47:04 +0200 | [diff] [blame] | 145 | help |
| 146 | Say Y here to add support for the NXP ISP1301 USB transceiver driver. |
| 147 | This chip is typically used as USB transceiver for USB host, gadget |
| 148 | and OTG drivers (to be selected separately). |
| 149 | |
| 150 | To compile this driver as a module, choose M here: the |
Aaro Koskinen | 12c8d64 | 2013-12-21 20:37:38 +0200 | [diff] [blame] | 151 | module will be called phy-isp1301. |
Yu Xu | a67e76a | 2012-08-09 22:29:31 +0800 | [diff] [blame] | 152 | |
Ajay Agarwal | 9eb9319 | 2017-12-11 16:20:21 +0530 | [diff] [blame] | 153 | config QCOM_USB_MSM_OTG |
Ivan T. Ivanov | 0d092fd | 2014-04-28 16:34:04 +0300 | [diff] [blame] | 154 | tristate "Qualcomm on-chip USB OTG controller support" |
Stephen Boyd | 46f5cac | 2015-03-13 11:09:42 -0700 | [diff] [blame] | 155 | depends on (USB || USB_GADGET) && (ARCH_QCOM || COMPILE_TEST) |
Felipe Balbi | 5a8d651 | 2016-05-31 13:07:47 +0300 | [diff] [blame] | 156 | depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y' |
Arnd Bergmann | c5ab571 | 2014-05-13 21:46:52 +0200 | [diff] [blame] | 157 | depends on RESET_CONTROLLER |
Ivan T. Ivanov | 591fc11 | 2015-04-09 11:34:22 +0300 | [diff] [blame] | 158 | depends on EXTCON |
Roger Quadros | 052a11d | 2013-06-14 12:51:41 +0300 | [diff] [blame] | 159 | select USB_PHY |
Yu Xu | a67e76a | 2012-08-09 22:29:31 +0800 | [diff] [blame] | 160 | help |
Ajay Agarwal | 9eb9319 | 2017-12-11 16:20:21 +0530 | [diff] [blame] | 161 | Enable this to support the USB OTG transceiver on Qualcomm development |
| 162 | boards. It handles PHY initialization, clock management, and |
| 163 | workarounds required after resetting the hardware and power |
| 164 | management. This driver is required even for peripheral only or host |
| 165 | only mode configurations. This driver is not supported on boards like |
| 166 | trout which has an external PHY. |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 167 | |
Ivan T. Ivanov | 3511699 | 2015-07-08 17:57:40 +0300 | [diff] [blame] | 168 | config USB_QCOM_8X16_PHY |
| 169 | tristate "Qualcomm APQ8016/MSM8916 on-chip USB PHY controller support" |
| 170 | depends on ARCH_QCOM || COMPILE_TEST |
Randy Dunlap | 88ccdbd | 2015-09-10 10:37:39 -0700 | [diff] [blame] | 171 | depends on RESET_CONTROLLER && EXTCON |
Ivan T. Ivanov | 3511699 | 2015-07-08 17:57:40 +0300 | [diff] [blame] | 172 | select USB_PHY |
| 173 | select USB_ULPI_VIEWPORT |
| 174 | help |
| 175 | Enable this to support the USB transceiver on Qualcomm 8x16 chipsets. |
| 176 | It handles PHY initialization, clock management, power management, |
| 177 | and workarounds required after resetting the hardware. |
| 178 | |
| 179 | To compile this driver as a module, choose M here: the |
| 180 | module will be called phy-qcom-8x16-usb. |
| 181 | |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 182 | config USB_MV_OTG |
| 183 | tristate "Marvell USB OTG support" |
Peter Chen | c4f1613 | 2015-11-19 11:47:47 +0800 | [diff] [blame] | 184 | depends on USB_EHCI_MV && USB_MV_UDC && PM && USB_OTG |
Felipe Balbi | 5a8d651 | 2016-05-31 13:07:47 +0300 | [diff] [blame] | 185 | depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y' |
Roger Quadros | 052a11d | 2013-06-14 12:51:41 +0300 | [diff] [blame] | 186 | select USB_PHY |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 187 | help |
| 188 | Say Y here if you want to build Marvell USB OTG transciever |
| 189 | driver in kernel (including PXA and MMP series). This driver |
| 190 | implements role switch between EHCI host driver and gadget driver. |
| 191 | |
| 192 | To compile this driver as a module, choose M here. |
| 193 | |
| 194 | config USB_MXS_PHY |
| 195 | tristate "Freescale MXS USB PHY support" |
| 196 | depends on ARCH_MXC || ARCH_MXS |
| 197 | select STMP_DEVICE |
Roger Quadros | 052a11d | 2013-06-14 12:51:41 +0300 | [diff] [blame] | 198 | select USB_PHY |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 199 | help |
| 200 | Enable this to support the Freescale MXS USB PHY. |
| 201 | |
| 202 | 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] | 203 | |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 204 | config USB_ULPI |
| 205 | bool "Generic ULPI Transceiver Driver" |
Liviu Dudau | 113229b | 2014-05-14 20:17:30 +0100 | [diff] [blame] | 206 | depends on ARM || ARM64 |
Ivan T. Ivanov | 1ea276c | 2015-03-21 15:25:52 +0200 | [diff] [blame] | 207 | select USB_ULPI_VIEWPORT |
Praveen Paneri | 337dc3a | 2012-11-23 16:03:06 +0530 | [diff] [blame] | 208 | help |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 209 | Enable this to support ULPI connected USB OTG transceivers which |
| 210 | are likely found on embedded boards. |
| 211 | |
| 212 | config USB_ULPI_VIEWPORT |
| 213 | bool |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 214 | help |
| 215 | Provides read/write operations to the ULPI phy register set for |
| 216 | controllers with a viewport register (e.g. Chipidea/ARC controllers). |
| 217 | |
Badhri Jagan Sridharan | 61755b5 | 2015-08-31 21:36:07 -0700 | [diff] [blame] | 218 | config DUAL_ROLE_USB_INTF |
| 219 | bool "Generic DUAL ROLE sysfs interface" |
| 220 | depends on SYSFS && USB_PHY |
| 221 | help |
| 222 | A generic sysfs interface to track and change the state of |
| 223 | dual role usb phys. The usb phy drivers can register to |
| 224 | this interface to expose it capabilities to the userspace |
| 225 | and thereby allowing userspace to change the port mode. |
| 226 | |
Mayank Rana | 3cb43a3 | 2016-08-02 12:10:20 -0700 | [diff] [blame] | 227 | config USB_MSM_SSPHY_QMP |
| 228 | tristate "MSM SSUSB QMP PHY Driver" |
| 229 | depends on ARCH_QCOM |
| 230 | select USB_PHY |
| 231 | help |
| 232 | Enable this to support the SuperSpeed USB transceiver on MSM chips. |
| 233 | This driver supports the PHY which uses the QSCRATCH-based register |
| 234 | set for its control sequences, normally paired with newer DWC3-based |
| 235 | SuperSpeed controllers. |
| 236 | |
| 237 | config MSM_QUSB_PHY |
| 238 | tristate "MSM QUSB2 PHY Driver" |
| 239 | depends on ARCH_QCOM |
| 240 | select USB_PHY |
| 241 | help |
| 242 | Enable this to support the QUSB2 PHY on MSM chips. This driver supports |
| 243 | the high-speed PHY which is usually paired with either the ChipIdea or |
| 244 | Synopsys DWC3 USB IPs on MSM SOCs. This driver expects to configure the |
| 245 | PHY with a dedicated register I/O memory region. |
| 246 | |
Devdutt Patnaik | 9e653b1 | 2017-05-30 22:13:22 -0700 | [diff] [blame] | 247 | config MSM_HSUSB_PHY |
| 248 | tristate "MSM HSUSB PHY Driver" |
| 249 | depends on ARCH_QCOM |
| 250 | select USB_PHY |
| 251 | help |
| 252 | Enable this to support the HSUSB PHY on MSM chips. This driver supports |
| 253 | the high-speed PHY which is usually paired with either the ChipIdea or |
| 254 | Synopsys DWC3 USB IPs on MSM SOCs. This driver expects to configure the |
| 255 | PHY with a dedicated register I/O memory region. |
Roger Quadros | 052a11d | 2013-06-14 12:51:41 +0300 | [diff] [blame] | 256 | endmenu |