OSDN Git Service

dt-bindings: dmaengine: Add dma-channel-mask to Tegra GPCDMA
authorAkhil R <akhilrajeev@nvidia.com>
Thu, 10 Nov 2022 17:17:46 +0000 (22:47 +0530)
committerVinod Koul <vkoul@kernel.org>
Sun, 13 Nov 2022 22:31:12 +0000 (04:01 +0530)
commitd57b2a65cde743a490a848236641fe9aa5536a9b
treed099c0b9e7d5bb75dca55a541f64c6023cda1fab
parent444eef7d5695393f214d83180f3e4bb99621cd07
dt-bindings: dmaengine: Add dma-channel-mask to Tegra GPCDMA

Add dma-channel-mask property in Tegra GPCDMA document.

The property would help to specify the channels to be used in
kernel and reserve few for the firmware. This was previously
achieved by limiting the channel number to 31 in the driver.
This is wrong and does not align with the hardware. Correct
this and set the max interrupts to 32.

Signed-off-by: Akhil R <akhilrajeev@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20221110171748.40304-2-akhilrajeev@nvidia.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Documentation/devicetree/bindings/dma/nvidia,tegra186-gpc-dma.yaml