usb: phy: omap-usb2: use the new generic PHY framework
[firefly-linux-kernel-4.4.55.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 && PM_RUNTIME
24         select USB_OTG
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         select USB_PHY
33         help
34           If you say yes here you get support for the Philips ISP1301
35           USB-On-The-Go transceiver working with the OMAP OTG controller.
36           The ISP1301 is a full speed USB  transceiver which is used in
37           products including H2, H3, and H4 development boards for Texas
38           Instruments OMAP processors.
39
40           This driver can also be built as a module.  If so, the module
41           will be called isp1301_omap.
42
43 config MV_U3D_PHY
44         bool "Marvell USB 3.0 PHY controller Driver"
45         depends on CPU_MMP3
46         select USB_PHY
47         help
48           Enable this to support Marvell USB 3.0 phy controller for Marvell
49           SoC.
50
51 config NOP_USB_XCEIV
52         tristate "NOP USB Transceiver Driver"
53         select USB_PHY
54         help
55           This driver is to be used by all the usb transceiver which are either
56           built-in with usb ip or which are autonomous and doesn't require any
57           phy programming such as ISP1x04 etc.
58
59 config OMAP_CONTROL_USB
60         tristate "OMAP CONTROL USB Driver"
61         depends on ARCH_OMAP2PLUS || COMPILE_TEST
62         help
63           Enable this to add support for the USB part present in the control
64           module. This driver has API to power on the USB2 PHY and to write to
65           the mailbox. The mailbox is present only in omap4 and the register to
66           power on the USB2 PHY is present in OMAP4 and OMAP5. OMAP5 has an
67           additional register to power on USB3 PHY.
68
69 config OMAP_USB3
70         tristate "OMAP USB3 PHY Driver"
71         depends on ARCH_OMAP2PLUS || COMPILE_TEST
72         select OMAP_CONTROL_USB
73         select USB_PHY
74         help
75           Enable this to support the USB3 PHY that is part of SOC. This
76           driver takes care of all the PHY functionality apart from comparator.
77           This driver interacts with the "OMAP Control USB Driver" to power
78           on/off the PHY.
79
80 config AM335X_CONTROL_USB
81         tristate
82
83 config AM335X_PHY_USB
84         tristate "AM335x USB PHY Driver"
85         depends on ARM || COMPILE_TEST
86         select USB_PHY
87         select AM335X_CONTROL_USB
88         select NOP_USB_XCEIV
89         help
90           This driver provides PHY support for that phy which part for the
91           AM335x SoC.
92
93 config SAMSUNG_USBPHY
94         tristate
95         help
96           Enable this to support Samsung USB phy helper driver for Samsung SoCs.
97           This driver provides common interface to interact, for Samsung USB 2.0 PHY
98           driver and later for Samsung USB 3.0 PHY driver.
99
100 config SAMSUNG_USB2PHY
101         tristate "Samsung USB 2.0 PHY controller Driver"
102         select SAMSUNG_USBPHY
103         select USB_PHY
104         help
105           Enable this to support Samsung USB 2.0 (High Speed) PHY controller
106           driver for Samsung SoCs.
107
108 config SAMSUNG_USB3PHY
109         tristate "Samsung USB 3.0 PHY controller Driver"
110         select SAMSUNG_USBPHY
111         select USB_PHY
112         help
113           Enable this to support Samsung USB 3.0 (Super Speed) phy controller
114           for samsung SoCs.
115
116 config TWL4030_USB
117         tristate "TWL4030 USB Transceiver Driver"
118         depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS
119         select USB_PHY
120         help
121           Enable this to support the USB OTG transceiver on TWL4030
122           family chips (including the TWL5030 and TPS659x0 devices).
123           This transceiver supports high and full speed devices plus,
124           in host mode, low speed.
125
126 config TWL6030_USB
127         tristate "TWL6030 USB Transceiver Driver"
128         depends on TWL4030_CORE && OMAP_USB2 && USB_MUSB_OMAP2PLUS
129         help
130           Enable this to support the USB OTG transceiver on TWL6030
131           family chips. This TWL6030 transceiver has the VBUS and ID GND
132           and OTG SRP events capabilities. For all other transceiver functionality
133           UTMI PHY is embedded in OMAP4430. The internal PHY configurations APIs
134           are hooked to this driver through platform_data structure.
135           The definition of internal PHY APIs are in the mach-omap2 layer.
136
137 config USB_GPIO_VBUS
138         tristate "GPIO based peripheral-only VBUS sensing 'transceiver'"
139         depends on GPIOLIB
140         select USB_PHY
141         help
142           Provides simple GPIO VBUS sensing for controllers with an
143           internal transceiver via the usb_phy interface, and
144           optionally control of a D+ pullup GPIO as well as a VBUS
145           current limit regulator.
146
147 config USB_ISP1301
148         tristate "NXP ISP1301 USB transceiver support"
149         depends on USB || USB_GADGET
150         depends on I2C
151         select USB_PHY
152         help
153           Say Y here to add support for the NXP ISP1301 USB transceiver driver.
154           This chip is typically used as USB transceiver for USB host, gadget
155           and OTG drivers (to be selected separately).
156
157           To compile this driver as a module, choose M here: the
158           module will be called isp1301.
159
160 config USB_MSM_OTG
161         tristate "OTG support for Qualcomm on-chip USB controller"
162         depends on (USB || USB_GADGET) && ARCH_MSM
163         select USB_PHY
164         help
165           Enable this to support the USB OTG transceiver on MSM chips. It
166           handles PHY initialization, clock management, and workarounds
167           required after resetting the hardware and power management.
168           This driver is required even for peripheral only or host only
169           mode configurations.
170           This driver is not supported on boards like trout which
171           has an external PHY.
172
173 config USB_MV_OTG
174         tristate "Marvell USB OTG support"
175         depends on USB_EHCI_MV && USB_MV_UDC && PM_RUNTIME
176         select USB_OTG
177         select USB_PHY
178         help
179           Say Y here if you want to build Marvell USB OTG transciever
180           driver in kernel (including PXA and MMP series). This driver
181           implements role switch between EHCI host driver and gadget driver.
182
183           To compile this driver as a module, choose M here.
184
185 config USB_MXS_PHY
186         tristate "Freescale MXS USB PHY support"
187         depends on ARCH_MXC || ARCH_MXS
188         select STMP_DEVICE
189         select USB_PHY
190         help
191           Enable this to support the Freescale MXS USB PHY.
192
193           MXS Phy is used by some of the i.MX SoCs, for example imx23/28/6x.
194
195 config USB_RCAR_PHY
196         tristate "Renesas R-Car USB PHY support"
197         depends on USB || USB_GADGET
198         select USB_PHY
199         help
200           Say Y here to add support for the Renesas R-Car USB common PHY driver.
201           This chip is typically used as USB PHY for USB host, gadget.
202           This driver supports R8A7778 and R8A7779.
203
204           To compile this driver as a module, choose M here: the
205           module will be called phy-rcar-usb.
206
207 config USB_ULPI
208         bool "Generic ULPI Transceiver Driver"
209         depends on ARM
210         help
211           Enable this to support ULPI connected USB OTG transceivers which
212           are likely found on embedded boards.
213
214 config USB_ULPI_VIEWPORT
215         bool
216         depends on USB_ULPI
217         help
218           Provides read/write operations to the ULPI phy register set for
219           controllers with a viewport register (e.g. Chipidea/ARC controllers).
220
221 endmenu