dmaengine: sf-pdma: Support of_dma_controller_register()
authorShravan Chippa <shravan.chippa@microchip.com>
Fri, 8 Dec 2023 10:38:53 +0000 (16:08 +0530)
committerVinod Koul <vkoul@kernel.org>
Mon, 11 Dec 2023 11:03:22 +0000 (16:33 +0530)
commit8e578b47e6d92d5e43982ddc54045973dd4a7de5
tree96d375ff0534d06fdcdb01112083e00484b37f8d
parent4a8ececbb50f0dd9395ffc4188ae780916df4a9c
dmaengine: sf-pdma: Support of_dma_controller_register()

Update sf-pdma driver to adopt generic DMA device tree bindings.
It calls of_dma_controller_register() with of_dma_xlate_by_chan_id
to get the generic DMA device tree helper support and the DMA
clients can look up the sf-pdma controller using standard APIs.

Signed-off-by: Shravan Chippa <shravan.chippa@microchip.com>
Link: https://lore.kernel.org/r/20231208103856.3732998-2-shravan.chippa@microchip.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/sf-pdma/sf-pdma.c