blob: 75005ccdd1b406c99abdec9b0edead4477ef5b73 [file] [log] [blame]
Paul Kocialkowskif4865f52015-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 Kiernan236fc692018-04-19 04:32:57 +00008 select SPL_SPRINTF if SPL
9 select TPL_SPRINTF if TPL
Paul Kocialkowskif4865f52015-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 Protsenkob4a0bf72016-04-13 14:20:25 +030015 select USB_GADGET_DUALSPEED
Alex Kiernan236fc692018-04-19 04:32:57 +000016 select SPL_SPRINTF if SPL
17 select TPL_SPRINTF if TPL
Paul Kocialkowskif4865f52015-08-04 17:04:07 +020018 help
19 Enables the MUSB USB dual-role controller in gadget mode.
Paul Kocialkowskie16ab872015-08-04 17:04:08 +020020
Mugunthan V N5b5479c2016-11-17 14:38:08 +053021config USB_MUSB_TI
22 bool "Enable TI OTG USB controller"
23 depends on DM_USB
Alex Kiernane8d02b62019-04-18 11:10:50 +000024 select USB_MUSB_DSPS
Mugunthan V N5b5479c2016-11-17 14:38:08 +053025 default n
26 help
27 Say y here to enable support for the dual role high
28 speed USB controller based on the Mentor Graphics
29 silicon IP.
30
Adam Ford9d3e6c32017-12-29 08:16:05 -060031config USB_MUSB_OMAP2PLUS
32 tristate "OMAP2430 and onwards"
33 depends on ARCH_OMAP2PLUS
34
35config USB_MUSB_AM35X
36 bool "AM35x"
37
38config USB_MUSB_DSPS
39 bool "TI DSPS platforms"
40
Paul Kocialkowskie16ab872015-08-04 17:04:08 +020041if USB_MUSB_HOST || USB_MUSB_GADGET
42
Purna Chandra Mandal05bc3f42016-03-21 13:05:42 +053043config USB_MUSB_PIC32
44 bool "Enable Microchip PIC32 DRC USB controller"
45 depends on DM_USB && MACH_PIC32
46 help
47 Say y to enable PIC32 USB DRC controller support
48 if it is available on your Microchip PIC32 platform.
49
Paul Kocialkowskie16ab872015-08-04 17:04:08 +020050config USB_MUSB_SUNXI
51 bool "Enable sunxi OTG / DRC USB controller"
52 depends on ARCH_SUNXI
53 default y
54 ---help---
55 Say y here to enable support for the sunxi OTG / DRC USB controller
Hans de Goededa6c37b2015-08-16 11:15:29 +020056 used on almost all sunxi boards.
Paul Kocialkowskie16ab872015-08-04 17:04:08 +020057
Alex Kiernane1269f42019-04-12 10:51:05 +000058config USB_MUSB_DISABLE_BULK_COMBINE_SPLIT
59 bool "Disable MUSB bulk split/combine"
60 default y
61 help
62 On TI AM335x devices, MUSB has bulk split/combine feature enabled
63 in the ConfigData register, but the current MUSB driver does not
64 support it yet. Select this option to disable the feature until the
65 driver adds the support.
66
Paul Kocialkowskie16ab872015-08-04 17:04:08 +020067endif
Adam Ford9d3e6c32017-12-29 08:16:05 -060068
69config USB_MUSB_PIO_ONLY
70 bool "Disable DMA (always use PIO)"
71 default y if USB_MUSB_AM35X || USB_MUSB_PIC32 || USB_MUSB_OMAP2PLUS || USB_MUSB_DSPS || USB_MUSB_SUNXI
72 help
73 All data is copied between memory and FIFO by the CPU.
74 DMA controllers are ignored.