Kconfig 9.1 KB

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