]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blame - drivers/usb/phy/Kconfig
Merge tag 'armsoc-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[mirror_ubuntu-zesty-kernel.git] / drivers / usb / phy / Kconfig
CommitLineData
8b7c3b68
RS
1#
2# Physical Layer USB driver configuration
3#
052a11d1 4menu "USB Physical Layer drivers"
035978be 5
052a11d1
RQ
6config USB_PHY
7 def_bool n
8b7c3b68 8
a0e63123
FB
9#
10# USB Transceiver Drivers
11#
12config AB8500_USB
13 tristate "AB8500 USB Transceiver Driver"
14 depends on AB8500_CORE
052a11d1 15 select USB_PHY
a0e63123
FB
16 help
17 Enable this to support the USB OTG transceiver in AB8500 chip.
18 This transceiver supports high and full speed devices plus,
19 in host mode, low speed.
20
21config FSL_USB2_OTG
22 bool "Freescale USB OTG Transceiver Driver"
1b3e3aa6 23 depends on USB_EHCI_FSL && USB_FSL_USB2 && USB_OTG_FSM && PM
5a8d651a 24 depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
052a11d1 25 select USB_PHY
a0e63123
FB
26 help
27 Enable this to support Freescale USB OTG transceiver.
28
29config ISP1301_OMAP
30 tristate "Philips ISP1301 with OMAP OTG"
31 depends on I2C && ARCH_OMAP_OTG
7cd0c298 32 depends on USB
5a8d651a 33 depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
052a11d1 34 select USB_PHY
a0e63123
FB
35 help
36 If you say yes here you get support for the Philips ISP1301
37 USB-On-The-Go transceiver working with the OMAP OTG controller.
38 The ISP1301 is a full speed USB transceiver which is used in
39 products including H2, H3, and H4 development boards for Texas
40 Instruments OMAP processors.
41
42 This driver can also be built as a module. If so, the module
12c8d64e 43 will be called phy-isp1301-omap.
a0e63123 44
25acdd08
WK
45config KEYSTONE_USB_PHY
46 tristate "Keystone USB PHY Driver"
47 depends on ARCH_KEYSTONE || COMPILE_TEST
5a8d651a 48 depends on NOP_USB_XCEIV
25acdd08
WK
49 help
50 Enable this to support Keystone USB phy. This driver provides
51 interface to interact with USB 2.0 and USB 3.0 PHY that is part
52 of the Keystone SOC.
53
a0e63123
FB
54config NOP_USB_XCEIV
55 tristate "NOP USB Transceiver Driver"
5a8d651a 56 depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, NOP can't be built-in
052a11d1 57 select USB_PHY
a0e63123
FB
58 help
59 This driver is to be used by all the usb transceiver which are either
60 built-in with usb ip or which are autonomous and doesn't require any
61 phy programming such as ISP1x04 etc.
62
3bb869c8
SAS
63config AM335X_CONTROL_USB
64 tristate
65
66config AM335X_PHY_USB
67 tristate "AM335x USB PHY Driver"
7ba01278 68 depends on ARM || COMPILE_TEST
5a8d651a 69 depends on NOP_USB_XCEIV
3bb869c8
SAS
70 select USB_PHY
71 select AM335X_CONTROL_USB
59f042f6 72 select USB_COMMON
3bb869c8
SAS
73 help
74 This driver provides PHY support for that phy which part for the
75 AM335x SoC.
76
a0e63123 77config SAMSUNG_USBPHY
6278703b 78 tristate
01658f0f 79 help
dc2377d0
VG
80 Enable this to support Samsung USB phy helper driver for Samsung SoCs.
81 This driver provides common interface to interact, for Samsung USB 2.0 PHY
82 driver and later for Samsung USB 3.0 PHY driver.
83
a0e63123
FB
84config TWL6030_USB
85 tristate "TWL6030 USB Transceiver Driver"
86 depends on TWL4030_CORE && OMAP_USB2 && USB_MUSB_OMAP2PLUS
1ad528db 87 depends on OF
a0e63123
FB
88 help
89 Enable this to support the USB OTG transceiver on TWL6030
90 family chips. This TWL6030 transceiver has the VBUS and ID GND
91 and OTG SRP events capabilities. For all other transceiver functionality
92 UTMI PHY is embedded in OMAP4430. The internal PHY configurations APIs
93 are hooked to this driver through platform_data structure.
94 The definition of internal PHY APIs are in the mach-omap2 layer.
95
96config USB_GPIO_VBUS
97 tristate "GPIO based peripheral-only VBUS sensing 'transceiver'"
db978e28 98 depends on GPIOLIB || COMPILE_TEST
5a8d651a 99 depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
052a11d1 100 select USB_PHY
a0e63123
FB
101 help
102 Provides simple GPIO VBUS sensing for controllers with an
103 internal transceiver via the usb_phy interface, and
104 optionally control of a D+ pullup GPIO as well as a VBUS
105 current limit regulator.
01658f0f 106
449d2ba6
AK
107config OMAP_OTG
108 tristate "OMAP USB OTG controller driver"
109 depends on ARCH_OMAP_OTG && EXTCON
110 help
111 Enable this to support some transceivers on OMAP1 platforms. OTG
112 controller is needed to switch between host and peripheral modes.
113
114 This driver can also be built as a module. If so, the module
12c8d64e 115 will be called phy-omap-otg.
449d2ba6 116
9ba96ae5
AK
117config TAHVO_USB
118 tristate "Tahvo USB transceiver driver"
119 depends on MFD_RETU && EXTCON
5a8d651a 120 depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
9ba96ae5
AK
121 select USB_PHY
122 help
123 Enable this to support USB transceiver on Tahvo. This is used
124 at least on Nokia 770.
125
126config TAHVO_USB_HOST_BY_DEFAULT
127 depends on TAHVO_USB
6341e62b 128 bool "Device in USB host mode by default"
9ba96ae5
AK
129 help
130 Say Y here, if you want the device to enter USB host mode
131 by default on bootup.
132
8b7c3b68
RS
133config USB_ISP1301
134 tristate "NXP ISP1301 USB transceiver support"
c6156328 135 depends on USB || USB_GADGET
8b7c3b68 136 depends on I2C
052a11d1 137 select USB_PHY
8b7c3b68
RS
138 help
139 Say Y here to add support for the NXP ISP1301 USB transceiver driver.
140 This chip is typically used as USB transceiver for USB host, gadget
141 and OTG drivers (to be selected separately).
142
143 To compile this driver as a module, choose M here: the
12c8d64e 144 module will be called phy-isp1301.
a67e76ac 145
a0e63123 146config USB_MSM_OTG
0d092fdb 147 tristate "Qualcomm on-chip USB OTG controller support"
46f5cace 148 depends on (USB || USB_GADGET) && (ARCH_QCOM || COMPILE_TEST)
5a8d651a 149 depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
c5ab571f 150 depends on RESET_CONTROLLER
591fc116 151 depends on EXTCON
052a11d1 152 select USB_PHY
a67e76ac 153 help
0d092fdb 154 Enable this to support the USB OTG transceiver on Qualcomm chips. It
a0e63123
FB
155 handles PHY initialization, clock management, and workarounds
156 required after resetting the hardware and power management.
157 This driver is required even for peripheral only or host only
158 mode configurations.
159 This driver is not supported on boards like trout which
160 has an external PHY.
161
35116993
II
162config USB_QCOM_8X16_PHY
163 tristate "Qualcomm APQ8016/MSM8916 on-chip USB PHY controller support"
164 depends on ARCH_QCOM || COMPILE_TEST
88ccdbd5 165 depends on RESET_CONTROLLER && EXTCON
35116993
II
166 select USB_PHY
167 select USB_ULPI_VIEWPORT
168 help
169 Enable this to support the USB transceiver on Qualcomm 8x16 chipsets.
170 It handles PHY initialization, clock management, power management,
171 and workarounds required after resetting the hardware.
172
173 To compile this driver as a module, choose M here: the
174 module will be called phy-qcom-8x16-usb.
175
a0e63123
FB
176config USB_MV_OTG
177 tristate "Marvell USB OTG support"
c4f16130 178 depends on USB_EHCI_MV && USB_MV_UDC && PM && USB_OTG
5a8d651a 179 depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
052a11d1 180 select USB_PHY
a0e63123
FB
181 help
182 Say Y here if you want to build Marvell USB OTG transciever
183 driver in kernel (including PXA and MMP series). This driver
184 implements role switch between EHCI host driver and gadget driver.
185
186 To compile this driver as a module, choose M here.
187
188config USB_MXS_PHY
189 tristate "Freescale MXS USB PHY support"
190 depends on ARCH_MXC || ARCH_MXS
191 select STMP_DEVICE
052a11d1 192 select USB_PHY
a0e63123
FB
193 help
194 Enable this to support the Freescale MXS USB PHY.
195
196 MXS Phy is used by some of the i.MX SoCs, for example imx23/28/6x.
1789e52a 197
a0e63123
FB
198config USB_ULPI
199 bool "Generic ULPI Transceiver Driver"
113229b8 200 depends on ARM || ARM64
1ea276cb 201 select USB_ULPI_VIEWPORT
337dc3a7 202 help
a0e63123
FB
203 Enable this to support ULPI connected USB OTG transceivers which
204 are likely found on embedded boards.
205
206config USB_ULPI_VIEWPORT
207 bool
337dc3a7 208 help
a0e63123
FB
209 Provides read/write operations to the ULPI phy register set for
210 controllers with a viewport register (e.g. Chipidea/ARC controllers).
211
052a11d1 212endmenu