From patchwork Mon Mar 30 09:27:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 1263841 X-Patchwork-Delegate: narmstrong@baylibre.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=Bi/1nGC/; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48rRwk0dFWz9sPR for ; Mon, 30 Mar 2020 20:28:54 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0108C818F6; Mon, 30 Mar 2020 11:28:09 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="Bi/1nGC/"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8A87C818E1; Mon, 30 Mar 2020 11:27:51 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 6B21C804CD for ; Mon, 30 Mar 2020 11:27:48 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=narmstrong@baylibre.com Received: by mail-wr1-x436.google.com with SMTP id t7so20651839wrw.12 for ; Mon, 30 Mar 2020 02:27:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=KbJoKRBCG/vyd2GoGgi7d3mPhk6mgZBCOQfC2bspw5E=; b=Bi/1nGC/2CdoL4HdhSaV1cjm0iD8pwzeQvPlGHWiqMhtxnCgALgd+FVMZwjofdsXA4 e9GIz7smnAG2prQqZhKXzJ+wYUZw7RhMyMiOUx07WPWJ2Ag2PcZ8tEol95S1Dv0ypRUZ 1bAcPU8UWI0DxULFBR1EW59/IOQokrSdEWJZUkjIO99++eLAYoNSP2SAdVWH9I7S0295 295dwwf2eGwSI8pm6n+az8FdO0HhdGuzoePP2e9HPKQmci4O0RK4gw2IHKAgNFDVnHqt 88spGNliu2Q/BlrmYNPKI1EnKiNY6t7PoRrLML+3sFV/9Bo2PW7wr3UQjeweEzms1c0x Lq3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=KbJoKRBCG/vyd2GoGgi7d3mPhk6mgZBCOQfC2bspw5E=; b=AIKCp+mIJJOe0FqEFpwQ1TMgHpx4n5QfmM4k22WHy4a3LS+kjSwl7aNkFvdP7xXvdc kt2a9QLztsS+HNHz3j6prN04FCLIChenZ3NKdL9ieQiHx9J5m9XrzgTiNd7CEfsY+UZJ gzZZ76mtTfb/LmE/Cdj84g7QOdl5iX0VBPTmhhg3QvIpBEnurWajLcWe5wh1Pk+YJzdo HQ131P6N6RxehGWbB7rHxvyy4w+aoYt12DYeEqGH0aGui6qkTEw2jrs+ARYYjH5kn0+P 1ixqT1wqVbSjc3Cn4v82qlvvy85+/M3PJIFaWm4622rcxzRRejB7VDbye0l9oByA574k H1NA== X-Gm-Message-State: ANhLgQ1PSkxjClv9zkp5v2VzcEZZp05GkzUjjFzTNNVCV0fMqZswhlWo Jj4QXEtit+gi9S8Le4vbwRM48j00V3ZFqg== X-Google-Smtp-Source: ADFU+vvn/qHIpPScM65Kxmh1MPxRiVjYdBvrzc8J+1FW9t4tWkIAtzPIHf/0sf8GRgvU9b5YIFkcQg== X-Received: by 2002:adf:f1c4:: with SMTP id z4mr14817173wro.342.1585560467624; Mon, 30 Mar 2020 02:27:47 -0700 (PDT) Received: from bender.baylibre.local (laubervilliers-658-1-213-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id 98sm21842318wrk.52.2020.03.30.02.27.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Mar 2020 02:27:47 -0700 (PDT) From: Neil Armstrong To: u-boot@lists.denx.de, marex@denx.de Cc: u-boot-amlogic@groups.io, Neil Armstrong Subject: [PATCH 06/10] configs: libretech-ac: Enable USB gadget with Mass Storage function Date: Mon, 30 Mar 2020 11:27:28 +0200 Message-Id: <20200330092732.7198-7-narmstrong@baylibre.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20200330092732.7198-1-narmstrong@baylibre.com> References: <20200330092732.7198-1-narmstrong@baylibre.com> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.2 at phobos.denx.de X-Virus-Status: Clean Enable configs to support USB gadget and Mass Storage Signed-off-by: Neil Armstrong --- configs/libretech-ac_defconfig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configs/libretech-ac_defconfig b/configs/libretech-ac_defconfig index 09b87c54d5..7e486757a2 100644 --- a/configs/libretech-ac_defconfig +++ b/configs/libretech-ac_defconfig @@ -27,6 +27,7 @@ CONFIG_CMD_MMC=y CONFIG_CMD_SF_TEST=y CONFIG_CMD_SPI=y CONFIG_CMD_USB=y +CONFIG_CMD_USB_MASS_STORAGE=y # CONFIG_CMD_SETEXPR is not set CONFIG_CMD_REGULATOR=y CONFIG_OF_CONTROL=y @@ -69,6 +70,12 @@ CONFIG_USB_XHCI_DWC3=y CONFIG_USB_XHCI_DWC3_OF_SIMPLE=y CONFIG_USB_DWC3=y CONFIG_USB_KEYBOARD=y +# CONFIG_USB_DWC3_GADGET is not set +CONFIG_USB_GADGET=y +CONFIG_USB_GADGET_VENDOR_NUM=0x1b8e +CONFIG_USB_GADGET_PRODUCT_NUM=0xfada +CONFIG_USB_GADGET_DWC2_OTG=y +CONFIG_USB_GADGET_DOWNLOAD=y CONFIG_DM_VIDEO=y # CONFIG_VIDEO_BPP8 is not set # CONFIG_VIDEO_BPP16 is not set