Skip to content

dma: ti: k3-udma: Add support for J721e

Vignesh Raghavendra u-boot 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest10 patches 0 repliesNew
  2. v310 patches 0 repliesSuperseded
  3. v210 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v111 patches0 repliesSuperseded

Changes in v4 from the cover letter

Rebase onto latest master and fix a compliation error due to recent changes in master.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10lib: Import few bitmap functions from Linuxinclude/linux/bitmap.h include/linux/bitops.h+145 -00 replies
2/10dma: ti: k3-udma: Query DMA channels allocated from Resource Managerdrivers/dma/ti/k3-udma.c+214 -790 replies
3/10soc: ti: k3-navss-ringacc: Flush/invalidate caches on ring push/popdrivers/soc/ti/k3-navss-ringacc.c+11 -00 replies
4/10soc: ti: k3-navss-ringacc: Get SYSFW reference from DT phandledrivers/soc/ti/k3-navss-ringacc.c+2 -10 replies
5/10dma: ti: k3-udma: Remove coherency check for cache opsdrivers/dma/ti/k3-udma.c+16 -330 replies
6/10dma: ti: k3-udma: Fix debug prints during enabling MEM_TO_DEV transfersdrivers/dma/ti/k3-udma.c+2 -20 replies
7/10dma: ti: k3-udma: Switch to exposed ring modedrivers/dma/ti/k3-udma.c+2 -20 replies
8/10dma: ti: k3-udma: Fix ring push operation for 32 bit coresdrivers/dma/ti/k3-udma.c+11 -30 replies
9/10dma: ti: k3-udma: Fix build warnings when building for 32 bit platformsdrivers/dma/ti/k3-udma.c+8 -80 replies
10/10dma: ti: k3-udma: Add new compatible to J721edrivers/dma/ti/k3-udma.c+1 -00 replies

Reviews trailers per patch

All 10 patches have a Reviewed-by or Acked-by.

PatchGrygorii Strashko
1/10R-b
2/10R-b
3/10R-b
4/10R-b
5/10R-b
6/10R-b
7/10R-b
8/10R-b
9/10R-b
10/10R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 00/10] dma: ti: k3-udma: Add support for J721e

This series adds DMA support for J721e using exist K3 UDMA driver.

One main change is thati, on J721e, DMA resources such as DMA channels are shared between different entities running on different cores of the SoC. Therefore, U-Boot running on A72 core should request range of resources allocated to it from centralized resource management core (DMSC) and use only the allocated resource.

First two patches adds support for dynamically querying and using allocated resources. Remaining patches fix issues when using UDMA driver on a 32 bit core like R5. Last patch adds a new compatible for J721e

v4:
Rebase onto latest master and fix a compliation error due to recent changes in master.

v3:
Address comments by Grygorii and add R-by

Vignesh Raghavendra (10):
lib: Import few bitmap functions from Linux
dma: ti: k3-udma: Query DMA channels allocated from Resource Manager
soc: ti: k3-navss-ringacc: Flush/invalidate caches on ring push/pop
soc: ti: k3-navss-ringacc: Get SYSFW reference from DT phandle
dma: ti: k3-udma: Remove coherency check for cache ops
dma: ti: k3-udma: Fix debug prints during enabling MEM_TO_DEV
transfers
dma: ti: k3-udma: Switch to exposed ring mode
dma: ti: k3-udma: Fix ring push operation for 32 bit cores
dma: ti: k3-udma: Fix build warnings when building for 32 bit
platforms
dma: ti: k3-udma: Add new compatible to J721e

 drivers/dma/ti/k3-udma.c          | 365 ++++++++++++++++++++----------
 drivers/soc/ti/k3-navss-ringacc.c |  14 +-
 include/linux/bitmap.h            | 133 +++++++++++
 include/linux/bitops.h            |  12 +
 4 files changed, 404 insertions(+), 120 deletions(-)
Signature · 1 line
2.24.0