mbox series

[v17,0/4] Add NVIDIA Tegra GPC-DMA driver

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

Message

Akhil R Jan. 29, 2022, 4:40 p.m. UTC
Add support for NVIDIA Tegra general purpose DMA driver for
Tegra186 and Tegra194 platform.

v16 -> v17:
  * Updates in terminate_all() and pause().
  * Moved DMA busy check to configure_next_sg() from issue_pending()
  * shortened variable names -
    bytes_requested -> bytes_req; bytes_transferred -> bytes_xfer
  * Correction in burst_size calculation

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      |  110 ++
 arch/arm64/boot/dts/nvidia/tegra186.dtsi           |   42 +
 arch/arm64/boot/dts/nvidia/tegra194.dtsi           |   43 +
 arch/arm64/configs/defconfig                       |    1 +
 drivers/dma/Kconfig                                |   11 +
 drivers/dma/Makefile                               |    1 +
 drivers/dma/tegra186-gpc-dma.c                     | 1488 ++++++++++++++++++++
 7 files changed, 1696 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/dma/nvidia,tegra186-gpc-dma.yaml
 create mode 100644 drivers/dma/tegra186-gpc-dma.c