Commit 5d6c2f4b5aab1ba5fe484fdd65bf78a71907f70d

Authored by Paul Kocialkowski
Committed by Marek Vasut
1 parent 95de1e2f26

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

... ... @@ -49,6 +49,8 @@
49 49  
50 50 source "drivers/usb/host/Kconfig"
51 51  
  52 +source "drivers/usb/musb-new/Kconfig"
  53 +
52 54 source "drivers/usb/emul/Kconfig"
53 55  
54 56 comment "USB peripherals"
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.