• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
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
15config USB_OTG_WAKELOCK
16	bool "Hold a wakelock when USB connected"
17	depends on WAKELOCK
18	select USB_OTG_UTILS
19	help
20	  Select this to automatically hold a wakelock when USB is
21	  connected, preventing suspend.
22
23if USB || USB_GADGET
24
25#
26# USB Transceiver Drivers
27#
28config USB_GPIO_VBUS
29	tristate "GPIO based peripheral-only VBUS sensing 'transceiver'"
30	depends on GENERIC_GPIO
31	select USB_OTG_UTILS
32	help
33	  Provides simple GPIO VBUS sensing for controllers with an
34	  internal transceiver via the usb_phy interface, and
35	  optionally control of a D+ pullup GPIO as well as a VBUS
36	  current limit regulator.
37
38config ISP1301_OMAP
39	tristate "Philips ISP1301 with OMAP OTG"
40	depends on I2C && ARCH_OMAP_OTG
41	select USB_OTG_UTILS
42	help
43	  If you say yes here you get support for the Philips ISP1301
44	  USB-On-The-Go transceiver working with the OMAP OTG controller.
45	  The ISP1301 is a full speed USB  transceiver which is used in
46	  products including H2, H3, and H4 development boards for Texas
47	  Instruments OMAP processors.
48
49	  This driver can also be built as a module.  If so, the module
50	  will be called isp1301_omap.
51
52config USB_ULPI
53	bool "Generic ULPI Transceiver Driver"
54	depends on ARM
55	select USB_OTG_UTILS
56	help
57	  Enable this to support ULPI connected USB OTG transceivers which
58	  are likely found on embedded boards.
59
60config USB_ULPI_VIEWPORT
61	bool
62	depends on USB_ULPI
63	help
64	  Provides read/write operations to the ULPI phy register set for
65	  controllers with a viewport register (e.g. Chipidea/ARC controllers).
66
67config TWL4030_USB
68	tristate "TWL4030 USB Transceiver Driver"
69	depends on TWL4030_CORE && REGULATOR_TWL4030
70	select USB_OTG_UTILS
71	help
72	  Enable this to support the USB OTG transceiver on TWL4030
73	  family chips (including the TWL5030 and TPS659x0 devices).
74	  This transceiver supports high and full speed devices plus,
75	  in host mode, low speed.
76
77config TWL6030_USB
78	tristate "TWL6030 USB Transceiver Driver"
79	depends on TWL4030_CORE
80	select USB_OTG_UTILS
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
89config NOP_USB_XCEIV
90	tristate "NOP USB Transceiver Driver"
91	select USB_OTG_UTILS
92	help
93	  This driver is to be used by all the usb transceiver which are either
94	  built-in with usb ip or which are autonomous and doesn't require any
95	  phy programming such as ISP1x04 etc.
96
97config USB_MSM_OTG
98	tristate "OTG support for Qualcomm on-chip USB controller"
99	depends on (USB || USB_GADGET) && ARCH_MSM
100	select USB_OTG_UTILS
101	help
102	  Enable this to support the USB OTG transceiver on MSM chips. It
103	  handles PHY initialization, clock management, and workarounds
104	  required after resetting the hardware and power management.
105	  This driver is required even for peripheral only or host only
106	  mode configurations.
107	  This driver is not supported on boards like trout which
108	  has an external PHY.
109
110config AB8500_USB
111	tristate "AB8500 USB Transceiver Driver"
112	depends on AB8500_CORE
113	select USB_OTG_UTILS
114	help
115	  Enable this to support the USB OTG transceiver in AB8500 chip.
116	  This transceiver supports high and full speed devices plus,
117	  in host mode, low speed.
118
119config FSL_USB2_OTG
120	bool "Freescale USB OTG Transceiver Driver"
121	depends on USB_EHCI_FSL && USB_GADGET_FSL_USB2 && USB_SUSPEND
122	select USB_OTG
123	select USB_OTG_UTILS
124	help
125	  Enable this to support Freescale USB OTG transceiver.
126
127config USB_MV_OTG
128	tristate "Marvell USB OTG support"
129	depends on USB_EHCI_MV && USB_MV_UDC && USB_SUSPEND
130	select USB_OTG
131	select USB_OTG_UTILS
132	help
133	  Say Y here if you want to build Marvell USB OTG transciever
134	  driver in kernel (including PXA and MMP series). This driver
135	  implements role switch between EHCI host driver and gadget driver.
136
137	  To compile this driver as a module, choose M here.
138
139endif # USB || OTG
140