]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - drivers/usb/phy/Kconfig
Merge tag 'powerpc-4.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc...
[mirror_ubuntu-artful-kernel.git] / drivers / usb / phy / Kconfig
1 #
2 # Physical Layer USB driver configuration
3 #
4 menu "USB Physical Layer drivers"
5
6 config USB_PHY
7 def_bool n
8
9 #
10 # USB Transceiver Drivers
11 #
12 config AB8500_USB
13 tristate "AB8500 USB Transceiver Driver"
14 depends on AB8500_CORE
15 select USB_PHY
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
21 config FSL_USB2_OTG
22 bool "Freescale USB OTG Transceiver Driver"
23 depends on USB_EHCI_FSL && USB_FSL_USB2 && USB_OTG_FSM && PM
24 depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
25 select USB_PHY
26 help
27 Enable this to support Freescale USB OTG transceiver.
28
29 config ISP1301_OMAP
30 tristate "Philips ISP1301 with OMAP OTG"
31 depends on I2C && ARCH_OMAP_OTG
32 depends on USB
33 depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
34 select USB_PHY
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
43 will be called phy-isp1301-omap.
44
45 config KEYSTONE_USB_PHY
46 tristate "Keystone USB PHY Driver"
47 depends on ARCH_KEYSTONE || COMPILE_TEST
48 depends on NOP_USB_XCEIV
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
54 config NOP_USB_XCEIV
55 tristate "NOP USB Transceiver Driver"
56 depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, NOP can't be built-in
57 select USB_PHY
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
63 config AM335X_CONTROL_USB
64 tristate
65
66 config AM335X_PHY_USB
67 tristate "AM335x USB PHY Driver"
68 depends on ARM || COMPILE_TEST
69 depends on NOP_USB_XCEIV
70 select USB_PHY
71 select AM335X_CONTROL_USB
72 select USB_COMMON
73 help
74 This driver provides PHY support for that phy which part for the
75 AM335x SoC.
76
77 config TWL6030_USB
78 tristate "TWL6030 USB Transceiver Driver"
79 depends on TWL4030_CORE && OMAP_USB2 && USB_MUSB_OMAP2PLUS
80 depends on OF
81 help
82 Enable this to support the USB OTG transceiver on TWL6030
83 family chips. This TWL6030 transceiver has the VBUS and ID GND
84 and OTG SRP events capabilities. For all other transceiver functionality
85 UTMI PHY is embedded in OMAP4430. The internal PHY configurations APIs
86 are hooked to this driver through platform_data structure.
87 The definition of internal PHY APIs are in the mach-omap2 layer.
88
89 config USB_GPIO_VBUS
90 tristate "GPIO based peripheral-only VBUS sensing 'transceiver'"
91 depends on GPIOLIB || COMPILE_TEST
92 depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
93 select USB_PHY
94 help
95 Provides simple GPIO VBUS sensing for controllers with an
96 internal transceiver via the usb_phy interface, and
97 optionally control of a D+ pullup GPIO as well as a VBUS
98 current limit regulator.
99
100 config OMAP_OTG
101 tristate "OMAP USB OTG controller driver"
102 depends on ARCH_OMAP_OTG && EXTCON
103 help
104 Enable this to support some transceivers on OMAP1 platforms. OTG
105 controller is needed to switch between host and peripheral modes.
106
107 This driver can also be built as a module. If so, the module
108 will be called phy-omap-otg.
109
110 config TAHVO_USB
111 tristate "Tahvo USB transceiver driver"
112 depends on MFD_RETU && EXTCON
113 depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
114 select USB_PHY
115 help
116 Enable this to support USB transceiver on Tahvo. This is used
117 at least on Nokia 770.
118
119 config TAHVO_USB_HOST_BY_DEFAULT
120 depends on TAHVO_USB
121 bool "Device in USB host mode by default"
122 help
123 Say Y here, if you want the device to enter USB host mode
124 by default on bootup.
125
126 config USB_ISP1301
127 tristate "NXP ISP1301 USB transceiver support"
128 depends on USB || USB_GADGET
129 depends on I2C
130 select USB_PHY
131 help
132 Say Y here to add support for the NXP ISP1301 USB transceiver driver.
133 This chip is typically used as USB transceiver for USB host, gadget
134 and OTG drivers (to be selected separately).
135
136 To compile this driver as a module, choose M here: the
137 module will be called phy-isp1301.
138
139 config USB_MSM_OTG
140 tristate "Qualcomm on-chip USB OTG controller support"
141 depends on (USB || USB_GADGET) && (ARCH_QCOM || COMPILE_TEST)
142 depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
143 depends on RESET_CONTROLLER
144 depends on EXTCON
145 select USB_PHY
146 help
147 Enable this to support the USB OTG transceiver on Qualcomm chips. It
148 handles PHY initialization, clock management, and workarounds
149 required after resetting the hardware and power management.
150 This driver is required even for peripheral only or host only
151 mode configurations.
152 This driver is not supported on boards like trout which
153 has an external PHY.
154
155 config USB_QCOM_8X16_PHY
156 tristate "Qualcomm APQ8016/MSM8916 on-chip USB PHY controller support"
157 depends on ARCH_QCOM || COMPILE_TEST
158 depends on RESET_CONTROLLER && EXTCON
159 select USB_PHY
160 select USB_ULPI_VIEWPORT
161 help
162 Enable this to support the USB transceiver on Qualcomm 8x16 chipsets.
163 It handles PHY initialization, clock management, power management,
164 and workarounds required after resetting the hardware.
165
166 To compile this driver as a module, choose M here: the
167 module will be called phy-qcom-8x16-usb.
168
169 config USB_MV_OTG
170 tristate "Marvell USB OTG support"
171 depends on USB_EHCI_MV && USB_MV_UDC && PM && USB_OTG
172 depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
173 select USB_PHY
174 help
175 Say Y here if you want to build Marvell USB OTG transciever
176 driver in kernel (including PXA and MMP series). This driver
177 implements role switch between EHCI host driver and gadget driver.
178
179 To compile this driver as a module, choose M here.
180
181 config USB_MXS_PHY
182 tristate "Freescale MXS USB PHY support"
183 depends on ARCH_MXC || ARCH_MXS
184 select STMP_DEVICE
185 select USB_PHY
186 help
187 Enable this to support the Freescale MXS USB PHY.
188
189 MXS Phy is used by some of the i.MX SoCs, for example imx23/28/6x.
190
191 config USB_ULPI
192 bool "Generic ULPI Transceiver Driver"
193 depends on ARM || ARM64
194 select USB_ULPI_VIEWPORT
195 help
196 Enable this to support ULPI connected USB OTG transceivers which
197 are likely found on embedded boards.
198
199 config USB_ULPI_VIEWPORT
200 bool
201 help
202 Provides read/write operations to the ULPI phy register set for
203 controllers with a viewport register (e.g. Chipidea/ARC controllers).
204
205 endmenu