2022-02-09 09:27:05

by Akhil R

[permalink] [raw]
Subject: [PATCH v19 0/4] Add NVIDIA Tegra GPC-DMA driver

Add support for NVIDIA Tegra general purpose DMA driver for
Tegra186 and Tegra194 platform.

v18 -> v19:
* Use function pointer to call pause/stop_client() in terminate_all()
* Remove unused arg in program_sid()

v18 - https://lkml.org/lkml/2022/2/4/379

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 | 1505 ++++++++++++++++++++
7 files changed, 1713 insertions(+)
create mode 100644 Documentation/devicetree/bindings/dma/nvidia,tegra186-gpc-dma.yaml
create mode 100644 drivers/dma/tegra186-gpc-dma.c

--
2.7.4



2022-02-09 10:08:49

by Akhil R

[permalink] [raw]
Subject: [PATCH v19 3/4] arm64: defconfig: tegra: Enable GPCDMA

Enable TEGRA_GPC_DMA in defconfig for Tegra186 and Tegra196 gpc
dma controller driver

Signed-off-by: Rajesh Gumasta <[email protected]>
Signed-off-by: Akhil R <[email protected]>
Reviewed-by: Jon Hunter <[email protected]>
---
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index ee4bd77..96a796d 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -956,6 +956,7 @@ CONFIG_MV_XOR=y
CONFIG_MV_XOR_V2=y
CONFIG_OWL_DMA=y
CONFIG_PL330_DMA=y
+CONFIG_TEGRA186_GPC_DMA=m
CONFIG_TEGRA20_APB_DMA=y
CONFIG_TEGRA210_ADMA=m
CONFIG_QCOM_BAM_DMA=y
--
2.7.4


2022-02-18 05:41:06

by Akhil R

[permalink] [raw]
Subject: RE: [PATCH v19 0/4] Add NVIDIA Tegra GPC-DMA driver

> Add support for NVIDIA Tegra general purpose DMA driver for
> Tegra186 and Tegra194 platform.
>
> v18 -> v19:
> * Use function pointer to call pause/stop_client() in terminate_all()
> * Remove unused arg in program_sid()
>
> v18 - https://lkml.org/lkml/2022/2/4/379
>
> 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 | 1505 ++++++++++++++++++++
> 7 files changed, 1713 insertions(+)
> create mode 100644
> Documentation/devicetree/bindings/dma/nvidia,tegra186-gpc-dma.yaml
> create mode 100644 drivers/dma/tegra186-gpc-dma.c

Please help to apply the patchset if there are no further concerns or suggestions.

Thanks,
Akhil