From patchwork Fri Oct 16 15:40:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabien Parent X-Patchwork-Id: 1383428 X-Patchwork-Delegate: trini@ti.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=2a01:238:438b:c500:173d:9f52:ddab:ee01; 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=ih8Ct76F; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (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 4CCVjz5Hz2z9sSf for ; Sat, 17 Oct 2020 02:41:11 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B8853824A6; Fri, 16 Oct 2020 17:40:30 +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="ih8Ct76F"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 82FF98248B; Fri, 16 Oct 2020 17:40:26 +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-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) (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 8FCE482461 for ; Fri, 16 Oct 2020 17:40:23 +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=fparent@baylibre.com Received: by mail-wr1-x441.google.com with SMTP id h7so3440001wre.4 for ; Fri, 16 Oct 2020 08:40:23 -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=GnXZMRtC2c3Jp3V92/NgSnqaBrZWMs3LzHHi44GD6lE=; b=ih8Ct76Fzs5X2eSEWjGdskO30P8MK8a4LX/xLHuoosNqxTDX9moKZZBSi6l0+BrGrx dBs8AAhQjZ/RVPFxARMELNRbvlxLsDkYKEc71dI71dTA4+wAKE7bxxCft2RbcRWTYVwV 6gYHTTdw6VJfnI11JXKOvoUZoAqRruIqiewb/0jsS5R/m93LlxClr5PCSv7AAOxrrzyI INfoDvRvrvOebU8ByZX5qnTethgiTfSh4vFsgDlzC2faiX9lFY5zxJco0Dw7AsPb7kaF EK4XKhflr6s2bgfBxYchRnYtAA9YBGh4rSOlmPePsnZ8A+XwWwmXZci87IXBtFw2zpKu e0ow== 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=GnXZMRtC2c3Jp3V92/NgSnqaBrZWMs3LzHHi44GD6lE=; b=gTPCapFJAG8zEtKwAV56v1/mSRxcJ37R8Q/k2iu2p92vFgJmnXfDw4j22KijviKFMg YSp/MFcS/TSlZtiexVL7BCx+9gnBPdd+92qyFTKyYpaiob3qrMM9gHS7X5y49Xj/utRA fMMesmwJerYGeQko6vakTYYm0SC6kDpWlwSayfyoKbJyzJnNP4Vh7eUAY8aRI65FIMs8 FuByevhDiiYCSb/4vITqYs23m7+rKT5lyJHrG5jENA8y2Tz82DOvj7PqVg05H/d5qDyr wRSvHcxk+V/AErn6B3ViRct7GXGzw2gZLNzhMUlC9HtPA7nlhNUtc+IyQ2IeNk+kJXrg SU6Q== X-Gm-Message-State: AOAM531on0YCNsT+4urW7ZmK9j8+/8vFvEsySdEqON/uNS/pADqmqJ1U hcA/5KjSEaCWLT9xgDhftpJDf+FGcwhgHQ== X-Google-Smtp-Source: ABdhPJxtILJGHO1YH7CuHZ7P/bYODPnoVMsIgREipWaQMITQwNiThKVN1+ysE6eU44vyTin20RVvmg== X-Received: by 2002:a5d:67d2:: with SMTP id n18mr4590992wrw.310.1602862822916; Fri, 16 Oct 2020 08:40:22 -0700 (PDT) Received: from localhost.localdomain (211.163.185.81.rev.sfr.net. [81.185.163.211]) by smtp.gmail.com with ESMTPSA id n66sm3100020wmb.35.2020.10.16.08.40.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Oct 2020 08:40:22 -0700 (PDT) From: Fabien Parent To: u-boot@lists.denx.de, GSS_MTK_Uboot_upstream@mediatek.com Cc: weijie.gao@mediatek.com, ryder.lee@mediatek.com, Fabien Parent Subject: [PATCH 4/5] configs: pumpkin: enable USB gadget Date: Fri, 16 Oct 2020 17:40:08 +0200 Message-Id: <20201016154009.3097917-5-fparent@baylibre.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201016154009.3097917-1-fparent@baylibre.com> References: <20201016154009.3097917-1-fparent@baylibre.com> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.3 at phobos.denx.de X-Virus-Status: Clean Enable USB gadget on pumpkin. This requires to also enable BOARD_LATE_INIT since the init is done in board_late_init function. Signed-off-by: Fabien Parent --- configs/pumpkin_defconfig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configs/pumpkin_defconfig b/configs/pumpkin_defconfig index 3d6af03d2209..94831adfa354 100644 --- a/configs/pumpkin_defconfig +++ b/configs/pumpkin_defconfig @@ -17,6 +17,7 @@ CONFIG_FIT=y # CONFIG_ARCH_FIXUP_FDT_MEMORY is not set CONFIG_DEFAULT_FDT_FILE="mt8516-pumpkin" # CONFIG_DISPLAY_BOARDINFO is not set +CONFIG_BOARD_LATE_INIT=y CONFIG_HUSH_PARSER=y # CONFIG_CMD_BDI is not set # CONFIG_CMD_CONSOLE is not set @@ -59,6 +60,13 @@ CONFIG_BAUDRATE=921600 CONFIG_DM_SERIAL=y CONFIG_DEBUG_UART_ANNOUNCE=y CONFIG_MTK_SERIAL=y +CONFIG_USB=y +CONFIG_DM_USB=y +CONFIG_USB_MUSB_GADGET=y +CONFIG_USB_MUSB_MT85XX=y +CONFIG_USB_GADGET=y +CONFIG_USB_GADGET_VENDOR_NUM=0x0e8d +CONFIG_USB_GADGET_PRODUCT_NUM=0x201c CONFIG_WDT=y CONFIG_WDT_MTK=y # CONFIG_EFI_LOADER is not set