xref: /openbmc/u-boot/drivers/usb/dwc3/Kconfig (revision c16bf621d5100a1f5c64becc82b5620810565f3e)
13457bbafSSam Protsenkoconfig USB_DWC3
23457bbafSSam Protsenko	bool "DesignWare USB3 DRD Core Support"
33457bbafSSam Protsenko	depends on (USB && USB_GADGET)
43457bbafSSam Protsenko	select USB_GADGET_DUALSPEED
53457bbafSSam Protsenko	help
63457bbafSSam Protsenko	  Say Y here if your system has a Dual Role SuperSpeed
73457bbafSSam Protsenko	  USB controller based on the DesignWare USB3 IP Core.
865403f30SSam Protsenko
965403f30SSam Protsenkoif USB_DWC3
1065403f30SSam Protsenko
1165403f30SSam Protsenkochoice
1265403f30SSam Protsenko	bool "DWC3 Mode Selection"
1365403f30SSam Protsenko
1465403f30SSam Protsenkoconfig USB_DWC3_HOST
1565403f30SSam Protsenko	bool "Host only mode"
1665403f30SSam Protsenko	depends on USB
1765403f30SSam Protsenko	help
1865403f30SSam Protsenko	  Select this when you want to use DWC3 in host mode only,
1965403f30SSam Protsenko	  thereby the gadget feature will be regressed.
2065403f30SSam Protsenko
2165403f30SSam Protsenkoconfig USB_DWC3_GADGET
2265403f30SSam Protsenko	bool "Gadget only mode"
2365403f30SSam Protsenko	depends on USB_GADGET
2465403f30SSam Protsenko	help
2565403f30SSam Protsenko	  Select this when you want to use DWC3 in gadget mode only,
2665403f30SSam Protsenko	  thereby the host feature will be regressed.
2765403f30SSam Protsenko
2865403f30SSam Protsenkoendchoice
2965403f30SSam Protsenko
30*c16bf621SSam Protsenkocomment "Platform Glue Driver Support"
31*c16bf621SSam Protsenko
32*c16bf621SSam Protsenkoconfig USB_DWC3_OMAP
33*c16bf621SSam Protsenko	bool "Texas Instruments OMAP5 and similar Platforms"
34*c16bf621SSam Protsenko	help
35*c16bf621SSam Protsenko	  Some platforms from Texas Instruments like OMAP5, DRA7xxx and
36*c16bf621SSam Protsenko	  AM437x use this IP for USB2/3 functionality.
37*c16bf621SSam Protsenko
38*c16bf621SSam Protsenko	  Say 'Y' here if you have one such device
39*c16bf621SSam Protsenko
4065403f30SSam Protsenkoendif
41