dmaengine: owl: Add compatible for the Actions Semi S500 DMA controller
authorCristian Ciocaltea <cristian.ciocaltea@gmail.com>
Tue, 29 Dec 2020 21:17:20 +0000 (23:17 +0200)
committerVinod Koul <vkoul@kernel.org>
Fri, 8 Jan 2021 08:27:19 +0000 (13:57 +0530)
The DMA controller present on the Actions Semi S500 SoC is compatible
with the S900 variant, so add it to the list of devices supported by
the Actions Semi Owl DMA driver. Additionally, order the entries
alphabetically.

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@gmail.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/88dc9dc064fd4c71f7ad46f172b05b09b9777e42.1609263738.git.cristian.ciocaltea@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/owl-dma.c

index 9fede32641e9e3d29ce9c0193c01ae993cdbeaf8..25cbd363e5137e9defb2863a1a2729d5c17c2dde 100644 (file)
@@ -1080,8 +1080,9 @@ static struct dma_chan *owl_dma_of_xlate(struct of_phandle_args *dma_spec,
 }
 
 static const struct of_device_id owl_dma_match[] = {
-       { .compatible = "actions,s900-dma", .data = (void *)S900_DMA,},
+       { .compatible = "actions,s500-dma", .data = (void *)S900_DMA,},
        { .compatible = "actions,s700-dma", .data = (void *)S700_DMA,},
+       { .compatible = "actions,s900-dma", .data = (void *)S900_DMA,},
        { /* sentinel */ },
 };
 MODULE_DEVICE_TABLE(of, owl_dma_match);