mbox series

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

Message ID 20191209045540.10702-1-vigneshr@ti.com
Headers show
Series dma: ti: k3-udma: Add support for J721e | expand

Message

Raghavendra, Vignesh Dec. 9, 2019, 4:55 a.m. UTC
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(-)

Comments

Lokesh Vutla Jan. 20, 2020, 5:58 a.m. UTC | #1
On 09/12/19 10:25 AM, Vignesh Raghavendra wrote:
> 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

Merged into u-boot-ti.

Thanks and regards,
Lokesh

> 
> 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(-)
>