Thread (7 messages) 7 messages, 3 authors, 2022-09-14

[PATCH 0/3] Tegra GCPDMA: Add dma-channel-mask support

From: Akhil R <akhilrajeev@nvidia.com>
Date: 2022-09-13 17:04:21
Also in: linux-tegra, lkml

Read dma-channel-mask from device tree and register only the
specified channels. This is useful to reserve some channels for the
firmware.

Also update the channel number and interrupts to include all 32
channels. The current driver was using only 31 channels as one
channel was reserved for firmware. Now with this change, the driver
can align more to the actual hardware.

Akhil R (3):
  dt-bindings: dmaengine: Add dma-channel-mask to Tegra GPCDMA
  arm64: tegra: Add dma-channel-mask in GPCDMA node
  dmaengine: tegra: Add support for dma-channel-mask

 .../bindings/dma/nvidia,tegra186-gpc-dma.yaml |  7 +++-
 arch/arm64/boot/dts/nvidia/tegra186.dtsi      |  4 ++-
 arch/arm64/boot/dts/nvidia/tegra194.dtsi      |  4 ++-
 arch/arm64/boot/dts/nvidia/tegra234.dtsi      |  4 ++-
 drivers/dma/tegra186-gpc-dma.c                | 35 +++++++++++++++----
 5 files changed, 44 insertions(+), 10 deletions(-)

-- 
2.17.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help