xref: /openbmc/u-boot/drivers/usb/musb-new/Kconfig (revision b25f8e21)
15d6c2f4bSPaul Kocialkowski#
25d6c2f4bSPaul Kocialkowski# MUSB Controller Driver
35d6c2f4bSPaul Kocialkowski#
45d6c2f4bSPaul Kocialkowskicomment "MUSB Controller Driver"
55d6c2f4bSPaul Kocialkowski
65d6c2f4bSPaul Kocialkowskiconfig USB_MUSB_HOST
75d6c2f4bSPaul Kocialkowski	bool "MUSB host mode support"
8*ab9e12f6SAlex Kiernan	select SPL_SPRINTF if SPL
9*ab9e12f6SAlex Kiernan	select TPL_SPRINTF if TPL
105d6c2f4bSPaul Kocialkowski	help
115d6c2f4bSPaul Kocialkowski	  Enables the MUSB USB dual-role controller in host mode.
125d6c2f4bSPaul Kocialkowski
135d6c2f4bSPaul Kocialkowskiconfig USB_MUSB_GADGET
145d6c2f4bSPaul Kocialkowski	bool "MUSB gadget mode support"
153457bbafSSam Protsenko	select USB_GADGET_DUALSPEED
16*ab9e12f6SAlex Kiernan	select SPL_SPRINTF if SPL
17*ab9e12f6SAlex Kiernan	select TPL_SPRINTF if TPL
185d6c2f4bSPaul Kocialkowski	help
195d6c2f4bSPaul Kocialkowski	  Enables the MUSB USB dual-role controller in gadget mode.
206bed24ccSPaul Kocialkowski
2128b8d5fdSMugunthan V Nconfig USB_MUSB_TI
2228b8d5fdSMugunthan V N	bool "Enable TI OTG USB controller"
2328b8d5fdSMugunthan V N	depends on DM_USB
2428b8d5fdSMugunthan V N	default n
2528b8d5fdSMugunthan V N	help
2628b8d5fdSMugunthan V N	  Say y here to enable support for the dual role high
2728b8d5fdSMugunthan V N	  speed USB controller based on the Mentor Graphics
2828b8d5fdSMugunthan V N	  silicon IP.
2928b8d5fdSMugunthan V N
3086362221SAdam Fordconfig USB_MUSB_OMAP2PLUS
3186362221SAdam Ford	tristate "OMAP2430 and onwards"
3286362221SAdam Ford	depends on ARCH_OMAP2PLUS
3386362221SAdam Ford
3486362221SAdam Fordconfig USB_MUSB_AM35X
3586362221SAdam Ford	bool "AM35x"
3686362221SAdam Ford
3786362221SAdam Fordconfig USB_MUSB_DSPS
3886362221SAdam Ford	bool "TI DSPS platforms"
3986362221SAdam Ford
406bed24ccSPaul Kocialkowskiif USB_MUSB_HOST || USB_MUSB_GADGET
416bed24ccSPaul Kocialkowski
4203b8e046SPurna Chandra Mandalconfig USB_MUSB_PIC32
4303b8e046SPurna Chandra Mandal	bool "Enable Microchip PIC32 DRC USB controller"
4403b8e046SPurna Chandra Mandal	depends on DM_USB && MACH_PIC32
4503b8e046SPurna Chandra Mandal	help
4603b8e046SPurna Chandra Mandal	  Say y to enable PIC32 USB DRC controller support
4703b8e046SPurna Chandra Mandal	  if it is available on your Microchip PIC32 platform.
4803b8e046SPurna Chandra Mandal
496bed24ccSPaul Kocialkowskiconfig USB_MUSB_SUNXI
506bed24ccSPaul Kocialkowski	bool "Enable sunxi OTG / DRC USB controller"
516bed24ccSPaul Kocialkowski	depends on ARCH_SUNXI
526bed24ccSPaul Kocialkowski	default y
536bed24ccSPaul Kocialkowski	---help---
546bed24ccSPaul Kocialkowski	Say y here to enable support for the sunxi OTG / DRC USB controller
557806b75aSHans de Goede	used on almost all sunxi boards.
566bed24ccSPaul Kocialkowski
576bed24ccSPaul Kocialkowskiendif
5886362221SAdam Ford
5986362221SAdam Fordconfig USB_MUSB_PIO_ONLY
6086362221SAdam Ford	bool "Disable DMA (always use PIO)"
6186362221SAdam Ford	default y if USB_MUSB_AM35X || USB_MUSB_PIC32 || USB_MUSB_OMAP2PLUS || USB_MUSB_DSPS || USB_MUSB_SUNXI
6286362221SAdam Ford	help
6386362221SAdam Ford	  All data is copied between memory and FIFO by the CPU.
6486362221SAdam Ford	  DMA controllers are ignored.
65