From 5d6c2f4b5aab1ba5fe484fdd65bf78a71907f70d Mon Sep 17 00:00:00 2001 From: Paul Kocialkowski Date: Tue, 4 Aug 2015 17:04:07 +0200 Subject: [PATCH] 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 --- drivers/usb/Kconfig | 2 ++ drivers/usb/musb-new/Kconfig | 14 ++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 drivers/usb/musb-new/Kconfig diff --git a/drivers/usb/Kconfig b/drivers/usb/Kconfig index adce3f6a0a..abb06fcfe5 100644 --- a/drivers/usb/Kconfig +++ b/drivers/usb/Kconfig @@ -49,6 +49,8 @@ config DM_USB source "drivers/usb/host/Kconfig" +source "drivers/usb/musb-new/Kconfig" + source "drivers/usb/emul/Kconfig" comment "USB peripherals" diff --git a/drivers/usb/musb-new/Kconfig b/drivers/usb/musb-new/Kconfig new file mode 100644 index 0000000000..34a84740e0 --- /dev/null +++ b/drivers/usb/musb-new/Kconfig @@ -0,0 +1,14 @@ +# +# 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. -- 2.25.1