Kconfig 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. #
  2. # Physical Layer USB driver configuration
  3. #
  4. menu "USB Physical Layer drivers"
  5. config USB_PHY
  6. def_bool n
  7. config USB_OTG_WAKELOCK
  8. bool "Hold a wakelock when USB connected"
  9. depends on WAKELOCK
  10. select USB_OTG_UTILS
  11. help
  12. Select this to automatically hold a wakelock when USB is
  13. connected, preventing suspend.
  14. #
  15. # USB Transceiver Drivers
  16. #
  17. config AB8500_USB
  18. tristate "AB8500 USB Transceiver Driver"
  19. depends on AB8500_CORE
  20. select USB_PHY
  21. help
  22. Enable this to support the USB OTG transceiver in AB8500 chip.
  23. This transceiver supports high and full speed devices plus,
  24. in host mode, low speed.
  25. config FSL_USB2_OTG
  26. bool "Freescale USB OTG Transceiver Driver"
  27. depends on USB_EHCI_FSL && USB_FSL_USB2 && USB_OTG_FSM && PM_RUNTIME
  28. select USB_OTG
  29. select USB_PHY
  30. help
  31. Enable this to support Freescale USB OTG transceiver.
  32. config ISP1301_OMAP
  33. tristate "Philips ISP1301 with OMAP OTG"
  34. depends on I2C && ARCH_OMAP_OTG
  35. depends on USB
  36. select USB_PHY
  37. help
  38. If you say yes here you get support for the Philips ISP1301
  39. USB-On-The-Go transceiver working with the OMAP OTG controller.
  40. The ISP1301 is a full speed USB transceiver which is used in
  41. products including H2, H3, and H4 development boards for Texas
  42. Instruments OMAP processors.
  43. This driver can also be built as a module. If so, the module
  44. will be called phy-isp1301-omap.
  45. config KEYSTONE_USB_PHY
  46. tristate "Keystone USB PHY Driver"
  47. depends on ARCH_KEYSTONE || COMPILE_TEST
  48. select NOP_USB_XCEIV
  49. help
  50. Enable this to support Keystone USB phy. This driver provides
  51. interface to interact with USB 2.0 and USB 3.0 PHY that is part
  52. of the Keystone SOC.
  53. config NOP_USB_XCEIV
  54. tristate "NOP USB Transceiver Driver"
  55. select USB_PHY
  56. help
  57. This driver is to be used by all the usb transceiver which are either
  58. built-in with usb ip or which are autonomous and doesn't require any
  59. phy programming such as ISP1x04 etc.
  60. config AM335X_CONTROL_USB
  61. tristate
  62. config AM335X_PHY_USB
  63. tristate "AM335x USB PHY Driver"
  64. depends on ARM || COMPILE_TEST
  65. select USB_PHY
  66. select AM335X_CONTROL_USB
  67. select NOP_USB_XCEIV
  68. help
  69. This driver provides PHY support for that phy which part for the
  70. AM335x SoC.
  71. config SAMSUNG_USBPHY
  72. tristate
  73. help
  74. Enable this to support Samsung USB phy helper driver for Samsung SoCs.
  75. This driver provides common interface to interact, for Samsung USB 2.0 PHY
  76. driver and later for Samsung USB 3.0 PHY driver.
  77. config TWL6030_USB
  78. tristate "TWL6030 USB Transceiver Driver"
  79. depends on TWL4030_CORE && OMAP_USB2 && USB_MUSB_OMAP2PLUS
  80. help
  81. Enable this to support the USB OTG transceiver on TWL6030
  82. family chips. This TWL6030 transceiver has the VBUS and ID GND
  83. and OTG SRP events capabilities. For all other transceiver functionality
  84. UTMI PHY is embedded in OMAP4430. The internal PHY configurations APIs
  85. are hooked to this driver through platform_data structure.
  86. The definition of internal PHY APIs are in the mach-omap2 layer.
  87. config USB_GPIO_VBUS
  88. tristate "GPIO based peripheral-only VBUS sensing 'transceiver'"
  89. depends on GPIOLIB
  90. select USB_PHY
  91. help
  92. Provides simple GPIO VBUS sensing for controllers with an
  93. internal transceiver via the usb_phy interface, and
  94. optionally control of a D+ pullup GPIO as well as a VBUS
  95. current limit regulator.
  96. config OMAP_OTG
  97. tristate "OMAP USB OTG controller driver"
  98. depends on ARCH_OMAP_OTG && EXTCON
  99. help
  100. Enable this to support some transceivers on OMAP1 platforms. OTG
  101. controller is needed to switch between host and peripheral modes.
  102. This driver can also be built as a module. If so, the module
  103. will be called phy-omap-otg.
  104. config TAHVO_USB
  105. tristate "Tahvo USB transceiver driver"
  106. depends on MFD_RETU && EXTCON
  107. select USB_PHY
  108. help
  109. Enable this to support USB transceiver on Tahvo. This is used
  110. at least on Nokia 770.
  111. config TAHVO_USB_HOST_BY_DEFAULT
  112. depends on TAHVO_USB
  113. boolean "Device in USB host mode by default"
  114. help
  115. Say Y here, if you want the device to enter USB host mode
  116. by default on bootup.
  117. config USB_ISP1301
  118. tristate "NXP ISP1301 USB transceiver support"
  119. depends on USB || USB_GADGET
  120. depends on I2C
  121. select USB_PHY
  122. help
  123. Say Y here to add support for the NXP ISP1301 USB transceiver driver.
  124. This chip is typically used as USB transceiver for USB host, gadget
  125. and OTG drivers (to be selected separately).
  126. To compile this driver as a module, choose M here: the
  127. module will be called phy-isp1301.
  128. config USB_MSM_OTG
  129. tristate "Qualcomm on-chip USB OTG controller support"
  130. depends on (USB || USB_GADGET) && (ARCH_MSM || ARCH_QCOM || COMPILE_TEST)
  131. depends on RESET_CONTROLLER
  132. select USB_PHY
  133. help
  134. Enable this to support the USB OTG transceiver on Qualcomm chips. It
  135. handles PHY initialization, clock management, and workarounds
  136. required after resetting the hardware and power management.
  137. This driver is required even for peripheral only or host only
  138. mode configurations.
  139. This driver is not supported on boards like trout which
  140. has an external PHY.
  141. config USB_MV_OTG
  142. tristate "Marvell USB OTG support"
  143. depends on USB_EHCI_MV && USB_MV_UDC && PM_RUNTIME
  144. select USB_OTG
  145. select USB_PHY
  146. help
  147. Say Y here if you want to build Marvell USB OTG transciever
  148. driver in kernel (including PXA and MMP series). This driver
  149. implements role switch between EHCI host driver and gadget driver.
  150. To compile this driver as a module, choose M here.
  151. config USB_MXS_PHY
  152. tristate "Freescale MXS USB PHY support"
  153. depends on ARCH_MXC || ARCH_MXS
  154. select STMP_DEVICE
  155. select USB_PHY
  156. help
  157. Enable this to support the Freescale MXS USB PHY.
  158. MXS Phy is used by some of the i.MX SoCs, for example imx23/28/6x.
  159. config USB_RCAR_PHY
  160. tristate "Renesas R-Car USB PHY support"
  161. depends on USB || USB_GADGET
  162. depends on ARCH_R8A7778 || ARCH_R8A7779 || COMPILE_TEST
  163. select USB_PHY
  164. help
  165. Say Y here to add support for the Renesas R-Car USB common PHY driver.
  166. This chip is typically used as USB PHY for USB host, gadget.
  167. This driver supports R8A7778 and R8A7779.
  168. To compile this driver as a module, choose M here: the
  169. module will be called phy-rcar-usb.
  170. config USB_RCAR_GEN2_PHY
  171. tristate "Renesas R-Car Gen2 USB PHY support"
  172. depends on ARCH_R8A7790 || ARCH_R8A7791 || COMPILE_TEST
  173. select USB_PHY
  174. help
  175. Say Y here to add support for the Renesas R-Car Gen2 USB PHY driver.
  176. It is typically used to control internal USB PHY for USBHS,
  177. and to configure shared USB channels 0 and 2.
  178. This driver supports R8A7790 and R8A7791.
  179. To compile this driver as a module, choose M here: the
  180. module will be called phy-rcar-gen2-usb.
  181. config USB_ULPI
  182. bool "Generic ULPI Transceiver Driver"
  183. depends on ARM || ARM64
  184. help
  185. Enable this to support ULPI connected USB OTG transceivers which
  186. are likely found on embedded boards.
  187. config USB_ULPI_VIEWPORT
  188. bool
  189. depends on USB_ULPI
  190. help
  191. Provides read/write operations to the ULPI phy register set for
  192. controllers with a viewport register (e.g. Chipidea/ARC controllers).
  193. endmenu