From patchwork Tue Mar 8 11:42:23 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 63673 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp1975032lbc; Tue, 8 Mar 2016 03:43:07 -0800 (PST) X-Received: by 10.194.57.16 with SMTP id e16mr28556309wjq.105.1457437387600; Tue, 08 Mar 2016 03:43:07 -0800 (PST) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id i2si3242088wja.89.2016.03.08.03.43.06; Tue, 08 Mar 2016 03:43:07 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dkim=neutral (body hash did not verify) header.i=@linaro.org Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A134BA76D7; Tue, 8 Mar 2016 12:43:04 +0100 (CET) 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 My4CGapKSaEw; Tue, 8 Mar 2016 12:43:04 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id F2A5DA76EE; Tue, 8 Mar 2016 12:43:03 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9560DA76F4 for ; Tue, 8 Mar 2016 12:43:01 +0100 (CET) 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 ctD6hy5-KvkO for ; Tue, 8 Mar 2016 12:43:01 +0100 (CET) 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 mail-pf0-f178.google.com (mail-pf0-f178.google.com [209.85.192.178]) by theia.denx.de (Postfix) with ESMTPS id 1A985A76E0 for ; Tue, 8 Mar 2016 12:42:53 +0100 (CET) Received: by mail-pf0-f178.google.com with SMTP id 63so11240059pfe.3 for ; Tue, 08 Mar 2016 03:42:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=6UClLyZQ6x6YibdoaBztuVSafEBjC30Vh1XKc3lLlIM=; b=InEiYRoGZYTmJJo2mAZMKBeeDlPRLdPHPMMfAtUFUKUnEpGcroyjXWVN+jtgNKKrN2 MOy3IKp736kTL9Ni2XeabWYKESw30F7aTZyrKtekgHY/5uWBXd9rRUVj5S6Ic4ElZin4 fiZ5hMPw4/V4nqYpY2kBWMrd69s720yStnJyw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=6UClLyZQ6x6YibdoaBztuVSafEBjC30Vh1XKc3lLlIM=; b=YSE+Ayivs01guLj7nK1xdq4EP7oV5qE7rD+lfupOLyEq5irQgxum43T0Qb3OTPN2NP GWuv+Pz/tJLUHPoYurh1PztQtww+gwyVhn/EVhXDHOa5hQvoCxPGdTOPq9kTy06Zamuv pbfPoP/gOnV9UqdEUQNs0k90A2byJwJp8MiHzw33A7JusstdeJr7zTfKEoNF7CTOcJQk t9hDjhH1Bmj3DTkAb9C7298v1mZHPsVfT0VsP6q8L/P4jimEbR1eCn41u9nxoEsp3TKh Bz8EDzG87uJW1vvLXowjbC8Je3L4dvFh8CyMAu58OPL4ncZJ27FElZaDpWsVfynatFj7 8pFQ== X-Gm-Message-State: AD7BkJL80HgM24aFXqAYQUb0BJsgWqMVxxfPxiirHJrbx/++nnoqU0vir/zoLigyy42AaT7B X-Received: by 10.98.71.147 with SMTP id p19mr22615271pfi.135.1457437372211; Tue, 08 Mar 2016 03:42:52 -0800 (PST) Received: from localhost (110-170-137-3.static.asianet.co.th. [110.170.137.3]) by smtp.gmail.com with ESMTPSA id i11sm4460517pfi.55.2016.03.08.03.42.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Mar 2016 03:42:51 -0800 (PST) From: Semen Protsenko To: u-boot@lists.denx.de Date: Tue, 8 Mar 2016 18:42:23 +0700 Message-Id: <1457437348-31327-2-git-send-email-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1457437348-31327-1-git-send-email-semen.protsenko@linaro.org> References: <1457437348-31327-1-git-send-email-semen.protsenko@linaro.org> Cc: Praneeth Bajjuri , Tom Rini , Felipe Balbi Subject: [U-Boot] [PATCH 1/6] arm: am57xx: Enable USB gadget in AM57XX 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: Sam Protsenko Enable dwc3, dwc3-omap and PHY for dwc3. Also enable USB gadget. Signed-off-by: Sam Protsenko --- include/configs/am57xx_evm.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) -- 2.7.0 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot diff --git a/include/configs/am57xx_evm.h b/include/configs/am57xx_evm.h index 6308cab..9191d61 100644 --- a/include/configs/am57xx_evm.h +++ b/include/configs/am57xx_evm.h @@ -77,6 +77,20 @@ #define CONFIG_OMAP_USB_PHY #define CONFIG_OMAP_USB3PHY1_HOST +/* USB GADGET */ +#define CONFIG_USB_DWC3_PHY_OMAP +#define CONFIG_USB_DWC3_OMAP +#define CONFIG_USB_DWC3 +#define CONFIG_USB_DWC3_GADGET + +#define CONFIG_USB_GADGET +#define CONFIG_USB_GADGET_DOWNLOAD +#define CONFIG_USB_GADGET_VBUS_DRAW 2 +#define CONFIG_G_DNL_MANUFACTURER "Texas Instruments" +#define CONFIG_G_DNL_VENDOR_NUM 0x0451 +#define CONFIG_G_DNL_PRODUCT_NUM 0xd022 +#define CONFIG_USB_GADGET_DUALSPEED + /* SATA */ #define CONFIG_BOARD_LATE_INIT #define CONFIG_CMD_SCSI