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>
source "drivers/usb/host/Kconfig"
+source "drivers/usb/musb-new/Kconfig"
+
source "drivers/usb/emul/Kconfig"
comment "USB peripherals"
--- /dev/null
+#
+# MUSB Controller Driver
+#
+comment "MUSB Controller Driver"
+
+config USB_MUSB_HOST
+ bool "MUSB host mode support"
+ help
+ Enables the MUSB USB dual-role controller in host mode.
+
+config USB_MUSB_GADGET
+ bool "MUSB gadget mode support"
+ help
+ Enables the MUSB USB dual-role controller in gadget mode.