Sam Protsenko | b4a0bf7 | 2016-04-13 14:20:25 +0300 | [diff] [blame] | 1 | config USB_DWC3 |
| 2 | bool "DesignWare USB3 DRD Core Support" |
| 3 | depends on (USB && USB_GADGET) |
| 4 | select USB_GADGET_DUALSPEED |
| 5 | help |
| 6 | Say Y here if your system has a Dual Role SuperSpeed |
| 7 | USB controller based on the DesignWare USB3 IP Core. |
Sam Protsenko | 8073f47 | 2016-04-13 14:20:27 +0300 | [diff] [blame^] | 8 | |
| 9 | if USB_DWC3 |
| 10 | |
| 11 | choice |
| 12 | bool "DWC3 Mode Selection" |
| 13 | |
| 14 | config USB_DWC3_HOST |
| 15 | bool "Host only mode" |
| 16 | depends on USB |
| 17 | help |
| 18 | Select this when you want to use DWC3 in host mode only, |
| 19 | thereby the gadget feature will be regressed. |
| 20 | |
| 21 | config USB_DWC3_GADGET |
| 22 | bool "Gadget only mode" |
| 23 | depends on USB_GADGET |
| 24 | help |
| 25 | Select this when you want to use DWC3 in gadget mode only, |
| 26 | thereby the host feature will be regressed. |
| 27 | |
| 28 | endchoice |
| 29 | |
| 30 | endif |