Skip to content

AM13E230x I2C / SPI / DMA / Clock Control Updates#38

Merged
MihiraMadhava merged 22 commits into
TexasInstruments:am261x/releasefrom
MihiraMadhava:am13x/june_updates
Jun 25, 2026
Merged

AM13E230x I2C / SPI / DMA / Clock Control Updates#38
MihiraMadhava merged 22 commits into
TexasInstruments:am261x/releasefrom
MihiraMadhava:am13x/june_updates

Conversation

@MihiraMadhava

Copy link
Copy Markdown
Collaborator

Key Additions for TI AM13E230x Platform

  • Clock Control Driver: Clock Tree Management with PLL/OSC support
  • DMA Driver: M2M Support
  • I2C UNICOMM Driver: Complete I2C peripheral driver with FIFO management - Polling and Interrupt Mode
  • SPI UNICOMM Driver: SPI peripheral driver with loopback support - Polling Mode
  • Sample Apps: I2C/SPI loopback, DMA M2M transfer, and UART DMA tests

Shreyas-Shankar155 and others added 5 commits June 25, 2026 16:02
Add UART_DMA loopback example to test M2P/P2M on eDMA.
This uses UART3 (pins J1-3 Rx and J1-4 Tx on LP).

Signed-off-by: Shreyas Shankar <s-shankar@ti.com>
Add m2m DMA example.

Unlike the testcase dma/chan_blen_transfer, this test also uses cache APIs.

Signed-off-by: Shreyas Shankar <s-shankar@ti.com>
Add example to perform spi_transceive_cb.
This tests SPI Async Operation using McSPI and eDMA.

This example spawns multiple threads for concurrent access
of a single SPI instance.
This tests SPI driver's concurrent access arbitration capability.

Signed-off-by: Shreyas Shankar <s-shankar@ti.com>
Update pinctrl_msp driver to configure both iomux and pin function in
case of AM13E SoC Series.

Fixes: ASMZEP-94
Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
Create header with Unicomm I2C controller FIFO trigger levels that can
be set for the rxfifo-threshold and txfifo-threshold properties in
devicetree.

Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
@MihiraMadhava
MihiraMadhava requested a review from s-m33r June 25, 2026 10:39
@MihiraMadhava MihiraMadhava changed the title Am13x/june updates AM13E230x I2C / SPI / DMA / Clock Control Updates Jun 25, 2026
s-m33r added 17 commits June 25, 2026 16:26
Define compatible for TI Unicomm peripheral's I2C functionality

Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
- Define I2C_TI_UNICOMM Kconfig
- Create I2C Driver supporting both advanced and non-advanced Unicomms
- Add support for configuration of target RX and TX FIFO trigger levels
- Add support for standard, fast and fast-plus I2C bus speeds
- Add i2cc and i2ct child nodes for unicomm nodes 0 to 5
- Mark unicomm2 and 5 controllers as advanced Unicomms

Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
Test application for UNICOMM I2C native Zephyr driver.

Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
Add Kconfig option to enable DMA on TI AM13x MCUs

Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
AM13x DMA driver with memory-to-memory transfer working, dma_start
currently polling the control register.

Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>

drivers: dma: dma_ti_am13: interrupt-driven DMA transfer

Add logic for memory-to-memory DMA in interrupt-mode.

Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
Add a devicetree binding for TI AM13 DMA

Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
Add DMA0 node to AM13E230x dtsi

Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
Add SPI driver for TI UNICOMM peripheral, including CMakeLists wiring
and full driver implementation with spi_context, configure, and
transceive support.

Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
Add Kconfig entry and config options for TI UNICOMM SPI driver.

Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
Add YAML DT binding for TI UNICOMM SPI node.

Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
Add SPI peripheral nodes to am13e230x device tree.

Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
Add a test application for the spi_ti_unicomm driver to test loopback
transfer on a unicomm_spi instance.

Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
Add clock control driver for AM13E SoC, including CMakeLists wiring,
driver source, and associated header/dt-binding includes.

Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
Add Kconfig entry and defconfig for AM13E clock control driver.

Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
Add YAML DT bindings for AM13E clock, oscillator, and PLL nodes.

Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
Add oscillator, PLL, and clock nodes to AM13E DTSI.

Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
Replace hardcoded clock init in soc.c with calls to the AM13E
clock control driver. Depends on the clock driver being present.

Signed-off-by: Sameer Srivastava <s-srivastava4@ti.com>
@MihiraMadhava
MihiraMadhava merged commit aa1a9e2 into TexasInstruments:am261x/release Jun 25, 2026
4 of 6 checks passed
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.

3 participants