Greg Kroah-Hartman | cae8dc3 | 2019-01-17 09:23:50 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Roland Stigge | 8b7c3b6 | 2012-04-29 16:47:04 +0200 | [diff] [blame] | 2 | # |
| 3 | # Physical Layer USB driver configuration |
| 4 | # |
Roger Quadros | 052a11d | 2013-06-14 12:51:41 +0300 | [diff] [blame] | 5 | menu "USB Physical Layer drivers" |
Kishon Vijay Abraham I | 657b306 | 2012-09-06 20:27:06 +0530 | [diff] [blame] | 6 | |
Roger Quadros | 052a11d | 2013-06-14 12:51:41 +0300 | [diff] [blame] | 7 | config USB_PHY |
Baolin Wang | 7d21114d | 2017-05-05 14:12:24 +0800 | [diff] [blame] | 8 | select EXTCON |
Roger Quadros | 052a11d | 2013-06-14 12:51:41 +0300 | [diff] [blame] | 9 | def_bool n |
Roland Stigge | 8b7c3b6 | 2012-04-29 16:47:04 +0200 | [diff] [blame] | 10 | |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 11 | # |
| 12 | # USB Transceiver Drivers |
| 13 | # |
| 14 | config AB8500_USB |
| 15 | tristate "AB8500 USB Transceiver Driver" |
| 16 | depends on AB8500_CORE |
Roger Quadros | 052a11d | 2013-06-14 12:51:41 +0300 | [diff] [blame] | 17 | select USB_PHY |
Kishon Vijay Abraham I | 57f6ce0 | 2013-01-25 08:21:48 +0530 | [diff] [blame] | 18 | help |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 19 | Enable this to support the USB OTG transceiver in AB8500 chip. |
| 20 | This transceiver supports high and full speed devices plus, |
| 21 | in host mode, low speed. |
| 22 | |
| 23 | config FSL_USB2_OTG |
Arnd Bergmann | 2100e3c | 2019-04-16 14:25:32 +0200 | [diff] [blame] | 24 | tristate "Freescale USB OTG Transceiver Driver" |
Anders Roxell | f2105d4 | 2019-01-22 11:36:02 +0100 | [diff] [blame] | 25 | depends on USB_EHCI_FSL && USB_FSL_USB2 && USB_OTG_FSM=y && PM |
Felipe Balbi | 5a8d651 | 2016-05-31 13:07:47 +0300 | [diff] [blame] | 26 | 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] | 27 | select USB_PHY |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 28 | help |
| 29 | Enable this to support Freescale USB OTG transceiver. |
| 30 | |
| 31 | config ISP1301_OMAP |
| 32 | tristate "Philips ISP1301 with OMAP OTG" |
| 33 | depends on I2C && ARCH_OMAP_OTG |
Felipe Balbi | 7cd0c29 | 2013-12-10 17:00:06 -0600 | [diff] [blame] | 34 | depends on USB |
Felipe Balbi | 5a8d651 | 2016-05-31 13:07:47 +0300 | [diff] [blame] | 35 | 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] | 36 | select USB_PHY |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 37 | help |
| 38 | If you say yes here you get support for the Philips ISP1301 |
| 39 | USB-On-The-Go transceiver working with the OMAP OTG controller. |
| 40 | The ISP1301 is a full speed USB transceiver which is used in |
| 41 | products including H2, H3, and H4 development boards for Texas |
| 42 | Instruments OMAP processors. |
| 43 | |
| 44 | 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] | 45 | will be called phy-isp1301-omap. |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 46 | |
WingMan Kwok | 25acdd0 | 2013-12-12 12:25:30 -0500 | [diff] [blame] | 47 | config KEYSTONE_USB_PHY |
| 48 | tristate "Keystone USB PHY Driver" |
| 49 | depends on ARCH_KEYSTONE || COMPILE_TEST |
Felipe Balbi | 5a8d651 | 2016-05-31 13:07:47 +0300 | [diff] [blame] | 50 | depends on NOP_USB_XCEIV |
WingMan Kwok | 25acdd0 | 2013-12-12 12:25:30 -0500 | [diff] [blame] | 51 | help |
| 52 | Enable this to support Keystone USB phy. This driver provides |
| 53 | interface to interact with USB 2.0 and USB 3.0 PHY that is part |
| 54 | of the Keystone SOC. |
| 55 | |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 56 | config NOP_USB_XCEIV |
| 57 | tristate "NOP USB Transceiver Driver" |
Felipe Balbi | 5a8d651 | 2016-05-31 13:07:47 +0300 | [diff] [blame] | 58 | 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] | 59 | select USB_PHY |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 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. |
Kishon Vijay Abraham I | 57f6ce0 | 2013-01-25 08:21:48 +0530 | [diff] [blame] | 64 | |
Sebastian Andrzej Siewior | 3bb869c | 2013-07-30 21:43:45 +0200 | [diff] [blame] | 65 | config AM335X_CONTROL_USB |
| 66 | tristate |
| 67 | |
| 68 | config AM335X_PHY_USB |
| 69 | tristate "AM335x USB PHY Driver" |
Dave Jones | 7ba0127 | 2013-09-03 17:35:52 -0400 | [diff] [blame] | 70 | depends on ARM || COMPILE_TEST |
Felipe Balbi | 5a8d651 | 2016-05-31 13:07:47 +0300 | [diff] [blame] | 71 | depends on NOP_USB_XCEIV |
Sebastian Andrzej Siewior | 3bb869c | 2013-07-30 21:43:45 +0200 | [diff] [blame] | 72 | select USB_PHY |
| 73 | select AM335X_CONTROL_USB |
Bin Liu | 59f042f | 2015-12-08 10:31:50 -0600 | [diff] [blame] | 74 | select USB_COMMON |
Sebastian Andrzej Siewior | 3bb869c | 2013-07-30 21:43:45 +0200 | [diff] [blame] | 75 | help |
| 76 | This driver provides PHY support for that phy which part for the |
| 77 | AM335x SoC. |
| 78 | |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 79 | config TWL6030_USB |
| 80 | tristate "TWL6030 USB Transceiver Driver" |
| 81 | depends on TWL4030_CORE && OMAP_USB2 && USB_MUSB_OMAP2PLUS |
Nicolae Rosia | 1ad528d | 2016-11-12 12:47:43 +0200 | [diff] [blame] | 82 | depends on OF |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 83 | help |
| 84 | Enable this to support the USB OTG transceiver on TWL6030 |
| 85 | family chips. This TWL6030 transceiver has the VBUS and ID GND |
| 86 | and OTG SRP events capabilities. For all other transceiver functionality |
| 87 | UTMI PHY is embedded in OMAP4430. The internal PHY configurations APIs |
| 88 | are hooked to this driver through platform_data structure. |
| 89 | The definition of internal PHY APIs are in the mach-omap2 layer. |
| 90 | |
| 91 | config USB_GPIO_VBUS |
| 92 | tristate "GPIO based peripheral-only VBUS sensing 'transceiver'" |
Geert Uytterhoeven | db978e28 | 2015-05-05 18:32:38 +0200 | [diff] [blame] | 93 | depends on GPIOLIB || COMPILE_TEST |
Felipe Balbi | 5a8d651 | 2016-05-31 13:07:47 +0300 | [diff] [blame] | 94 | 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] | 95 | select USB_PHY |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 96 | help |
| 97 | Provides simple GPIO VBUS sensing for controllers with an |
| 98 | internal transceiver via the usb_phy interface, and |
| 99 | optionally control of a D+ pullup GPIO as well as a VBUS |
| 100 | current limit regulator. |
Kishon Vijay Abraham I | 01658f0 | 2013-01-25 15:53:57 +0530 | [diff] [blame] | 101 | |
Aaro Koskinen | 449d2ba | 2013-12-06 16:13:06 +0200 | [diff] [blame] | 102 | config OMAP_OTG |
| 103 | tristate "OMAP USB OTG controller driver" |
| 104 | depends on ARCH_OMAP_OTG && EXTCON |
| 105 | help |
| 106 | Enable this to support some transceivers on OMAP1 platforms. OTG |
| 107 | controller is needed to switch between host and peripheral modes. |
| 108 | |
| 109 | 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] | 110 | will be called phy-omap-otg. |
Aaro Koskinen | 449d2ba | 2013-12-06 16:13:06 +0200 | [diff] [blame] | 111 | |
Aaro Koskinen | 9ba96ae | 2013-12-06 16:13:07 +0200 | [diff] [blame] | 112 | config TAHVO_USB |
| 113 | tristate "Tahvo USB transceiver driver" |
Baolin Wang | 7d21114d | 2017-05-05 14:12:24 +0800 | [diff] [blame] | 114 | depends on MFD_RETU |
Felipe Balbi | 5a8d651 | 2016-05-31 13:07:47 +0300 | [diff] [blame] | 115 | 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] | 116 | select USB_PHY |
| 117 | help |
| 118 | Enable this to support USB transceiver on Tahvo. This is used |
| 119 | at least on Nokia 770. |
| 120 | |
| 121 | config TAHVO_USB_HOST_BY_DEFAULT |
| 122 | depends on TAHVO_USB |
Christoph Jaeger | 6341e62 | 2014-12-20 15:41:11 -0500 | [diff] [blame] | 123 | bool "Device in USB host mode by default" |
Aaro Koskinen | 9ba96ae | 2013-12-06 16:13:07 +0200 | [diff] [blame] | 124 | help |
| 125 | Say Y here, if you want the device to enter USB host mode |
| 126 | by default on bootup. |
| 127 | |
Roland Stigge | 8b7c3b6 | 2012-04-29 16:47:04 +0200 | [diff] [blame] | 128 | config USB_ISP1301 |
| 129 | tristate "NXP ISP1301 USB transceiver support" |
Alexandre Pereira da Silva | c615632 | 2012-06-26 11:56:48 -0300 | [diff] [blame] | 130 | depends on USB || USB_GADGET |
Roland Stigge | 8b7c3b6 | 2012-04-29 16:47:04 +0200 | [diff] [blame] | 131 | depends on I2C |
Roger Quadros | 052a11d | 2013-06-14 12:51:41 +0300 | [diff] [blame] | 132 | select USB_PHY |
Roland Stigge | 8b7c3b6 | 2012-04-29 16:47:04 +0200 | [diff] [blame] | 133 | help |
| 134 | Say Y here to add support for the NXP ISP1301 USB transceiver driver. |
| 135 | This chip is typically used as USB transceiver for USB host, gadget |
| 136 | and OTG drivers (to be selected separately). |
| 137 | |
| 138 | To compile this driver as a module, choose M here: the |
Aaro Koskinen | 12c8d64 | 2013-12-21 20:37:38 +0200 | [diff] [blame] | 139 | module will be called phy-isp1301. |
Yu Xu | a67e76a | 2012-08-09 22:29:31 +0800 | [diff] [blame] | 140 | |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 141 | config USB_MV_OTG |
| 142 | tristate "Marvell USB OTG support" |
Peter Chen | c4f1613 | 2015-11-19 11:47:47 +0800 | [diff] [blame] | 143 | depends on USB_EHCI_MV && USB_MV_UDC && PM && USB_OTG |
Felipe Balbi | 5a8d651 | 2016-05-31 13:07:47 +0300 | [diff] [blame] | 144 | 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] | 145 | select USB_PHY |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 146 | help |
Colin Ian King | 44ef9b2 | 2020-11-26 22:37:04 +0000 | [diff] [blame] | 147 | Say Y here if you want to build Marvell USB OTG transceiver |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 148 | driver in kernel (including PXA and MMP series). This driver |
| 149 | implements role switch between EHCI host driver and gadget driver. |
| 150 | |
| 151 | To compile this driver as a module, choose M here. |
| 152 | |
| 153 | config USB_MXS_PHY |
| 154 | tristate "Freescale MXS USB PHY support" |
| 155 | depends on ARCH_MXC || ARCH_MXS |
| 156 | select STMP_DEVICE |
Roger Quadros | 052a11d | 2013-06-14 12:51:41 +0300 | [diff] [blame] | 157 | select USB_PHY |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 158 | help |
| 159 | Enable this to support the Freescale MXS USB PHY. |
| 160 | |
| 161 | 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] | 162 | |
Dmitry Osipenko | ee30ec0 | 2018-04-10 01:02:59 +0300 | [diff] [blame] | 163 | config USB_TEGRA_PHY |
| 164 | tristate "NVIDIA Tegra USB PHY Driver" |
Krzysztof Kozlowski | 91687c19 | 2019-12-30 18:22:15 +0100 | [diff] [blame] | 165 | depends on ARCH_TEGRA || COMPILE_TEST |
Arnd Bergmann | 822852f | 2018-05-30 23:33:50 +0200 | [diff] [blame] | 166 | select USB_COMMON |
Dmitry Osipenko | ee30ec0 | 2018-04-10 01:02:59 +0300 | [diff] [blame] | 167 | select USB_PHY |
| 168 | select USB_ULPI |
| 169 | help |
| 170 | This driver provides PHY support for the USB controllers found |
| 171 | on NVIDIA Tegra SoC's. |
| 172 | |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 173 | config USB_ULPI |
| 174 | bool "Generic ULPI Transceiver Driver" |
Krzysztof Kozlowski | 91687c19 | 2019-12-30 18:22:15 +0100 | [diff] [blame] | 175 | depends on ARM || ARM64 || COMPILE_TEST |
Ivan T. Ivanov | 1ea276c | 2015-03-21 15:25:52 +0200 | [diff] [blame] | 176 | select USB_ULPI_VIEWPORT |
Praveen Paneri | 337dc3a | 2012-11-23 16:03:06 +0530 | [diff] [blame] | 177 | help |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 178 | Enable this to support ULPI connected USB OTG transceivers which |
| 179 | are likely found on embedded boards. |
| 180 | |
| 181 | config USB_ULPI_VIEWPORT |
| 182 | bool |
Felipe Balbi | a0e6312 | 2013-03-07 11:01:15 +0200 | [diff] [blame] | 183 | help |
| 184 | Provides read/write operations to the ULPI phy register set for |
| 185 | controllers with a viewport register (e.g. Chipidea/ARC controllers). |
| 186 | |
Paul Cercueil | 541368b | 2020-02-29 13:18:20 -0300 | [diff] [blame] | 187 | config JZ4770_PHY |
周琰杰 (Zhou Yanjie) | 2a6c0b8 | 2020-07-23 14:13:00 +0800 | [diff] [blame] | 188 | tristate "Ingenic SoCs Transceiver Driver" |
Paul Cercueil | 541368b | 2020-02-29 13:18:20 -0300 | [diff] [blame] | 189 | depends on MIPS || COMPILE_TEST |
| 190 | select USB_PHY |
| 191 | help |
| 192 | This driver provides PHY support for the USB controller found |
周琰杰 (Zhou Yanjie) | 2a6c0b8 | 2020-07-23 14:13:00 +0800 | [diff] [blame] | 193 | on the JZ-series and X-series SoCs from Ingenic. |
Paul Cercueil | 541368b | 2020-02-29 13:18:20 -0300 | [diff] [blame] | 194 | |
Roger Quadros | 052a11d | 2013-06-14 12:51:41 +0300 | [diff] [blame] | 195 | endmenu |