usb: phy: make PHY driver selection possible by controller drivers
[profile/ivi/kernel-x86-ivi.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         help
62           Enable this to add support for the USB part present in the control
63           module. This driver has API to power on the USB2 PHY and to write to
64           the mailbox. The mailbox is present only in omap4 and the register to
65           power on the USB2 PHY is present in OMAP4 and OMAP5. OMAP5 has an
66           additional register to power on USB3 PHY.
67
68 config OMAP_USB2
69         tristate "OMAP USB2 PHY Driver"
70         depends on ARCH_OMAP2PLUS
71         select OMAP_CONTROL_USB
72         select USB_PHY
73         help
74           Enable this to support the transceiver that is part of SOC. This
75           driver takes care of all the PHY functionality apart from comparator.
76           The USB OTG controller communicates with the comparator using this
77           driver.
78
79 config OMAP_USB3
80         tristate "OMAP USB3 PHY Driver"
81         select OMAP_CONTROL_USB
82         select USB_PHY
83         help
84           Enable this to support the USB3 PHY that is part of SOC. This
85           driver takes care of all the PHY functionality apart from comparator.
86           This driver interacts with the "OMAP Control USB Driver" to power
87           on/off the PHY.
88
89 config SAMSUNG_USBPHY
90         tristate
91         help
92           Enable this to support Samsung USB phy helper driver for Samsung SoCs.
93           This driver provides common interface to interact, for Samsung USB 2.0 PHY
94           driver and later for Samsung USB 3.0 PHY driver.
95
96 config SAMSUNG_USB2PHY
97         tristate "Samsung USB 2.0 PHY controller Driver"
98         select SAMSUNG_USBPHY
99         select USB_PHY
100         help
101           Enable this to support Samsung USB 2.0 (High Speed) PHY controller
102           driver for Samsung SoCs.
103
104 config SAMSUNG_USB3PHY
105         tristate "Samsung USB 3.0 PHY controller Driver"
106         select SAMSUNG_USBPHY
107         select USB_PHY
108         help
109           Enable this to support Samsung USB 3.0 (Super Speed) phy controller
110           for samsung SoCs.
111
112 config TWL4030_USB
113         tristate "TWL4030 USB Transceiver Driver"
114         depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS
115         select USB_PHY
116         help
117           Enable this to support the USB OTG transceiver on TWL4030
118           family chips (including the TWL5030 and TPS659x0 devices).
119           This transceiver supports high and full speed devices plus,
120           in host mode, low speed.
121
122 config TWL6030_USB
123         tristate "TWL6030 USB Transceiver Driver"
124         depends on TWL4030_CORE && OMAP_USB2 && USB_MUSB_OMAP2PLUS
125         help
126           Enable this to support the USB OTG transceiver on TWL6030
127           family chips. This TWL6030 transceiver has the VBUS and ID GND
128           and OTG SRP events capabilities. For all other transceiver functionality
129           UTMI PHY is embedded in OMAP4430. The internal PHY configurations APIs
130           are hooked to this driver through platform_data structure.
131           The definition of internal PHY APIs are in the mach-omap2 layer.
132
133 config USB_GPIO_VBUS
134         tristate "GPIO based peripheral-only VBUS sensing 'transceiver'"
135         depends on GPIOLIB
136         select USB_PHY
137         help
138           Provides simple GPIO VBUS sensing for controllers with an
139           internal transceiver via the usb_phy interface, and
140           optionally control of a D+ pullup GPIO as well as a VBUS
141           current limit regulator.
142
143 config USB_ISP1301
144         tristate "NXP ISP1301 USB transceiver support"
145         depends on USB || USB_GADGET
146         depends on I2C
147         select USB_PHY
148         help
149           Say Y here to add support for the NXP ISP1301 USB transceiver driver.
150           This chip is typically used as USB transceiver for USB host, gadget
151           and OTG drivers (to be selected separately).
152
153           To compile this driver as a module, choose M here: the
154           module will be called isp1301.
155
156 config USB_MSM_OTG
157         tristate "OTG support for Qualcomm on-chip USB controller"
158         depends on (USB || USB_GADGET) && ARCH_MSM
159         select USB_PHY
160         help
161           Enable this to support the USB OTG transceiver on MSM chips. It
162           handles PHY initialization, clock management, and workarounds
163           required after resetting the hardware and power management.
164           This driver is required even for peripheral only or host only
165           mode configurations.
166           This driver is not supported on boards like trout which
167           has an external PHY.
168
169 config USB_MV_OTG
170         tristate "Marvell USB OTG support"
171         depends on USB_EHCI_MV && USB_MV_UDC && PM_RUNTIME
172         select USB_OTG
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_RCAR_PHY
192         tristate "Renesas R-Car USB PHY support"
193         depends on USB || USB_GADGET
194         select USB_PHY
195         help
196           Say Y here to add support for the Renesas R-Car USB common PHY driver.
197           This chip is typically used as USB PHY for USB host, gadget.
198           This driver supports R8A7778 and R8A7779.
199
200           To compile this driver as a module, choose M here: the
201           module will be called phy-rcar-usb.
202
203 config USB_ULPI
204         bool "Generic ULPI Transceiver Driver"
205         depends on ARM
206         help
207           Enable this to support ULPI connected USB OTG transceivers which
208           are likely found on embedded boards.
209
210 config USB_ULPI_VIEWPORT
211         bool
212         depends on USB_ULPI
213         help
214           Provides read/write operations to the ULPI phy register set for
215           controllers with a viewport register (e.g. Chipidea/ARC controllers).
216
217 endmenu