Kconfig 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  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. comment "OTG and related infrastructure"
  7. config USB_OTG_UTILS
  8. bool
  9. help
  10. Select this to make sure the build includes objects from
  11. the OTG infrastructure directory.
  12. config USB_OTG_WAKELOCK
  13. bool "Hold a wakelock when USB connected"
  14. depends on WAKELOCK
  15. select USB_OTG_UTILS
  16. help
  17. Select this to automatically hold a wakelock when USB is
  18. connected, preventing suspend.
  19. if USB || USB_GADGET
  20. #
  21. # USB Transceiver Drivers
  22. #
  23. config USB_GPIO_VBUS
  24. tristate "GPIO based peripheral-only VBUS sensing 'transceiver'"
  25. depends on GENERIC_GPIO
  26. select USB_OTG_UTILS
  27. help
  28. Provides simple GPIO VBUS sensing for controllers with an
  29. internal transceiver via the usb_phy interface, and
  30. optionally control of a D+ pullup GPIO as well as a VBUS
  31. current limit regulator.
  32. config ISP1301_OMAP
  33. tristate "Philips ISP1301 with OMAP OTG"
  34. depends on I2C && ARCH_OMAP_OTG
  35. select USB_OTG_UTILS
  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. This driver can also be built as a module. If so, the module
  43. will be called isp1301_omap.
  44. config USB_ULPI
  45. bool "Generic ULPI Transceiver Driver"
  46. depends on ARM
  47. select USB_OTG_UTILS
  48. help
  49. Enable this to support ULPI connected USB OTG transceivers which
  50. are likely found on embedded boards.
  51. config USB_ULPI_VIEWPORT
  52. bool
  53. depends on USB_ULPI
  54. help
  55. Provides read/write operations to the ULPI phy register set for
  56. controllers with a viewport register (e.g. Chipidea/ARC controllers).
  57. config TWL4030_USB
  58. tristate "TWL4030 USB Transceiver Driver"
  59. depends on TWL4030_CORE && REGULATOR_TWL4030
  60. select USB_OTG_UTILS
  61. help
  62. Enable this to support the USB OTG transceiver on TWL4030
  63. family chips (including the TWL5030 and TPS659x0 devices).
  64. This transceiver supports high and full speed devices plus,
  65. in host mode, low speed.
  66. config USB_MSM_OTG_72K
  67. bool "OTG support for Legcay Qualcomm on-chip USB controller"
  68. depends on ARCH_MSM
  69. select USB_OTG_UTILS
  70. default USB_MSM_72K
  71. help
  72. Enable this to support the USB OTG transceiver on MSM chips. It
  73. handles PHY initialization, clock management, low power mode and
  74. workarounds required after resetting the hardware. This driver is
  75. required for even peripheral only or host only mode configuration.
  76. Supports SRP and HNP when both gadget and Host are selected.
  77. config MSM_OTG_ENABLE_A_WAIT_BCON_TIMEOUT
  78. bool "Enable A-device timeout for B-device connection"
  79. depends on USB_MSM_OTG_72K
  80. default n
  81. help
  82. OTG specification allows A-device to turn off VBUS if B-device
  83. fails to signal connect event before TA_WAIT_BCON (1.1 - 30 sec).
  84. SRP detection is enabled and hardware is put into low power mode
  85. upon this timeout.
  86. If you say yes, VBUS will be turned off if B-device does not signal
  87. connect in 30 sec. Otherwise VBUS is not turned off when Micro-A
  88. cable is connected. But hardware is put into LPM. Say no if leakage
  89. currents in your system are minimum.
  90. config TWL6030_USB
  91. tristate "TWL6030 USB Transceiver Driver"
  92. depends on TWL4030_CORE
  93. select USB_OTG_UTILS
  94. help
  95. Enable this to support the USB OTG transceiver on TWL6030
  96. family chips. This TWL6030 transceiver has the VBUS and ID GND
  97. and OTG SRP events capabilities. For all other transceiver functionality
  98. UTMI PHY is embedded in OMAP4430. The internal PHY configurations APIs
  99. are hooked to this driver through platform_data structure.
  100. The definition of internal PHY APIs are in the mach-omap2 layer.
  101. config NOP_USB_XCEIV
  102. tristate "NOP USB Transceiver Driver"
  103. select USB_OTG_UTILS
  104. help
  105. This driver is to be used by all the usb transceiver which are either
  106. built-in with usb ip or which are autonomous and doesn't require any
  107. phy programming such as ISP1x04 etc.
  108. config USB_MSM_OTG
  109. tristate "OTG support for Qualcomm on-chip USB controller"
  110. depends on (USB || USB_GADGET) && ARCH_MSM
  111. select USB_OTG_UTILS
  112. help
  113. Enable this to support the USB OTG transceiver on MSM chips. It
  114. handles PHY initialization, clock management, and workarounds
  115. required after resetting the hardware and power management.
  116. This driver is required even for peripheral only or host only
  117. mode configurations.
  118. This driver is not supported on boards like trout which
  119. has an external PHY.
  120. config USBIRQ_BALANCING_LTE_HIGHTP
  121. bool "USBIRQ_BALANCING_LTE_HIGHTP"
  122. depends on USB_MSM_OTG
  123. default n
  124. config USB_MSM_ACA
  125. bool "Support for Accessory Charger Adapter (ACA)"
  126. depends on (USB_MSM_OTG || USB_MSM_OTG_72K) && ARCH_MSM
  127. default n
  128. help
  129. Accesory Charger Adapter is a charger specified in USB Battery
  130. Charging Specification(1.1). It enables OTG devices to charge
  131. while operating as a host or peripheral at the same time.
  132. config USB_MSM_STANDARD_ACA
  133. bool "Support for Standard ACA"
  134. depends on USB_MSM_ACA
  135. default USB_MSM_OTG_72K
  136. help
  137. A Standard ACA has a Standard-A receptacle on the Accessory Port,
  138. and can only be attached to a B-device. RID_A and RID_GND states
  139. are only possible with Standard ACA. Select this feature if the
  140. board is intended to support only Standard ACA.
  141. config AB8500_USB
  142. tristate "AB8500 USB Transceiver Driver"
  143. depends on AB8500_CORE
  144. select USB_OTG_UTILS
  145. help
  146. Enable this to support the USB OTG transceiver in AB8500 chip.
  147. This transceiver supports high and full speed devices plus,
  148. in host mode, low speed.
  149. config FSL_USB2_OTG
  150. bool "Freescale USB OTG Transceiver Driver"
  151. depends on USB_EHCI_FSL && USB_GADGET_FSL_USB2 && USB_SUSPEND
  152. select USB_OTG
  153. select USB_OTG_UTILS
  154. help
  155. Enable this to support Freescale USB OTG transceiver.
  156. config USB_MV_OTG
  157. tristate "Marvell USB OTG support"
  158. depends on USB_EHCI_MV && USB_MV_UDC && USB_SUSPEND
  159. select USB_OTG
  160. select USB_OTG_UTILS
  161. help
  162. Say Y here if you want to build Marvell USB OTG transciever
  163. driver in kernel (including PXA and MMP series). This driver
  164. implements role switch between EHCI host driver and gadget driver.
  165. To compile this driver as a module, choose M here.
  166. endif # USB || OTG