1# 2# MUSB Controller Driver 3# 4comment "MUSB Controller Driver" 5 6config USB_MUSB_HOST 7 bool "MUSB host mode support" 8 select SPL_SPRINTF if SPL 9 select TPL_SPRINTF if TPL 10 help 11 Enables the MUSB USB dual-role controller in host mode. 12 13config USB_MUSB_GADGET 14 bool "MUSB gadget mode support" 15 select USB_GADGET_DUALSPEED 16 select SPL_SPRINTF if SPL 17 select TPL_SPRINTF if TPL 18 help 19 Enables the MUSB USB dual-role controller in gadget mode. 20 21config USB_MUSB_DA8XX 22 bool "Enable DA8xx MUSB Controller" 23 depends on DM_USB 24 help 25 Say y here to enable support for the dual role high 26 speed USB controller based on the Mentor Graphics 27 silicon IP. 28 29config USB_MUSB_TI 30 bool "Enable TI OTG USB controller" 31 depends on DM_USB 32 select USB_MUSB_DSPS 33 default n 34 help 35 Say y here to enable support for the dual role high 36 speed USB controller based on the Mentor Graphics 37 silicon IP. 38 39config USB_MUSB_OMAP2PLUS 40 tristate "OMAP2430 and onwards" 41 depends on ARCH_OMAP2PLUS 42 43config USB_MUSB_AM35X 44 bool "AM35x" 45 46config USB_MUSB_DSPS 47 bool "TI DSPS platforms" 48 49if USB_MUSB_HOST || USB_MUSB_GADGET 50 51config USB_MUSB_PIC32 52 bool "Enable Microchip PIC32 DRC USB controller" 53 depends on DM_USB && MACH_PIC32 54 help 55 Say y to enable PIC32 USB DRC controller support 56 if it is available on your Microchip PIC32 platform. 57 58config USB_MUSB_SUNXI 59 bool "Enable sunxi OTG / DRC USB controller" 60 depends on ARCH_SUNXI 61 default y 62 ---help--- 63 Say y here to enable support for the sunxi OTG / DRC USB controller 64 used on almost all sunxi boards. 65 66config USB_MUSB_DISABLE_BULK_COMBINE_SPLIT 67 bool "Disable MUSB bulk split/combine" 68 default y 69 help 70 On TI AM335x devices, MUSB has bulk split/combine feature enabled 71 in the ConfigData register, but the current MUSB driver does not 72 support it yet. Select this option to disable the feature until the 73 driver adds the support. 74 75endif 76 77config USB_MUSB_PIO_ONLY 78 bool "Disable DMA (always use PIO)" 79 default y if USB_MUSB_AM35X || USB_MUSB_PIC32 || USB_MUSB_OMAP2PLUS || USB_MUSB_DSPS || USB_MUSB_SUNXI 80 help 81 All data is copied between memory and FIFO by the CPU. 82 DMA controllers are ignored. 83