From: Martyn Welch <martyn.welch@collabora.com>
To: Dave Gerlach <d-gerlach@ti.com>, Tom Rini <trini@konsulko.com>,
Nishanth Menon <nm@ti.com>,
Robert Nelson <robertcnelson@gmail.com>
Cc: Sjoerd Simons <sjoerd@collabora.com>,
Alexander Sverdlin <alexander.sverdlin@siemens.com>,
Mattijs Korpershoek <mkorpershoek@baylibre.com>,
Martyn Welch <martyn.welch@collabora.com>,
u-boot@lists.denx.de
Subject: [PATCH v5 0/6] Add DFU and usb boot for TI am62x SK and beagleplay
Date: Mon, 6 May 2024 15:38:40 +0100 [thread overview]
Message-ID: <20240506143846.1252377-1-martyn.welch@collabora.com> (raw)
This series adds DFU support for TI AM62 SK and beagleplay boards.
I have picked this series up from Sjoerd due to time constraints.
Since the last revision:
* Removed dwc3 mode setting in favour of reinstating forced peripheral
mode for usb0
* Use of config fragments for both r5 and a53 DFU configuration to
reduce duplication
* Typographical improvements to documentation
We plan to also submit the dts changes to linux so that those can be
dropped again in the near future (hopefully)
Changes in v5:
- Forcing usb0 into peripheral mode reinstated
- Switch to config fragment for a53 DFU configuration
- Use existing config fragment for a53 DFU configuration
- Typographical corrections
Changes in v4:
- Add config dependency on SYSCON
- Move defines and constants outside out of function scope
- Don't force usb0 into peripheral mode
- Move R5 dfu config to a config fragment rather then a full defconfig
- Don't enable XHCI for the R5 SPL, unneeded
Change in v3:
- Add dfu via environment rather then config headers
- Enable usb nodes in all boot phases
- Run savedefconfig to adjust to more recent u-boot
Changes in v2:
- 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 (6):
usb: dwc3: Add dwc3 glue driver for am62
board: ti: am62x: am62x: include env for DFU
arm: dts: k3-am625-sk: Enable usb port in u-boot
configs: am62x_evm_*: Enable USB and DFU support
beagleplay: Add DFU support
doc: board: Add document for DFU boot on am62x SoCs
arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi | 9 ++
arch/arm/dts/k3-am625-sk-u-boot.dtsi | 9 ++
board/beagle/beagleplay/beagleplay.env | 1 +
board/ti/am62x/am62x.env | 1 +
configs/am62x_a53_usbdfu.config | 29 +++++
configs/am62x_beagleplay_a53_defconfig | 2 +
configs/am62x_evm_a53_defconfig | 3 +
configs/am62x_r5_usbdfu.config | 28 +++++
doc/board/beagle/am62x_beagleplay.rst | 14 ++-
doc/board/ti/am62x_sk.rst | 37 ++++++
drivers/usb/dwc3/Kconfig | 14 +++
drivers/usb/dwc3/Makefile | 1 +
drivers/usb/dwc3/dwc3-am62.c | 125 +++++++++++++++++++
13 files changed, 272 insertions(+), 1 deletion(-)
create mode 100644 configs/am62x_a53_usbdfu.config
create mode 100644 configs/am62x_r5_usbdfu.config
create mode 100644 drivers/usb/dwc3/dwc3-am62.c
--
2.43.0
next reply other threads:[~2024-05-06 14:39 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-06 14:38 Martyn Welch [this message]
2024-05-06 14:38 ` [PATCH v5 1/6] usb: dwc3: Add dwc3 glue driver for am62 Martyn Welch
2024-05-06 14:38 ` [PATCH v5 2/6] board: ti: am62x: am62x: include env for DFU Martyn Welch
2024-05-06 14:38 ` [PATCH v5 3/6] arm: dts: k3-am625-sk: Enable usb port in u-boot Martyn Welch
2024-05-07 9:01 ` Mattijs Korpershoek
2024-05-06 14:38 ` [PATCH v5 4/6] configs: am62x_evm_*: Enable USB and DFU support Martyn Welch
2024-05-07 8:14 ` Francesco Dolcini
2024-05-07 14:33 ` Tom Rini
2024-05-07 9:05 ` Mattijs Korpershoek
2024-05-23 20:08 ` Jon Humphreys
2024-05-06 14:38 ` [PATCH v5 5/6] beagleplay: Add " Martyn Welch
2024-05-07 9:15 ` Mattijs Korpershoek
2024-05-06 14:38 ` [PATCH v5 6/6] doc: board: Add document for DFU boot on am62x SoCs Martyn Welch
2024-05-15 23:28 ` [PATCH v5 0/6] Add DFU and usb boot for TI am62x SK and beagleplay Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240506143846.1252377-1-martyn.welch@collabora.com \
--to=martyn.welch@collabora.com \
--cc=alexander.sverdlin@siemens.com \
--cc=d-gerlach@ti.com \
--cc=mkorpershoek@baylibre.com \
--cc=nm@ti.com \
--cc=robertcnelson@gmail.com \
--cc=sjoerd@collabora.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).