Commit 5d6c2f4b5aab1ba5fe484fdd65bf78a71907f70d
Committed by
Marek Vasut
1 parent
95de1e2f26
Exists in
v2017.01-smarct4x
and in
33 other branches
usb: musb-new: Kconfig support for USB_MUSB_HOST and USB_MUSB_GADGET
Having MUSB_HOST and MUSB_GADGET in Kconfig allows more flexibility with regard to what Kconfig options to enable, such as USB_STORAGE or USB_KEYBOARD. Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Showing 2 changed files with 16 additions and 0 deletions Side-by-side Diff
drivers/usb/Kconfig
drivers/usb/musb-new/Kconfig
| 1 | +# | |
| 2 | +# MUSB Controller Driver | |
| 3 | +# | |
| 4 | +comment "MUSB Controller Driver" | |
| 5 | + | |
| 6 | +config USB_MUSB_HOST | |
| 7 | + bool "MUSB host mode support" | |
| 8 | + help | |
| 9 | + Enables the MUSB USB dual-role controller in host mode. | |
| 10 | + | |
| 11 | +config USB_MUSB_GADGET | |
| 12 | + bool "MUSB gadget mode support" | |
| 13 | + help | |
| 14 | + Enables the MUSB USB dual-role controller in gadget mode. |