Paul Kocialkowski | f4865f5 | 2015-08-04 17:04:07 +0200 | [diff] [blame] | 1 | # |
| 2 | # MUSB Controller Driver |
| 3 | # |
| 4 | comment "MUSB Controller Driver" |
| 5 | |
| 6 | config USB_MUSB_HOST |
| 7 | bool "MUSB host mode support" |
Alex Kiernan | 236fc69 | 2018-04-19 04:32:57 +0000 | [diff] [blame] | 8 | select SPL_SPRINTF if SPL |
| 9 | select TPL_SPRINTF if TPL |
Paul Kocialkowski | f4865f5 | 2015-08-04 17:04:07 +0200 | [diff] [blame] | 10 | help |
| 11 | Enables the MUSB USB dual-role controller in host mode. |
| 12 | |
| 13 | config USB_MUSB_GADGET |
| 14 | bool "MUSB gadget mode support" |
Sam Protsenko | b4a0bf7 | 2016-04-13 14:20:25 +0300 | [diff] [blame] | 15 | select USB_GADGET_DUALSPEED |
Alex Kiernan | 236fc69 | 2018-04-19 04:32:57 +0000 | [diff] [blame] | 16 | select SPL_SPRINTF if SPL |
| 17 | select TPL_SPRINTF if TPL |
Paul Kocialkowski | f4865f5 | 2015-08-04 17:04:07 +0200 | [diff] [blame] | 18 | help |
| 19 | Enables the MUSB USB dual-role controller in gadget mode. |
Paul Kocialkowski | e16ab87 | 2015-08-04 17:04:08 +0200 | [diff] [blame] | 20 | |
Mugunthan V N | 5b5479c | 2016-11-17 14:38:08 +0530 | [diff] [blame] | 21 | config 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 Ford | 9d3e6c3 | 2017-12-29 08:16:05 -0600 | [diff] [blame] | 30 | config USB_MUSB_OMAP2PLUS |
| 31 | tristate "OMAP2430 and onwards" |
| 32 | depends on ARCH_OMAP2PLUS |
| 33 | |
| 34 | config USB_MUSB_AM35X |
| 35 | bool "AM35x" |
| 36 | |
| 37 | config USB_MUSB_DSPS |
| 38 | bool "TI DSPS platforms" |
| 39 | |
Paul Kocialkowski | e16ab87 | 2015-08-04 17:04:08 +0200 | [diff] [blame] | 40 | if USB_MUSB_HOST || USB_MUSB_GADGET |
| 41 | |
Purna Chandra Mandal | 05bc3f4 | 2016-03-21 13:05:42 +0530 | [diff] [blame] | 42 | config 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 Kocialkowski | e16ab87 | 2015-08-04 17:04:08 +0200 | [diff] [blame] | 49 | config 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 Goede | da6c37b | 2015-08-16 11:15:29 +0200 | [diff] [blame] | 55 | used on almost all sunxi boards. |
Paul Kocialkowski | e16ab87 | 2015-08-04 17:04:08 +0200 | [diff] [blame] | 56 | |
Alex Kiernan | e1269f4 | 2019-04-12 10:51:05 +0000 | [diff] [blame^] | 57 | config USB_MUSB_DISABLE_BULK_COMBINE_SPLIT |
| 58 | bool "Disable MUSB bulk split/combine" |
| 59 | default y |
| 60 | help |
| 61 | On TI AM335x devices, MUSB has bulk split/combine feature enabled |
| 62 | in the ConfigData register, but the current MUSB driver does not |
| 63 | support it yet. Select this option to disable the feature until the |
| 64 | driver adds the support. |
| 65 | |
Paul Kocialkowski | e16ab87 | 2015-08-04 17:04:08 +0200 | [diff] [blame] | 66 | endif |
Adam Ford | 9d3e6c3 | 2017-12-29 08:16:05 -0600 | [diff] [blame] | 67 | |
| 68 | config USB_MUSB_PIO_ONLY |
| 69 | bool "Disable DMA (always use PIO)" |
| 70 | default y if USB_MUSB_AM35X || USB_MUSB_PIC32 || USB_MUSB_OMAP2PLUS || USB_MUSB_DSPS || USB_MUSB_SUNXI |
| 71 | help |
| 72 | All data is copied between memory and FIFO by the CPU. |
| 73 | DMA controllers are ignored. |