Kconfig 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. # SPDX-License-Identifier: GPL-2.0
  2. #
  3. # USB device configuration
  4. #
  5. config USB_OHCI_BIG_ENDIAN_DESC
  6. bool
  7. config USB_OHCI_BIG_ENDIAN_MMIO
  8. bool
  9. config USB_OHCI_LITTLE_ENDIAN
  10. bool
  11. default n if PPC_MPC52xx
  12. default y
  13. config USB_EHCI_BIG_ENDIAN_MMIO
  14. bool
  15. config USB_EHCI_BIG_ENDIAN_DESC
  16. bool
  17. config USB_UHCI_BIG_ENDIAN_MMIO
  18. bool
  19. config USB_UHCI_BIG_ENDIAN_DESC
  20. bool
  21. config USB_HOST_SAMSUNG_FEATURE
  22. bool "USB Host Samsung Feature"
  23. depends on USB
  24. help
  25. USB Host Samsung Feature.
  26. It is different from LSI BSP code.
  27. If samsung engineer changes kernel code,
  28. use this feature,
  29. menuconfig USB_SUPPORT
  30. bool "USB support"
  31. depends on HAS_IOMEM
  32. default y
  33. help
  34. This option adds core support for Universal Serial Bus (USB).
  35. You will also need drivers from the following menu to make use of it.
  36. if USB_SUPPORT
  37. source "drivers/usb/common/Kconfig"
  38. config USB_ARCH_HAS_HCD
  39. def_bool y
  40. config USB
  41. tristate "Support for Host-side USB"
  42. depends on USB_ARCH_HAS_HCD
  43. select GENERIC_ALLOCATOR
  44. select USB_COMMON
  45. select NLS # for UTF-8 strings
  46. help
  47. Universal Serial Bus (USB) is a specification for a serial bus
  48. subsystem which offers higher speeds and more features than the
  49. traditional PC serial port. The bus supplies power to peripherals
  50. and allows for hot swapping. Up to 127 USB peripherals can be
  51. connected to a single USB host in a tree structure.
  52. The USB host is the root of the tree, the peripherals are the
  53. leaves and the inner nodes are special USB devices called hubs.
  54. Most PCs now have USB host ports, used to connect peripherals
  55. such as scanners, keyboards, mice, modems, cameras, disks,
  56. flash memory, network links, and printers to the PC.
  57. Say Y here if your computer has a host-side USB port and you want
  58. to use USB devices. You then need to say Y to at least one of the
  59. Host Controller Driver (HCD) options below. Choose a USB 1.1
  60. controller, such as "UHCI HCD support" or "OHCI HCD support",
  61. and "EHCI HCD (USB 2.0) support" except for older systems that
  62. do not have USB 2.0 support. It doesn't normally hurt to select
  63. them all if you are not certain.
  64. If your system has a device-side USB port, used in the peripheral
  65. side of the USB protocol, see the "USB Gadget" framework instead.
  66. After choosing your HCD, then select drivers for the USB peripherals
  67. you'll be using. You may want to check out the information provided
  68. in <file:Documentation/usb/> and especially the links given in
  69. <file:Documentation/usb/usb-help.rst>.
  70. To compile this driver as a module, choose M here: the
  71. module will be called usbcore.
  72. config USB_PCI
  73. bool "PCI based USB host interface"
  74. depends on PCI
  75. default y
  76. help
  77. Many embedded system SOCs (e.g. freescale T2080) have both
  78. PCI and USB modules with the USB module directly controlled by
  79. registers and having no relationship to the PCI module.
  80. If you have such a device you may say N here and PCI related code
  81. will not be built in the USB driver.
  82. if USB
  83. source "drivers/usb/core/Kconfig"
  84. source "drivers/usb/mon/Kconfig"
  85. source "drivers/usb/host/Kconfig"
  86. source "drivers/usb/renesas_usbhs/Kconfig"
  87. source "drivers/usb/class/Kconfig"
  88. source "drivers/usb/storage/Kconfig"
  89. source "drivers/usb/image/Kconfig"
  90. source "drivers/usb/usbip/Kconfig"
  91. endif
  92. source "drivers/usb/cdns3/Kconfig"
  93. source "drivers/usb/mtu3/Kconfig"
  94. source "drivers/usb/musb/Kconfig"
  95. source "drivers/usb/dwc3/Kconfig"
  96. source "drivers/usb/dwc2/Kconfig"
  97. source "drivers/usb/chipidea/Kconfig"
  98. source "drivers/usb/isp1760/Kconfig"
  99. comment "USB port drivers"
  100. if USB
  101. config USB_USS720
  102. tristate "USS720 parport driver"
  103. depends on PARPORT
  104. select PARPORT_NOT_PC
  105. help
  106. This driver is for USB parallel port adapters that use the Lucent
  107. Technologies USS-720 chip. These cables are plugged into your USB
  108. port and provide USB compatibility to peripherals designed with
  109. parallel port interfaces.
  110. The chip has two modes: automatic mode and manual mode. In automatic
  111. mode, it looks to the computer like a standard USB printer. Only
  112. printers may be connected to the USS-720 in this mode. The generic
  113. USB printer driver ("USB Printer support", above) may be used in
  114. that mode, and you can say N here if you want to use the chip only
  115. in this mode.
  116. Manual mode is not limited to printers, any parallel port
  117. device should work. This driver utilizes manual mode.
  118. Note however that some operations are three orders of magnitude
  119. slower than on a PCI/ISA Parallel Port, so timing critical
  120. applications might not work.
  121. Say Y here if you own an USS-720 USB->Parport cable and intend to
  122. connect anything other than a printer to it.
  123. To compile this driver as a module, choose M here: the
  124. module will be called uss720.
  125. source "drivers/usb/serial/Kconfig"
  126. source "drivers/usb/misc/Kconfig"
  127. source "drivers/usb/atm/Kconfig"
  128. endif # USB
  129. source "drivers/usb/phy/Kconfig"
  130. source "drivers/usb/pd/Kconfig"
  131. source "drivers/usb/gadget/Kconfig"
  132. source "drivers/usb/typec/Kconfig"
  133. source "drivers/usb/roles/Kconfig"
  134. source "drivers/usb/repeater/Kconfig"
  135. source "drivers/usb/redriver/Kconfig"
  136. endif # USB_SUPPORT