Kconfig 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  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 DRA7XX
  23. help
  24. Support USB2/3 functionality in simple SoC integrations with
  25. USB controller based on the DesignWare USB3 IP Core.
  26. config USB_XHCI_MVEBU
  27. bool "MVEBU USB 3.0 support"
  28. default y
  29. depends on ARCH_MVEBU
  30. select DM_REGULATOR
  31. help
  32. Choose this option to add support for USB 3.0 driver on mvebu
  33. SoCs, which includes Armada8K, Armada3700 and other Armada
  34. family SoCs.
  35. config USB_XHCI_PCI
  36. bool "Support for PCI-based xHCI USB controller"
  37. depends on DM_USB
  38. default y if X86
  39. help
  40. Enables support for the PCI-based xHCI controller.
  41. config USB_XHCI_ROCKCHIP
  42. bool "Support for Rockchip on-chip xHCI USB controller"
  43. depends on ARCH_ROCKCHIP
  44. depends on DM_REGULATOR
  45. depends on DM_USB
  46. default y
  47. help
  48. Enables support for the on-chip xHCI controller on Rockchip SoCs.
  49. config USB_XHCI_RCAR
  50. bool "Renesas RCar USB 3.0 support"
  51. default y
  52. depends on ARCH_RMOBILE
  53. help
  54. Choose this option to add support for USB 3.0 driver on Renesas
  55. RCar Gen3 SoCs.
  56. config USB_XHCI_STI
  57. bool "Support for STMicroelectronics STiH407 family on-chip xHCI USB controller"
  58. depends on ARCH_STI
  59. default y
  60. help
  61. Enables support for the on-chip xHCI controller on STMicroelectronics
  62. STiH407 family SoCs. This is a driver for the dwc3 to provide the glue logic
  63. to configure the controller.
  64. config USB_XHCI_ZYNQMP
  65. bool "Support for Xilinx ZynqMP on-chip xHCI USB controller"
  66. depends on ARCH_ZYNQMP
  67. depends on DM_USB
  68. help
  69. Enables support for the on-chip xHCI controller on Xilinx ZynqMP SoCs.
  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. endif # USB_XHCI_HCD
  85. config USB_EHCI_HCD
  86. bool "EHCI HCD (USB 2.0) support"
  87. default y if ARCH_MX5 || ARCH_MX6
  88. select USB_HOST
  89. ---help---
  90. The Enhanced Host Controller Interface (EHCI) is standard for USB 2.0
  91. "high speed" (480 Mbit/sec, 60 Mbyte/sec) host controller hardware.
  92. If your USB host controller supports USB 2.0, you will likely want to
  93. configure this Host Controller Driver.
  94. EHCI controllers are packaged with "companion" host controllers (OHCI
  95. or UHCI) to handle USB 1.1 devices connected to root hub ports. Ports
  96. will connect to EHCI if the device is high speed, otherwise they
  97. connect to a companion controller. If you configure EHCI, you should
  98. probably configure the OHCI (for NEC and some other vendors) USB Host
  99. Controller Driver or UHCI (for Via motherboards) Host Controller
  100. Driver too.
  101. You may want to read <file:Documentation/usb/ehci.txt>.
  102. if USB_EHCI_HCD
  103. config USB_EHCI_ATMEL
  104. bool "Support for Atmel on-chip EHCI USB controller"
  105. depends on ARCH_AT91
  106. default y
  107. ---help---
  108. Enables support for the on-chip EHCI controller on Atmel chips.
  109. config USB_EHCI_MARVELL
  110. bool "Support for Marvell on-chip EHCI USB controller"
  111. depends on ARCH_MVEBU || KIRKWOOD || ORION5X
  112. default y
  113. ---help---
  114. Enables support for the on-chip EHCI controller on MVEBU SoCs.
  115. config USB_EHCI_MX6
  116. bool "Support for i.MX6 on-chip EHCI USB controller"
  117. depends on ARCH_MX6
  118. default y
  119. ---help---
  120. Enables support for the on-chip EHCI controller on i.MX6 SoCs.
  121. config USB_EHCI_MX7
  122. bool "Support for i.MX7 on-chip EHCI USB controller"
  123. depends on ARCH_MX7
  124. default y
  125. ---help---
  126. Enables support for the on-chip EHCI controller on i.MX7 SoCs.
  127. config USB_EHCI_OMAP
  128. bool "Support for OMAP3+ on-chip EHCI USB controller"
  129. depends on ARCH_OMAP2PLUS
  130. default y
  131. ---help---
  132. Enables support for the on-chip EHCI controller on OMAP3 and later
  133. SoCs.
  134. if USB_EHCI_MX7
  135. config MXC_USB_OTG_HACTIVE
  136. bool "USB Power pin high active"
  137. ---help---
  138. Set the USB Power pin polarity to be high active (PWR_POL)
  139. endif
  140. config USB_EHCI_MSM
  141. bool "Support for Qualcomm on-chip EHCI USB controller"
  142. depends on DM_USB
  143. select USB_ULPI_VIEWPORT
  144. select MSM8916_USB_PHY
  145. default n
  146. ---help---
  147. Enables support for the on-chip EHCI controller on Qualcomm
  148. Snapdragon SoCs.
  149. config USB_EHCI_PCI
  150. bool "Support for PCI-based EHCI USB controller"
  151. default y if X86
  152. help
  153. Enables support for the PCI-based EHCI controller.
  154. config USB_EHCI_ZYNQ
  155. bool "Support for Xilinx Zynq on-chip EHCI USB controller"
  156. depends on ARCH_ZYNQ
  157. default y
  158. ---help---
  159. Enable support for Zynq on-chip EHCI USB controller
  160. config USB_EHCI_GENERIC
  161. bool "Support for generic EHCI USB controller"
  162. depends on OF_CONTROL
  163. depends on DM_USB
  164. default ARCH_SUNXI
  165. default n
  166. ---help---
  167. Enables support for generic EHCI controller.
  168. config USB_EHCI_FSL
  169. bool "Support for FSL on-chip EHCI USB controller"
  170. default n
  171. select CONFIG_EHCI_HCD_INIT_AFTER_RESET
  172. ---help---
  173. Enables support for the on-chip EHCI controller on FSL chips.
  174. endif # USB_EHCI_HCD
  175. config USB_OHCI_HCD
  176. bool "OHCI HCD (USB 1.1) support"
  177. ---help---
  178. The Open Host Controller Interface (OHCI) is a standard for accessing
  179. USB 1.1 host controller hardware. It does more in hardware than Intel's
  180. UHCI specification. If your USB host controller follows the OHCI spec,
  181. say Y. On most non-x86 systems, and on x86 hardware that's not using a
  182. USB controller from Intel or VIA, this is appropriate. If your host
  183. controller doesn't use PCI, this is probably appropriate. For a PCI
  184. based system where you're not sure, the "lspci -v" entry will list the
  185. right "prog-if" for your USB controller(s): EHCI, OHCI, or UHCI.
  186. if USB_OHCI_HCD
  187. config USB_OHCI_GENERIC
  188. bool "Support for generic OHCI USB controller"
  189. depends on OF_CONTROL
  190. depends on DM_USB
  191. default ARCH_SUNXI
  192. select USB_HOST
  193. ---help---
  194. Enables support for generic OHCI controller.
  195. endif # USB_OHCI_HCD
  196. config USB_UHCI_HCD
  197. bool "UHCI HCD (most Intel and VIA) support"
  198. select USB_HOST
  199. ---help---
  200. The Universal Host Controller Interface is a standard by Intel for
  201. accessing the USB hardware in the PC (which is also called the USB
  202. host controller). If your USB host controller conforms to this
  203. standard, you may want to say Y, but see below. All recent boards
  204. with Intel PCI chipsets (like intel 430TX, 440FX, 440LX, 440BX,
  205. i810, i820) conform to this standard. Also all VIA PCI chipsets
  206. (like VIA VP2, VP3, MVP3, Apollo Pro, Apollo Pro II or Apollo Pro
  207. 133) and LEON/GRLIB SoCs with the GRUSBHC controller.
  208. If unsure, say Y.
  209. if USB_UHCI_HCD
  210. endif # USB_UHCI_HCD
  211. config USB_DWC2
  212. bool "DesignWare USB2 Core support"
  213. select USB_HOST
  214. ---help---
  215. The DesignWare USB 2.0 controller is compliant with the
  216. USB-Implementers Forum (USB-IF) USB 2.0 specifications.
  217. Hi-Speed (480 Mbps), Full-Speed (12 Mbps), and Low-Speed (1.5 Mbps)
  218. operation is compliant to the controller Supplement. If you want to
  219. enable this controller in host mode, say Y.
  220. if USB_DWC2
  221. config USB_DWC2_BUFFER_SIZE
  222. int "Data buffer size in kB"
  223. default 64
  224. ---help---
  225. By default 64 kB buffer is used but if amount of RAM avaialble on
  226. the target is not enough to accommodate allocation of buffer of
  227. that size it is possible to shrink it. Smaller sizes should be fine
  228. because larger transactions could be split in smaller ones.
  229. endif # USB_DWC2