Skip to content

Add USB support for TI AM62 SK EVM#104675

Draft
natto1784 wants to merge 5 commits intozephyrproject-rtos:mainfrom
natto1784:usb
Draft

Add USB support for TI AM62 SK EVM#104675
natto1784 wants to merge 5 commits intozephyrproject-rtos:mainfrom
natto1784:usb

Conversation

@natto1784
Copy link
Copy Markdown
Contributor

@natto1784 natto1784 commented Feb 27, 2026

Dependencies

This patchset currently has a bunch of dependencies, all of which are marked with [PENDING] tag and will be eventually removed. These dependencies are as follows:

Control module changes

PR: #103330

  • a4183c9 [PENDING] dts: bindings: syscon: introduce ti,control-module
  • a26e56d [PENDING] soc: ti/k3: am6x: use ti,control-module for partition unlocking
  • ba1cfb8 [PENDING] soc: ti/k3: am6x: add early init hook for a53 cores
  • b33774c [PENDING] dts: ti: am62x_{a53/m4}.dtsi: wrap pinctrl with ti,control-module

Secure proxy bugfixes

PR: #100642

  • ecbab23 [PENDING] mbox: mbox_ti_secproxy: Make verify thread function non-blocking
  • 148377d [PENDING] mbox: mbox_ti_secproxy: Forward error codes in send path
  • 2493956 [PENDING] mbox: mbox_ti_secproxy: Remove redundant error checks
  • a95351d [PENDING] mbox: mbox_ti_secproxy: Add interrupt-names to DT binding
  • 9db99b3 [PENDING] mbox: mbox_ti_secproxy: Split AM64x R5F interrupts to per-core DT files
  • 51cd899 [PENDING] mbox: mbox_ti_secproxy: Implement per-channel interrupt handling
  • e5a4f1c [PENDING] mbox: mbox_ti_secproxy: Flush rx thread on channel enable

TISCI typo fix

PR: #104670

  • c425a20 [PENDING] clock_control: tisci: fix macro argument

TISCI priority changes

PR: #104673

  • b4a3a92 [PENDING] mbox: ti_secproxy: change initialization priority
  • e45b428 [PENDING] firmware: tisci: change initialization priority
  • c791c7f [PENDING] clock_control: tisci: change initialization priority

Synopsys DWC3 driver

PR: #84544

  • 4a5990c [PENIDNG] drivers: usb: udc: dwc3: initial implementation

Fresh patches in this PR

f5df4eb sk_am62: am6254: a53: enable TISCI and Secure Proxy
dba3631 udc: dwc3: map MMIO region for base address (now part of #84544)
3dee4e6 udc: dwc3: force NOCACHE buffer for internal DMA
df4b017 udc: dwc3: fix UDC_DWC3_TRB.* macros
c0a5c64 udc: dwc3: fix IRQ handling (now part of #84544)
0778871 udc: dwc3: free EP0 buffer in disable()
bb75419 udc: dwc3: reset the event buffer pointer
13fa532 udc: dwc3_ti_am62: add quirks for TI AM62 DWC3 controller
6b37a72 sk_am62: am6254: a53: enable usb0 support

Note: The patchset will remain in draft stage until dependencies are merged:

josuah and others added 3 commits April 9, 2026 14:46
Add support for Synopsys DWC3 core, with only BULK endpoints supported at
the moment, as well as an initial vendor quirks system.

Signed-off-by: Josuah Demangeon <me@josuah.net>
The udc_dwc3_enable() APIs allocates a buffer EP0. This causes an assertion
fail when in a disable() -> enable() cycle. Hence, free this buffer when
udc_dwc3_disable() is called.

Signed-off-by: Amneesh Singh <amneesh@ti.com>
Reset the event buffer pointer to 0 in the enable() API. This resets the
pointer in case of a disable() -> enable() cycle.

Signed-off-by: Amneesh Singh <amneesh@ti.com>
Add TI vendor specific controller configurations, that are configured as
part of the quirk subsystem of the Synopsys DWC3 controller. This involves
two separate vendor regions "usbss" (USB subsystem) and "phy" (PHY
configuration).

Signed-off-by: Amneesh Singh <amneesh@ti.com>
Add node for the UDC device present on the board. This uses the Synopsys
DWC3 controller with a TI specific wrapper for vendor specific
configuration. This additionally requires some syscon configuration in the
wakeup MMR region - hence, add that node as well.

Signed-off-by: Amneesh Singh <amneesh@ti.com>
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Apr 9, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants