Kconfig 4.6 KB

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