blob: f8f2205a62d317b63b0bc771a6bf6a1945b5e801 [file] [log] [blame]
Paul Kocialkowski5d6c2f42015-08-04 17:04:07 +02001#
2# MUSB Controller Driver
3#
4comment "MUSB Controller Driver"
5
6config USB_MUSB_HOST
7 bool "MUSB host mode support"
Alex Kiernanab9e12f2018-04-19 04:32:57 +00008 select SPL_SPRINTF if SPL
9 select TPL_SPRINTF if TPL
Paul Kocialkowski5d6c2f42015-08-04 17:04:07 +020010 help
11 Enables the MUSB USB dual-role controller in host mode.
12
13config USB_MUSB_GADGET
14 bool "MUSB gadget mode support"
Sam Protsenko3457bba2016-04-13 14:20:25 +030015 select USB_GADGET_DUALSPEED
Alex Kiernanab9e12f2018-04-19 04:32:57 +000016 select SPL_SPRINTF if SPL
17 select TPL_SPRINTF if TPL
Paul Kocialkowski5d6c2f42015-08-04 17:04:07 +020018 help
19 Enables the MUSB USB dual-role controller in gadget mode.
Paul Kocialkowski6bed24c2015-08-04 17:04:08 +020020
Mugunthan V N28b8d5f2016-11-17 14:38:08 +053021config USB_MUSB_TI
22 bool "Enable TI OTG USB controller"
23 depends on DM_USB
24 default n
25 help
26 Say y here to enable support for the dual role high
27 speed USB controller based on the Mentor Graphics
28 silicon IP.
29
Adam Ford86362222017-12-29 08:16:05 -060030config USB_MUSB_OMAP2PLUS
31 tristate "OMAP2430 and onwards"
32 depends on ARCH_OMAP2PLUS
33
34config USB_MUSB_AM35X
35 bool "AM35x"
36
37config USB_MUSB_DSPS
38 bool "TI DSPS platforms"
39
Paul Kocialkowski6bed24c2015-08-04 17:04:08 +020040if USB_MUSB_HOST || USB_MUSB_GADGET
41
Purna Chandra Mandal03b8e042016-03-21 13:05:42 +053042config USB_MUSB_PIC32
43 bool "Enable Microchip PIC32 DRC USB controller"
44 depends on DM_USB && MACH_PIC32
45 help
46 Say y to enable PIC32 USB DRC controller support
47 if it is available on your Microchip PIC32 platform.
48
Paul Kocialkowski6bed24c2015-08-04 17:04:08 +020049config USB_MUSB_SUNXI
50 bool "Enable sunxi OTG / DRC USB controller"
51 depends on ARCH_SUNXI
52 default y
53 ---help---
54 Say y here to enable support for the sunxi OTG / DRC USB controller
Hans de Goede7806b752015-08-16 11:15:29 +020055 used on almost all sunxi boards.
Paul Kocialkowski6bed24c2015-08-04 17:04:08 +020056
57endif
Adam Ford86362222017-12-29 08:16:05 -060058
59config USB_MUSB_PIO_ONLY
60 bool "Disable DMA (always use PIO)"
61 default y if USB_MUSB_AM35X || USB_MUSB_PIC32 || USB_MUSB_OMAP2PLUS || USB_MUSB_DSPS || USB_MUSB_SUNXI
62 help
63 All data is copied between memory and FIFO by the CPU.
64 DMA controllers are ignored.