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 1A97FC7618D for ; Thu, 6 Apr 2023 18:55:53 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id F3CDF860B0; Thu, 6 Apr 2023 20:55:50 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=collabora.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=collabora.com header.i=@collabora.com header.b="RRnf+DiX"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9FC2E860DD; Thu, 6 Apr 2023 20:55:48 +0200 (CEST) Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id EBD5685FF5 for ; Thu, 6 Apr 2023 20:55:45 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjoerd@collabora.com Received: from beast.luon.net (simons.connected.by.freedominter.net [45.83.240.172]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sjoerd) by madras.collabora.co.uk (Postfix) with ESMTPSA id 574AA66031C6; Thu, 6 Apr 2023 19:55:45 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1680807345; bh=IIZT5btEQbaf30FQSuJfnWx1sNqp1a0Ed+uMwlyynYE=; h=From:To:Cc:Subject:Date:From; b=RRnf+DiXdb5GDm+Hki9npyqOy6pCLhoohoUawThe849KlSltzFeMbXth+s0fVj778 RbTbSugcqYoncRyp/6pqvMdS1XvNjAKv0sWfc49r9A/30v5rJknUUd9zB7dbbxUXXv TJj32yADbbEMao9Mwq5+A02PWFahUzEkER4RPgWG8AtTi6DgF821rSa+diY5fTLMC8 EOLaAHgZGh4i4+/mP3BTBDJEeFXcWeQ2/5SwVlMp0GmTINv8wOV1z0qgeITiW42OxE OiICQr3eAa2WmhbRpob7bKEayxnefBB0IA3x8JR00ixL7yTUlu3pP4kPboRNFXxjfh 7/YsY+YxKV+yQ== Received: by beast.luon.net (Postfix, from userid 1000) id D5AAC7DBB5FC; Thu, 6 Apr 2023 20:55:42 +0200 (CEST) From: Sjoerd Simons To: u-boot@lists.denx.de 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 Subject: [PATCH v2 0/8] Add DFU, emmc and usb boot for TI am62x Date: Thu, 6 Apr 2023 20:55:34 +0200 Message-Id: <20230406185542.1179073-1-sjoerd@collabora.com> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 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 -- 2.40.0