summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/Kconfig
blob: 465121c3378f6a44a89f2aee88f1a10fc822e139 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
menuconfig USB_GADGET
	depends on USB_HAVE_GADGET_DRIVER
	bool "USB gadget support            "

config USB_HAVE_GADGET_DRIVER
	bool
	default y if ARCH_IMX || ARCH_MXS || ARCH_AT91 || ARCH_PXA

if USB_GADGET

config USB_GADGET_DUALSPEED
	bool

choice
	prompt "USB Peripheral Controller"

config USB_GADGET_DRIVER_ARC
	bool
	prompt "Arc OTG device core"
	depends on ARCH_IMX || ARCH_MXS
	select USB_GADGET_DUALSPEED
	select POLLER

config USB_GADGET_DRIVER_AT91
	bool
	prompt "at91 gadget driver"
	depends on ARCH_AT91
	select USB_GADGET_DUALSPEED
	select POLLER

config USB_GADGET_DRIVER_PXA27X
	bool
	prompt "PXA27x gadget driver"
	depends on ARCH_PXA
	select USB_GADGET_DUALSPEED
	select POLLER
endchoice

comment "USB Gadget drivers"

config USB_GADGET_DFU
	bool
	prompt "Device Firmware Update Gadget"

config USB_GADGET_SERIAL
	bool
	depends on EXPERIMENTAL
	prompt "Serial Gadget"

endif