xref: /openbmc/u-boot/drivers/usb/musb-new/Kconfig (revision b2153075)
1#
2# MUSB Controller Driver
3#
4comment "MUSB Controller Driver"
5
6config USB_MUSB_HOST
7	bool "MUSB host mode support"
8	help
9	  Enables the MUSB USB dual-role controller in host mode.
10
11config USB_MUSB_GADGET
12	bool "MUSB gadget mode support"
13	select USB_GADGET_DUALSPEED
14	help
15	  Enables the MUSB USB dual-role controller in gadget mode.
16
17config USB_MUSB_TI
18	bool "Enable TI OTG USB controller"
19	depends on DM_USB
20	default n
21	help
22	  Say y here to enable support for the dual role high
23	  speed USB controller based on the Mentor Graphics
24	  silicon IP.
25
26config USB_MUSB_OMAP2PLUS
27	tristate "OMAP2430 and onwards"
28	depends on ARCH_OMAP2PLUS
29
30config USB_MUSB_AM35X
31	bool "AM35x"
32
33config USB_MUSB_DSPS
34	bool "TI DSPS platforms"
35
36if USB_MUSB_HOST || USB_MUSB_GADGET
37
38config USB_MUSB_PIC32
39	bool "Enable Microchip PIC32 DRC USB controller"
40	depends on DM_USB && MACH_PIC32
41	help
42	  Say y to enable PIC32 USB DRC controller support
43	  if it is available on your Microchip PIC32 platform.
44
45config USB_MUSB_SUNXI
46	bool "Enable sunxi OTG / DRC USB controller"
47	depends on ARCH_SUNXI
48	default y
49	---help---
50	Say y here to enable support for the sunxi OTG / DRC USB controller
51	used on almost all sunxi boards.
52
53endif
54
55config USB_MUSB_PIO_ONLY
56	bool "Disable DMA (always use PIO)"
57	default y if USB_MUSB_AM35X || USB_MUSB_PIC32 || USB_MUSB_OMAP2PLUS || USB_MUSB_DSPS || USB_MUSB_SUNXI
58	help
59	  All data is copied between memory and FIFO by the CPU.
60	  DMA controllers are ignored.
61