Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 559A3C7619A for ; Tue, 11 Apr 2023 10:53:53 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D16AC85F2B; Tue, 11 Apr 2023 12:53:28 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.b="xfccAaWd"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 04B7683741; Tue, 11 Apr 2023 07:51:26 +0200 (CEST) Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 561D680F73 for ; Tue, 11 Apr 2023 07:51:22 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=r-gunasekaran@ti.com Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 33B5p7As050427; Tue, 11 Apr 2023 00:51:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1681192267; bh=HKpnJJPw5OVvTOrUzK3YGmxSnbs15anod0WYHj6j0kE=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=xfccAaWdu89eQdHJXk4Dug2AiA1b1OhYBhUUw4qRZ7ZM5J0/xls7l9BM4r0JHS3wS PTpOV1dw4o2afEcX2cLJWXV9ciMQX8aexTPXOTl3XCT3Dy6PR1LKpZypQcRvosFM2u 7rV2auYx7u2mY+bUitHQCmey6XtO+dXWpnNc4G7I= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 33B5p7gF019728 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 11 Apr 2023 00:51:07 -0500 Received: from DLEE113.ent.ti.com (157.170.170.24) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Tue, 11 Apr 2023 00:51:07 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Tue, 11 Apr 2023 00:51:06 -0500 Received: from [10.24.69.79] (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 33B5p1JJ020918; Tue, 11 Apr 2023 00:51:02 -0500 Message-ID: <805bbaf2-925d-1b08-8cd9-c30741e2bbc9@ti.com> Date: Tue, 11 Apr 2023 11:21:01 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v2 0/8] Add DFU, emmc and usb boot for TI am62x To: Sjoerd Simons , CC: Angus Ainslie , Aswath Govindraju , Dave Gerlach , Dhruva Gole , Georgi Vlaev , Gowtham Tammana , Julien Panis , Kamlesh Gurudasani , Kunihiko Hayashi , Marek Vasut , "Mattijs Korpershoek" , Nishanth Menon , "Simon Glass" , Suman Anna , Tom Rini , Vignesh Raghavendra , "Bajjuri, Praneeth" References: <20230406185542.1179073-1-sjoerd@collabora.com> Content-Language: en-US From: Ravi Gunasekaran In-Reply-To: <20230406185542.1179073-1-sjoerd@collabora.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Mailman-Approved-At: Tue, 11 Apr 2023 12:53:18 +0200 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.103.8 at phobos.denx.de X-Virus-Status: Clean On 07/04/23 12:25 am, Sjoerd Simons wrote: > This series adds more boot sources for the TI am62x. For that the dts' > are synced from the upstream ti-next git tree (to add usb nodes), some > dwc3 glue is and finally the default configuration is tuned to add > support for DFU and USB (host and gadget) > > > Changes in v2: > - Update dts sync to v6.3-rc5 > - Switch dwc3 glue to a seperate driver rather then in dwc-generic > - Minimize config changes to just DFU configuration > - Only enable usb port 0 DFU in SPL > - Create a seperate defconfig for R5 > > Sjoerd Simons (8): > omap: timer: add ti,am654-timer compatibility > arm: mach-k3: am62: Add timer0 id to the dev list > arm: dts: k3-am62: Bump dtsi from linux > arm: dts: k3-am625-sk: Enable emmc in SPL > usb: dwc3: Add dwc3 glue driver for am62 > configs: am62: Add configs for enabling USB in U-Boot > arm: dts: k3-am625-sk: Enable usb ports in u-boot > configs: am62x_evm_*: Enable USB and DFU support > > arch/arm/dts/k3-am62-main.dtsi | 259 +++++++++++++++++++++++--- > arch/arm/dts/k3-am62-mcu.dtsi | 49 +++++ > arch/arm/dts/k3-am62-wakeup.dtsi | 4 +- > arch/arm/dts/k3-am625-r5-sk.dts | 2 +- > arch/arm/dts/k3-am625-sk-u-boot.dtsi | 27 ++- > arch/arm/dts/k3-am625-sk.dts | 95 +++++----- > arch/arm/dts/k3-am625.dtsi | 52 ++++++ > arch/arm/mach-k3/am62x/dev-data.c | 1 + > configs/am62x_evm_a53_defconfig | 35 +++- > configs/am62x_evm_r5_usbdfu_defconfig | 116 ++++++++++++ > drivers/timer/omap-timer.c | 1 + > drivers/usb/dwc3/Kconfig | 14 ++ > drivers/usb/dwc3/Makefile | 1 + > drivers/usb/dwc3/dwc3-am62.c | 127 +++++++++++++ > include/configs/am62x_evm.h | 10 +- > 15 files changed, 701 insertions(+), 92 deletions(-) > create mode 100644 configs/am62x_evm_r5_usbdfu_defconfig > create mode 100644 drivers/usb/dwc3/dwc3-am62.c I tested USB DFU boot on AM62 and it works fine. Tested-by: Ravi Gunasekaran -- Regards, Ravi