]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - drivers/usb/otg/Kconfig
usb/isp1760: Fix crash when unplugging bug
[mirror_ubuntu-bionic-kernel.git] / drivers / usb / otg / Kconfig
CommitLineData
b8da8677
DB
1#
2# USB OTG infrastructure may be needed for peripheral-only, host-only,
3# or OTG-capable configurations when OTG transceivers or controllers
4# are used.
5#
6
7comment "OTG and related infrastructure"
8
b8da8677
DB
9config USB_OTG_UTILS
10 bool
11 help
12 Select this to make sure the build includes objects from
13 the OTG infrastructure directory.
14
2bf5fa13
DB
15if USB || USB_GADGET
16
6084f1bf
PZ
17#
18# USB Transceiver Drivers
19#
20config USB_GPIO_VBUS
21 tristate "GPIO based peripheral-only VBUS sensing 'transceiver'"
22 depends on GENERIC_GPIO
23 select USB_OTG_UTILS
24 help
25 Provides simple GPIO VBUS sensing for controllers with an
26 internal transceiver via the otg_transceiver interface, and
27 optionally control of a D+ pullup GPIO as well as a VBUS
28 current limit regulator.
29
b8da8677
DB
30config ISP1301_OMAP
31 tristate "Philips ISP1301 with OMAP OTG"
32 depends on I2C && ARCH_OMAP_OTG
33 select USB_OTG_UTILS
34 help
35 If you say yes here you get support for the Philips ISP1301
36 USB-On-The-Go transceiver working with the OMAP OTG controller.
37 The ISP1301 is a full speed USB transceiver which is used in
38 products including H2, H3, and H4 development boards for Texas
39 Instruments OMAP processors.
40
41 This driver can also be built as a module. If so, the module
42 will be called isp1301_omap.
43
2d57a95f
DM
44config USB_ULPI
45 bool "Generic ULPI Transceiver Driver"
46 depends on ARM
dd091c7b 47 select USB_OTG_UTILS
2d57a95f
DM
48 help
49 Enable this to support ULPI connected USB OTG transceivers which
50 are likely found on embedded boards.
51
9ebd9616
DB
52config TWL4030_USB
53 tristate "TWL4030 USB Transceiver Driver"
66760169 54 depends on TWL4030_CORE && REGULATOR_TWL4030
9ebd9616
DB
55 select USB_OTG_UTILS
56 help
57 Enable this to support the USB OTG transceiver on TWL4030
58 family chips (including the TWL5030 and TPS659x0 devices).
59 This transceiver supports high and full speed devices plus,
60 in host mode, low speed.
61
6b296123
HH
62config TWL6030_USB
63 tristate "TWL6030 USB Transceiver Driver"
64 depends on TWL4030_CORE
65 select USB_OTG_UTILS
66 help
67 Enable this to support the USB OTG transceiver on TWL6030
68 family chips. This TWL6030 transceiver has the VBUS and ID GND
69 and OTG SRP events capabilities. For all other transceiver functionality
70 UTMI PHY is embedded in OMAP4430. The internal PHY configurations APIs
71 are hooked to this driver through platform_data structure.
72 The definition of internal PHY APIs are in the mach-omap2 layer.
73
f6d92a05
AKG
74config NOP_USB_XCEIV
75 tristate "NOP USB Transceiver Driver"
76 select USB_OTG_UTILS
77 help
78 this driver is to be used by all the usb transceiver which are either
79 built-in with usb ip or which are autonomous and doesn't require any
80 phy programming such as ISP1x04 etc.
81
f0ae849d
HW
82config USB_LANGWELL_OTG
83 tristate "Intel Langwell USB OTG dual-role support"
56e9406c 84 depends on USB && PCI && INTEL_SCU_IPC
f0ae849d
HW
85 select USB_OTG
86 select USB_OTG_UTILS
87 help
88 Say Y here if you want to build Intel Langwell USB OTG
89 transciever driver in kernel. This driver implements role
90 switch between EHCI host driver and Langwell USB OTG
91 client driver.
92
93 To compile this driver as a module, choose M here: the
94 module will be called langwell_otg.
95
e0c201f3
PK
96config USB_MSM_OTG_72K
97 tristate "OTG support for Qualcomm on-chip USB controller"
98 depends on (USB || USB_GADGET) && ARCH_MSM
99 select USB_OTG_UTILS
100 help
101 Enable this to support the USB OTG transceiver on MSM chips. It
102 handles PHY initialization, clock management, and workarounds
87c0104a
PK
103 required after resetting the hardware and power management.
104 This driver is required even for peripheral only or host only
105 mode configurations.
8cf28f1f
PK
106 This driver is not supported on boards like trout which
107 has an external PHY.
e0c201f3 108
96915234
MYK
109config AB8500_USB
110 tristate "AB8500 USB Transceiver Driver"
111 depends on AB8500_CORE
112 select USB_OTG_UTILS
113 help
114 Enable this to support the USB OTG transceiver in AB8500 chip.
115 This transceiver supports high and full speed devices plus,
116 in host mode, low speed.
117
b8da8677 118endif # USB || OTG