Kconfig 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308
  1. #
  2. # USB Host Controller Drivers
  3. #
  4. comment "USB Host Controller Drivers"
  5. config USB_HOST
  6. bool
  7. config USB_XHCI_HCD
  8. bool "xHCI HCD (USB 3.0) support"
  9. select USB_HOST
  10. ---help---
  11. The eXtensible Host Controller Interface (xHCI) is standard for USB 3.0
  12. "SuperSpeed" host controller hardware.
  13. if USB_XHCI_HCD
  14. config USB_XHCI_DWC3
  15. bool "DesignWare USB3 DRD Core Support"
  16. help
  17. Say Y or if your system has a Dual Role SuperSpeed
  18. USB controller based on the DesignWare USB3 IP Core.
  19. config USB_XHCI_DWC3_OF_SIMPLE
  20. bool "DesignWare USB3 DRD Generic OF Simple Glue Layer"
  21. depends on DM_USB
  22. default y if ARCH_ROCKCHIP
  23. default y if DRA7XX
  24. help
  25. Support USB2/3 functionality in simple SoC integrations with
  26. USB controller based on the DesignWare USB3 IP Core.
  27. config USB_XHCI_MTK
  28. bool "Support for MediaTek on-chip xHCI USB controller"
  29. depends on ARCH_MEDIATEK
  30. help
  31. Enables support for the on-chip xHCI controller on MediaTek SoCs.
  32. config USB_XHCI_MVEBU
  33. bool "MVEBU USB 3.0 support"
  34. default y
  35. depends on ARCH_MVEBU
  36. select DM_REGULATOR
  37. help
  38. Choose this option to add support for USB 3.0 driver on mvebu
  39. SoCs, which includes Armada8K, Armada3700 and other Armada
  40. family SoCs.
  41. config USB_XHCI_PCI
  42. bool "Support for PCI-based xHCI USB controller"
  43. depends on DM_USB
  44. default y if X86
  45. help
  46. Enables support for the PCI-based xHCI controller.
  47. config USB_XHCI_RCAR
  48. bool "Renesas RCar USB 3.0 support"
  49. default y
  50. depends on ARCH_RMOBILE
  51. help
  52. Choose this option to add support for USB 3.0 driver on Renesas
  53. RCar Gen3 SoCs.
  54. config USB_XHCI_STI
  55. bool "Support for STMicroelectronics STiH407 family on-chip xHCI USB controller"
  56. depends on ARCH_STI
  57. default y
  58. help
  59. Enables support for the on-chip xHCI controller on STMicroelectronics
  60. STiH407 family SoCs. This is a driver for the dwc3 to provide the glue logic
  61. to configure the controller.
  62. config USB_XHCI_DRA7XX_INDEX
  63. int "DRA7XX xHCI USB index"
  64. range 0 1
  65. default 0
  66. depends on DRA7XX
  67. help
  68. Select the DRA7XX xHCI USB index.
  69. Current supported values: 0, 1.
  70. config USB_XHCI_FSL
  71. bool "Support for NXP Layerscape on-chip xHCI USB controller"
  72. default y if ARCH_LS1021A || FSL_LSCH3 || FSL_LSCH2
  73. depends on !SPL_NO_USB
  74. help
  75. Enables support for the on-chip xHCI controller on NXP Layerscape SoCs.
  76. config USB_XHCI_BRCM
  77. bool "Broadcom USB3 Host XHCI controller"
  78. depends on DM_USB
  79. help
  80. USB controller based on the Broadcom USB3 IP Core.
  81. Supports USB2/3 functionality.
  82. endif # USB_XHCI_HCD
  83. config USB_EHCI_HCD
  84. bool "EHCI HCD (USB 2.0) support"
  85. default y if ARCH_MX5 || ARCH_MX6
  86. select USB_HOST
  87. ---help---
  88. The Enhanced Host Controller Interface (EHCI) is standard for USB 2.0
  89. "high speed" (480 Mbit/sec, 60 Mbyte/sec) host controller hardware.
  90. If your USB host controller supports USB 2.0, you will likely want to
  91. configure this Host Controller Driver.
  92. EHCI controllers are packaged with "companion" host controllers (OHCI
  93. or UHCI) to handle USB 1.1 devices connected to root hub ports. Ports
  94. will connect to EHCI if the device is high speed, otherwise they
  95. connect to a companion controller. If you configure EHCI, you should
  96. probably configure the OHCI (for NEC and some other vendors) USB Host
  97. Controller Driver or UHCI (for Via motherboards) Host Controller
  98. Driver too.
  99. You may want to read <file:Documentation/usb/ehci.txt>.
  100. if USB_EHCI_HCD
  101. config USB_EHCI_ATMEL
  102. bool "Support for Atmel on-chip EHCI USB controller"
  103. depends on ARCH_AT91
  104. default y
  105. ---help---
  106. Enables support for the on-chip EHCI controller on Atmel chips.
  107. config USB_EHCI_MARVELL
  108. bool "Support for Marvell on-chip EHCI USB controller"
  109. depends on ARCH_MVEBU || ARCH_KIRKWOOD || ARCH_ORION5X
  110. default y
  111. ---help---
  112. Enables support for the on-chip EHCI controller on MVEBU SoCs.
  113. config USB_EHCI_MX5
  114. bool "Support for i.MX5 on-chip EHCI USB controller"
  115. depends on ARCH_MX5
  116. default n
  117. help
  118. Enables support for the on-chip EHCI controller on i.MX5 SoCs.
  119. config USB_EHCI_MX6
  120. bool "Support for i.MX6/i.MX7ULP on-chip EHCI USB controller"
  121. depends on ARCH_MX6 || ARCH_MX7ULP
  122. default y
  123. ---help---
  124. Enables support for the on-chip EHCI controller on i.MX6 SoCs.
  125. config USB_EHCI_MX7
  126. bool "Support for i.MX7 on-chip EHCI USB controller"
  127. depends on ARCH_MX7
  128. default y
  129. ---help---
  130. Enables support for the on-chip EHCI controller on i.MX7 SoCs.
  131. config USB_EHCI_OMAP
  132. bool "Support for OMAP3+ on-chip EHCI USB controller"
  133. depends on ARCH_OMAP2PLUS
  134. default y
  135. ---help---
  136. Enables support for the on-chip EHCI controller on OMAP3 and later
  137. SoCs.
  138. config USB_EHCI_VF
  139. bool "Support for Vybrid on-chip EHCI USB controller"
  140. depends on ARCH_VF610
  141. default y
  142. help
  143. Enables support for the on-chip EHCI controller on Vybrid SoCs.
  144. if USB_EHCI_MX6 || USB_EHCI_MX7
  145. config MXC_USB_OTG_HACTIVE
  146. bool "USB Power pin high active"
  147. ---help---
  148. Set the USB Power pin polarity to be high active (PWR_POL)
  149. endif
  150. config USB_EHCI_MSM
  151. bool "Support for Qualcomm on-chip EHCI USB controller"
  152. depends on DM_USB
  153. select USB_ULPI_VIEWPORT
  154. select MSM8916_USB_PHY
  155. default n
  156. ---help---
  157. Enables support for the on-chip EHCI controller on Qualcomm
  158. Snapdragon SoCs.
  159. config USB_EHCI_PCI
  160. bool "Support for PCI-based EHCI USB controller"
  161. default y if X86
  162. help
  163. Enables support for the PCI-based EHCI controller.
  164. config USB_EHCI_TEGRA
  165. bool "Support for NVIDIA Tegra on-chip EHCI USB controller"
  166. depends on ARCH_TEGRA
  167. ---help---
  168. Enable support for Tegra on-chip EHCI USB controller
  169. config USB_EHCI_ZYNQ
  170. bool "Support for Xilinx Zynq on-chip EHCI USB controller"
  171. default y if ARCH_ZYNQ
  172. ---help---
  173. Enable support for Zynq on-chip EHCI USB controller
  174. config USB_EHCI_GENERIC
  175. bool "Support for generic EHCI USB controller"
  176. depends on OF_CONTROL
  177. depends on DM_USB
  178. default ARCH_SUNXI
  179. default n
  180. ---help---
  181. Enables support for generic EHCI controller.
  182. config USB_EHCI_FSL
  183. bool "Support for FSL on-chip EHCI USB controller"
  184. default n
  185. select CONFIG_EHCI_HCD_INIT_AFTER_RESET
  186. ---help---
  187. Enables support for the on-chip EHCI controller on FSL chips.
  188. endif # USB_EHCI_HCD
  189. config USB_OHCI_HCD
  190. bool "OHCI HCD (USB 1.1) support"
  191. ---help---
  192. The Open Host Controller Interface (OHCI) is a standard for accessing
  193. USB 1.1 host controller hardware. It does more in hardware than Intel's
  194. UHCI specification. If your USB host controller follows the OHCI spec,
  195. say Y. On most non-x86 systems, and on x86 hardware that's not using a
  196. USB controller from Intel or VIA, this is appropriate. If your host
  197. controller doesn't use PCI, this is probably appropriate. For a PCI
  198. based system where you're not sure, the "lspci -v" entry will list the
  199. right "prog-if" for your USB controller(s): EHCI, OHCI, or UHCI.
  200. config USB_OHCI_PCI
  201. bool "Support for PCI-based OHCI USB controller"
  202. depends on DM_USB
  203. default n
  204. help
  205. Enables support for the PCI-based OHCI controller.
  206. if USB_OHCI_HCD
  207. config USB_OHCI_GENERIC
  208. bool "Support for generic OHCI USB controller"
  209. depends on OF_CONTROL
  210. depends on DM_USB
  211. default ARCH_SUNXI
  212. select USB_HOST
  213. ---help---
  214. Enables support for generic OHCI controller.
  215. config USB_OHCI_DA8XX
  216. bool "Support for da850 OHCI USB controller"
  217. help
  218. Enable support for the da850 USB controller.
  219. endif # USB_OHCI_HCD
  220. config USB_UHCI_HCD
  221. bool "UHCI HCD (most Intel and VIA) support"
  222. select USB_HOST
  223. ---help---
  224. The Universal Host Controller Interface is a standard by Intel for
  225. accessing the USB hardware in the PC (which is also called the USB
  226. host controller). If your USB host controller conforms to this
  227. standard, you may want to say Y, but see below. All recent boards
  228. with Intel PCI chipsets (like intel 430TX, 440FX, 440LX, 440BX,
  229. i810, i820) conform to this standard. Also all VIA PCI chipsets
  230. (like VIA VP2, VP3, MVP3, Apollo Pro, Apollo Pro II or Apollo Pro
  231. 133) and LEON/GRLIB SoCs with the GRUSBHC controller.
  232. If unsure, say Y.
  233. if USB_UHCI_HCD
  234. endif # USB_UHCI_HCD
  235. config USB_DWC2
  236. bool "DesignWare USB2 Core support"
  237. select USB_HOST
  238. ---help---
  239. The DesignWare USB 2.0 controller is compliant with the
  240. USB-Implementers Forum (USB-IF) USB 2.0 specifications.
  241. Hi-Speed (480 Mbps), Full-Speed (12 Mbps), and Low-Speed (1.5 Mbps)
  242. operation is compliant to the controller Supplement. If you want to
  243. enable this controller in host mode, say Y.
  244. if USB_DWC2
  245. config USB_DWC2_BUFFER_SIZE
  246. int "Data buffer size in kB"
  247. default 64
  248. ---help---
  249. By default 64 kB buffer is used but if amount of RAM avaialble on
  250. the target is not enough to accommodate allocation of buffer of
  251. that size it is possible to shrink it. Smaller sizes should be fine
  252. because larger transactions could be split in smaller ones.
  253. endif # USB_DWC2
  254. config USB_R8A66597_HCD
  255. bool "Renesas R8A66597 USB Core support"
  256. depends on OF_CONTROL
  257. depends on DM_USB
  258. select USB_HOST
  259. ---help---
  260. This enables support for the on-chip Renesas R8A66597 USB 2.0
  261. controller, present in various RZ and SH SoCs.