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

Vignesh Raghavendra
2019-12-04T16:29:27Z

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

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 | 13 +-
include/linux/bitmap.h | 133 +++++++++++
include/linux/bitops.h | 12 +
4 files changed, 403 insertions(+), 120 deletions(-)

--
2.24.0