diff options
author | Akhil R <akhilrajeev@nvidia.com> | 2022-11-10 22:47:48 +0530 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2022-11-14 04:01:12 +0530 |
commit | 3a0c95b61385f583424f44e79c15f1bdf050776d (patch) | |
tree | f6ed6e24479814b4fc626be8a5075ad5dabb6ac1 /drivers/dma/Kconfig | |
parent | d57b2a65cde743a490a848236641fe9aa5536a9b (diff) | |
download | linux-3a0c95b61385f583424f44e79c15f1bdf050776d.tar.bz2 |
dmaengine: tegra: Add support for dma-channel-mask
Add support for dma-channel-mask so that only the specified channels
are used. This helps to reserve some channels for the firmware.
This was initially achieved by limiting the channel number to 31 in
the driver and adjusting the register address to skip channel0 which
was reserved for a firmware. This is wrong and does not align with
the hardware.
Now, with this change, the driver can align more to the actual hardware
which has 32 channels. But this implies that there will be a break in the
ABI and the device tree need to be updated along with this change for the
driver to pickup the right interrupt corresponding to the channel
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Link: https://lore.kernel.org/all/Y2EFoG1H9YpfxRjs@orome/
Signed-off-by: Akhil R <akhilrajeev@nvidia.com>
Link: https://lore.kernel.org/r/20221110171748.40304-4-akhilrajeev@nvidia.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/Kconfig')
0 files changed, 0 insertions, 0 deletions