From patchwork Tue Aug 4 15:04:07 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans de Goede X-Patchwork-Id: 503640 X-Patchwork-Delegate: marek.vasut@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 0A91E1401F0 for ; Wed, 5 Aug 2015 01:05:26 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id CE587A759E; Tue, 4 Aug 2015 17:04:56 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6AdNmVKnoW01; Tue, 4 Aug 2015 17:04:56 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4AA72A75B4; Tue, 4 Aug 2015 17:04:40 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C8EDEA746A for ; Tue, 4 Aug 2015 17:04:26 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZLNJ6ETQvtBP for ; Tue, 4 Aug 2015 17:04:26 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by theia.denx.de (Postfix) with ESMTPS id 7827FA7561 for ; Tue, 4 Aug 2015 17:04:25 +0200 (CEST) Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id 89B567C; Tue, 4 Aug 2015 15:04:23 +0000 (UTC) Received: from localhost.localdomain.com (vpn1-4-154.ams2.redhat.com [10.36.4.154]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t74F4GwW019149; Tue, 4 Aug 2015 11:04:22 -0400 From: Hans de Goede To: Marek Vasut , Paul Kocialkowski Date: Tue, 4 Aug 2015 17:04:07 +0200 Message-Id: <1438700653-23603-5-git-send-email-hdegoede@redhat.com> In-Reply-To: <1438700653-23603-1-git-send-email-hdegoede@redhat.com> References: <1438700653-23603-1-git-send-email-hdegoede@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH v2 04/10] usb: musb-new: Kconfig support for USB_MUSB_HOST and USB_MUSB_GADGET X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" From: Paul Kocialkowski 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 adce3f6..abb06fc 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 0000000..34a8474 --- /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.