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