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