Config.in.usb 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. menu "USB support"
  4. depends on ADK_TARGET_WITH_USB \
  5. || ADK_TARGET_SYSTEM_QEMU_X86_64 \
  6. || ADK_TARGET_SYSTEM_QEMU_X86 \
  7. || ADK_TARGET_GENERIC
  8. config ADK_LINUX_KERNEL_USB_PCI
  9. bool
  10. config ADK_LINUX_KERNEL_USB_SUPPORT
  11. bool
  12. config ADK_LINUX_KERNEL_USB_DEVICE_CLASS
  13. bool
  14. config ADK_LINUX_KERNEL_USB_ANNOUNCE_NEW_DEVICES
  15. bool
  16. config ADK_LINUX_KERNEL_USB_EHCI_ROOT_HUB_TT
  17. bool
  18. config ADK_LINUX_KERNEL_USB_EHCI_TT_NEWSCHED
  19. bool
  20. config ADK_LINUX_KERNEL_USB_EHCI_MXC
  21. bool
  22. config ADK_LINUX_KERNEL_USB_EHCI_HCD_PLATFORM
  23. bool
  24. config ADK_LINUX_KERNEL_USB_GADGET
  25. tristate
  26. config ADK_LINUX_KERNEL_USB_PHY
  27. bool
  28. config ADK_LINUX_KERNEL_USB_MXS_PHY
  29. tristate
  30. select ADK_LINUX_KERNEL_USB_PHY
  31. default m if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 || \
  32. ADK_TARGET_SYSTEM_PHYTEC_IMX6
  33. default n
  34. config ADK_LINUX_KERNEL_USB_XHCI_PLATFORM
  35. bool
  36. config ADK_LINUX_KERNEL_USB_OHCI_HCD_PLATFORM
  37. bool
  38. select ADK_LINUX_KERNEL_USB_OHCI_HCD
  39. config ADK_LINUX_KERNEL_USB_OHCI_HCD_PCI
  40. bool
  41. config ADK_LINUX_KERNEL_USB_EHCI_HCD_PCI
  42. bool
  43. config ADK_LINUX_KERNEL_USB_XHCI_PCI
  44. bool
  45. config ADK_LINUX_KERNEL_USB_LIBUSUAL
  46. tristate
  47. config ADK_LINUX_KERNEL_USB_NET_DRIVERS
  48. bool
  49. config ADK_LINUX_KERNEL_USB_USBNET
  50. select ADK_LINUX_KERNEL_USB_NET_DRIVERS
  51. tristate
  52. config ADK_LINUX_KERNEL_USB
  53. tristate "USB support"
  54. select ADK_LINUX_KERNEL_NLS
  55. select ADK_LINUX_KERNEL_USB_SUPPORT
  56. select ADK_LINUX_KERNEL_USB_ANNOUNCE_NEW_DEVICES
  57. default m if ADK_TARGET_SYSTEM_PCENGINES_APU
  58. default m if ADK_TARGET_SYSTEM_PCENGINES_ALIX
  59. default m if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  60. default m if ADK_TARGET_SYSTEM_ACMESYSTEMS_FOXG20
  61. default m if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 || \
  62. ADK_TARGET_SYSTEM_PHYTEC_IMX6
  63. default y if ADK_TARGET_SYSTEM_KINETIS_K70
  64. default y if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
  65. default y if ADK_TARGET_SYSTEM_ROCKPI4_PLUS
  66. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI5
  67. default n
  68. help
  69. Universal Serial Bus (USB) is a specification for a serial bus
  70. subsystem which offers higher speeds and more features than the
  71. traditional PC serial port. The bus supplies power to peripherals
  72. and allows for hot swapping. Up to 127 USB peripherals can be
  73. connected to a single USB host in a tree structure.
  74. The USB host is the root of the tree, the peripherals are the
  75. leaves and the inner nodes are special USB devices called hubs.
  76. Most PCs now have USB host ports, used to connect peripherals
  77. such as scanners, keyboards, mice, modems, cameras, disks,
  78. flash memory, network links, and printers to the PC.
  79. Say Y here if your computer has a host-side USB port and you want
  80. to use USB devices. You then need to say Y to at least one of the
  81. Host Controller Driver (HCD) options below. Choose a USB 1.1
  82. controller, such as "UHCI HCD support" or "OHCI HCD support",
  83. and "EHCI HCD (USB 2.0) support" except for older systems that
  84. do not have USB 2.0 support. It doesn't normally hurt to select
  85. them all if you are not certain.
  86. If your system has a device-side USB port, used in the peripheral
  87. side of the USB protocol, see the "USB Gadget" framework instead.
  88. After choosing your HCD, then select drivers for the USB peripherals
  89. you'll be using. You may want to check out the information provided
  90. in <file:Documentation/usb/> and especially the links given in
  91. <file:Documentation/usb/usb-help.txt>.
  92. menu "USB controller support"
  93. config ADK_LINUX_KERNEL_USB_XHCI_HCD
  94. tristate "Support for USB xHCI HCD (USB 3.0)"
  95. depends on ADK_LINUX_KERNEL_USB
  96. select ADK_LINUX_KERNEL_USB_PCI
  97. select ADK_LINUX_KERNEL_USB_XHCI_PLATFORM
  98. select ADK_LINUX_KERNEL_USB_XHCI_PCI
  99. default y if ADK_TARGET_SYSTEM_ROCKPI4_PLUS
  100. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI5
  101. default n
  102. help
  103. The eXtensible Host Controller Interface (xHCI) is standard for USB 3.0
  104. "SuperSpeed" host controller hardware.
  105. To compile this driver as a module, choose M here: the
  106. module will be called xhci-hcd.
  107. config ADK_LINUX_KERNEL_USB_EHCI_HCD
  108. tristate "Support for USB EHCI 2.0 controllers"
  109. select ADK_LINUX_KERNEL_USB_MXS_PHY if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 || \
  110. ADK_TARGET_SYSTEM_PHYTEC_IMX6
  111. select ADK_LINUX_KERNEL_USB_EHCI_MXC if ADK_TARGET_SYSTEM_KINETIS_K70
  112. select ADK_LINUX_KERNEL_USB_DEVICE_CLASS if ADK_TARGET_SYSTEM_KINETIS_K70
  113. select ADK_LINUX_KERNEL_USB_EHCI_HCD_PLATFORM if ADK_TARGET_SYSTEM_ROCKPI4_PLUS
  114. select ADK_LINUX_KERNEL_USB_EHCI_HCD_PCI if ADK_TARGET_SYSTEM_ROCKPI4_PLUS
  115. depends on !ADK_TARGET_SYSTEM_ACMESYSTEMS_FOXG20
  116. depends on !ADK_TARGET_BOARD_BCM28XX
  117. depends on ADK_LINUX_KERNEL_USB
  118. default m if ADK_TARGET_SYSTEM_PCENGINES_APU
  119. default m if ADK_TARGET_SYSTEM_PCENGINES_ALIX
  120. default m if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  121. default m if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 || \
  122. ADK_TARGET_SYSTEM_PHYTEC_IMX6
  123. default y if ADK_TARGET_SYSTEM_KINETIS_K70
  124. default y if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
  125. default y if ADK_TARGET_SYSTEM_ROCKPI4_PLUS
  126. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI5
  127. default n
  128. help
  129. The Enhanced Host Controller Interface (EHCI) is standard for USB 2.0
  130. "high speed" (480 Mbit/sec, 60 Mbyte/sec) host controller hardware.
  131. If your USB host controller supports USB 2.0, you will likely want to
  132. configure this Host Controller Driver. At the time of this writing,
  133. the primary implementation of EHCI is a chip from NEC, widely available
  134. in add-on PCI cards, but implementations are in the works from other
  135. vendors including Intel and Philips. Motherboard support is appearing.
  136. EHCI controllers are packaged with "companion" host controllers (OHCI
  137. or UHCI) to handle USB 1.1 devices connected to root hub ports. Ports
  138. will connect to EHCI if the device is high speed, otherwise they
  139. connect to a companion controller. If you configure EHCI, you should
  140. probably configure the OHCI (for NEC and some other vendors) USB Host
  141. Controller Driver or UHCI (for Via motherboards) Host Controller
  142. Driver too.
  143. You may want to read <file:Documentation/usb/ehci.txt>.
  144. config ADK_LINUX_KERNEL_USB_UHCI_HCD
  145. tristate "Support for UHCI controllers"
  146. depends on ADK_LINUX_KERNEL_USB
  147. depends on !ADK_TARGET_SYSTEM_ACMESYSTEMS_FOXG20
  148. depends on !ADK_TARGET_BOARD_BCM28XX
  149. default m if ADK_TARGET_SYSTEM_PCENGINES_APU
  150. default m if ADK_TARGET_SYSTEM_PCENGINES_ALIX
  151. default m if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  152. default n
  153. help
  154. The Universal Host Controller Interface is a standard by Intel for
  155. accessing the USB hardware in the PC (which is also called the USB
  156. host controller). If your USB host controller conforms to this
  157. standard, you may want to say Y, but see below. All recent boards
  158. with Intel PCI chipsets (like intel 430TX, 440FX, 440LX, 440BX,
  159. i810, i820) conform to this standard. Also all VIA PCI chipsets
  160. (like VIA VP2, VP3, MVP3, Apollo Pro, Apollo Pro II or Apollo Pro
  161. 133). If unsure, say Y.
  162. config ADK_LINUX_KERNEL_USB_OHCI_HCD
  163. tristate "Support for OHCI controllers"
  164. depends on ADK_LINUX_KERNEL_USB
  165. depends on !ADK_TARGET_BOARD_BCM28XX
  166. select ADK_LINUX_KERNEL_USB_OHCI_HCD_PCI if ADK_TARGET_SYSTEM_PCENGINES_ALIX
  167. select ADK_LINUX_KERNEL_USB_OHCI_HCD_PCI if ADK_TARGET_SYSTEM_PCENGINES_APU
  168. select ADK_LINUX_KERNEL_USB_OHCI_HCD_PCI if ADK_TARGET_SYSTEM_ROCKPI4_PLUS
  169. default m if ADK_TARGET_SYSTEM_PCENGINES_APU
  170. default m if ADK_TARGET_SYSTEM_PCENGINES_ALIX
  171. default m if ADK_TARGET_SYSTEM_ACMESYSTEMS_FOXG20
  172. default m if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  173. default y if ADK_TARGET_SYSTEM_ROCKPI4_PLUS
  174. default n
  175. help
  176. The Open Host Controller Interface (OHCI) is a standard for accessing
  177. USB 1.1 host controller hardware. It does more in hardware than Intel's
  178. UHCI specification. If your USB host controller follows the OHCI spec,
  179. say Y. On most non-x86 systems, and on x86 hardware that's not using a
  180. USB controller from Intel or VIA, this is appropriate. If your host
  181. controller doesn't use PCI, this is probably appropriate. For a PCI
  182. based system where you're not sure, the "lspci -v" entry will list the
  183. right "prog-if" for your USB controller(s): EHCI, OHCI, or UHCI.
  184. config ADK_LINUX_KERNEL_USB_DWCOTG
  185. bool "Support for DWCOTG controller"
  186. select ADK_LINUX_KERNEL_USB
  187. select ADK_LINUX_KERNEL_FIQ
  188. depends on ADK_TARGET_BOARD_BCM28XX
  189. default y if ADK_TARGET_BOARD_BCM28XX
  190. default n
  191. help
  192. The Synopsis DWC controller is a dual-role
  193. host/peripheral/OTG ("On The Go") USB controllers.
  194. config ADK_LINUX_KERNEL_USB_CHIPIDEA_UDC
  195. bool
  196. config ADK_LINUX_KERNEL_USB_CHIPIDEA_HOST
  197. bool
  198. config ADK_LINUX_KERNEL_USB_CHIPIDEA
  199. tristate "Support for ChipIdea controller"
  200. select ADK_LINUX_KERNEL_USB_CHIPIDEA_UDC
  201. select ADK_LINUX_KERNEL_USB_CHIPIDEA_HOST
  202. select ADK_LINUX_KERNEL_USB_GADGET
  203. depends on ADK_LINUX_KERNEL_USB_EHCI_HCD
  204. depends on ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 || \
  205. ADK_TARGET_SYSTEM_PHYTEC_IMX6
  206. default m if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 || \
  207. ADK_TARGET_SYSTEM_PHYTEC_IMX6
  208. default n
  209. config ADK_LINUX_KERNEL_USB_ISP116X_HCD
  210. tristate "Support for ISP116X"
  211. depends on ADK_LINUX_KERNEL_USB
  212. depends on !ADK_TARGET_SYSTEM_ACMESYSTEMS_FOXG20
  213. depends on !ADK_TARGET_BOARD_BCM28XX
  214. help
  215. The ISP1160 and ISP1161 chips are USB host controllers. Enable this
  216. option if your board has this chip. If unsure, say N.
  217. This driver does not support isochronous transfers.
  218. config ADK_LINUX_KERNEL_USB_SL811_HCD
  219. tristate "Support for SL811HS"
  220. depends on ADK_LINUX_KERNEL_USB
  221. depends on !ADK_TARGET_SYSTEM_ACMESYSTEMS_FOXG20
  222. depends on !ADK_TARGET_BOARD_BCM28XX
  223. default n
  224. help
  225. The SL811HS is a single-port USB controller that supports either
  226. host side or peripheral side roles. Enable this option if your
  227. board has this chip, and you want to use it as a host controller.
  228. If unsure, say N.
  229. endmenu
  230. menu "USB devices support"
  231. config ADK_LINUX_KERNEL_USB_STORAGE
  232. tristate "Support for USB storage devices"
  233. select ADK_LINUX_KERNEL_SCSI
  234. select ADK_LINUX_KERNEL_BLK_DEV_SD
  235. config ADK_LINUX_KERNEL_SND_USB_AUDIO
  236. tristate "Support for USB sound adapter"
  237. select ADK_LINUX_KERNEL_SND
  238. select ADK_LINUX_KERNEL_SND_USB
  239. select ADK_LINUX_KERNEL_SND_RAWMIDI
  240. config ADK_LINUX_KERNEL_USB_HSO
  241. tristate "Support for USB HSO devices"
  242. select ADK_LINUX_KERNEL_RFKILL
  243. select ADK_LINUX_KERNEL_USB_STORAGE
  244. config ADK_LINUX_KERNEL_USB_PRINTER
  245. tristate "Support for USB printers"
  246. config ADK_LINUX_KERNEL_USB_ACM
  247. tristate "Support for USB modems/isdn controllers"
  248. config ADK_LINUX_KERNEL_USB_PEGASUS
  249. tristate "Support for USB Pegasus network cards"
  250. select ADK_LINUX_KERNEL_USB_NET_DRIVERS
  251. config ADK_LINUX_KERNEL_USB_SERIAL
  252. tristate "Support for USB-to-serial converters"
  253. help
  254. Say Y here if you have a USB device that provides normal serial
  255. ports, or acts like a serial device, and you want to connect it to
  256. your USB bus.
  257. Please read <file:Documentation/usb/usb-serial.txt> for more
  258. information on the specifics of the different devices that are
  259. supported, and on how to use them.
  260. config ADK_LINUX_KERNEL_USB_SERIAL_BELKIN
  261. tristate "Support for Belkin USB-to-serial converters"
  262. depends on ADK_LINUX_KERNEL_USB_SERIAL
  263. help
  264. Say Y here if you want to use a Belkin USB Serial single port
  265. adaptor (F5U103 is one of the model numbers) or the Peracom single
  266. port USB to serial adapter.
  267. config ADK_LINUX_KERNEL_USB_SERIAL_FTDI_SIO
  268. tristate "Support for FTDI USB-to-serial converter"
  269. depends on ADK_LINUX_KERNEL_USB_SERIAL
  270. help
  271. Say Y here if you want to use a FTDI SIO single port USB to serial
  272. converter device. The implementation I have is called the USC-1000.
  273. This driver has also be tested with the 245 and 232 devices.
  274. See <http://ftdi-usb-sio.sourceforge.net/> for more
  275. information on this driver and the device.
  276. config ADK_LINUX_KERNEL_USB_SERIAL_MCT_U232
  277. tristate "Support for Magic Control Technology USB-to-Serial converters"
  278. depends on ADK_LINUX_KERNEL_USB_SERIAL
  279. help
  280. Say Y here if you want to use a USB Serial single port adapter from
  281. Magic Control Technology Corp. (U232 is one of the model numbers).
  282. This driver also works with Sitecom U232-P25 and D-Link DU-H3SP USB
  283. BAY, Belkin F5U109, and Belkin F5U409 devices.
  284. config ADK_LINUX_KERNEL_USB_SERIAL_PL2303
  285. tristate "Support for Prolific PL2303 USB-to-Serial converters"
  286. depends on ADK_LINUX_KERNEL_USB_SERIAL
  287. help
  288. Say Y here if you want to use the PL2303 USB Serial single port
  289. adapter from Prolific.
  290. config ADK_LINUX_KERNEL_USB_SERIAL_VISOR
  291. tristate "Support for Handspring Visor / Palm m50x / Sony Clie Driver"
  292. depends on ADK_LINUX_KERNEL_USB_SERIAL
  293. help
  294. Say Y here if you want to connect to your HandSpring Visor, Palm
  295. m500 or m505 through its USB docking station. See
  296. <http://usbvisor.sourceforge.net/> for more information on using this
  297. driver.
  298. config ADK_LINUX_KERNEL_USB_SERIAL_SIERRAWIRELESS
  299. tristate "Support for Sierra Wireless USB-to-Serial converters"
  300. depends on ADK_LINUX_KERNEL_USB_SERIAL
  301. config ADK_LINUX_KERNEL_USB_SERIAL_OPTION
  302. tristate "USB driver for GSM and CDMA modems"
  303. depends on ADK_LINUX_KERNEL_USB_SERIAL
  304. help
  305. Say Y here if you have a GSM or CDMA modem that's connected to USB.
  306. config ADK_LINUX_KERNEL_USB_SERIAL_WWAN
  307. tristate
  308. depends on ADK_LINUX_KERNEL_USB_SERIAL
  309. config ADK_LINUX_KERNEL_USB_ATM
  310. tristate "Support for USB ATM devices"
  311. config ADK_LINUX_KERNEL_USB_ATM_SPEEDTOUCH
  312. tristate "Support for USB Speedtouch ADSL modem"
  313. depends on ADK_LINUX_KERNEL_USB_ATM
  314. config ADK_LINUX_KERNEL_USB_SISUSBVGA
  315. tristate "USB 2.0 SVGA dongle support (Net2280/SiS315)"
  316. config ADK_LINUX_KERNEL_USB_NET_QMI_WWAN
  317. tristate "Qualcomm LTE modems"
  318. select ADK_LINUX_KERNEL_USB_USBNET
  319. help
  320. config ADK_LINUX_KERNEL_USB_SIERRA_NET
  321. tristate "Sierra Wireless MC8775 PCI Express"
  322. select ADK_LINUX_KERNEL_USB_USBNET
  323. help
  324. Driver for WWAN modem Sierra Wireless MC8775 PCI Express
  325. config ADK_LINUX_KERNEL_SND_USB
  326. bool
  327. depends on ADK_LINUX_KERNEL_USB
  328. config ADK_LINUX_KERNEL_SND_USB_AUDIO
  329. tristate
  330. config ADK_LINUX_KERNEL_USB_GADGET
  331. tristate
  332. config ADK_LINUX_KERNEL_USB_AUDIO
  333. tristate
  334. config ADK_LINUX_KERNEL_USB_MIDI_GADGET
  335. tristate "USB Midi Gadgets"
  336. select ADK_LINUX_KERNEL_USB_GADGET
  337. select ADK_LINUX_KERNEL_USB_AUDIO
  338. select ADK_LINUX_KERNEL_SND_USB_AUDIO
  339. select ADK_LINUX_KERNEL_SND_USB
  340. help
  341. Enable USB midi devices
  342. endmenu
  343. endmenu