mbox series

[v7,0/4] Add Nvidia Tegra GPC-DMA driver

Message ID 1632383484-23487-1-git-send-email-akhilrajeev@nvidia.com (mailing list archive)
Headers show
Series Add Nvidia Tegra GPC-DMA driver | expand

Message

Akhil R Sept. 23, 2021, 7:51 a.m. UTC
Add support for Nvida Tegra general purpose DMA driver for
Tegra186 and Tegra194 platform.

Changes in patch v7:
	* changed function name / position changes for consistency.
	* moved tegra_dma_start to isr and removed to_terminate flag.
	* Updates in register reads, variables and checks based
	  on comments in v6.
	* Corrections in prints as per comments in v6
	* Updated the logic to get dma burst size
	* Handled the case where the vchan_find_desc() return NULL, but the
	  descriptor is in progress

v6 - https://lkml.org/lkml/2021/9/17/652
v2..v5 - https://lkml.org/lkml/2021/9/16/455
v1 - https://lkml.org/lkml/2020/7/20/96

Akhil R (4):
  dt-bindings: dmaengine: Add doc for tegra gpcdma
  dmaengine: tegra: Add tegra gpcdma driver
  arm64: defconfig: tegra: Enable GPCDMA
  arm64: tegra: Add GPCDMA node for tegra186 and tegra194

 .../bindings/dma/nvidia,tegra186-gpc-dma.yaml      |   98 ++
 arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi     |    4 +
 arch/arm64/boot/dts/nvidia/tegra186.dtsi           |   44 +
 arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi     |    4 +
 arch/arm64/boot/dts/nvidia/tegra194.dtsi           |   44 +
 arch/arm64/configs/defconfig                       |    1 +
 drivers/dma/Kconfig                                |   12 +
 drivers/dma/Makefile                               |    1 +
 drivers/dma/tegra186-gpc-dma.c                     | 1354 ++++++++++++++++++++
 9 files changed, 1562 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/dma/nvidia,tegra186-gpc-dma.yaml
 create mode 100644 drivers/dma/tegra186-gpc-dma.c