dmaengine: qcom: gpi: Add support for sc7280
authorVinod Koul <vkoul@kernel.org>
Thu, 21 Apr 2022 12:17:33 +0000 (17:47 +0530)
committerVinod Koul <vkoul@kernel.org>
Thu, 19 May 2022 18:13:40 +0000 (23:43 +0530)
Add compatible and driver_data for GPI DMA engines found in Qualcomm
SC7280. The driver_data contains ee_offset of 0x10000.

Signed-off-by: Vinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20220421121733.1829350-1-vkoul@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/qcom/gpi.c

index d8fad6a775604a6f500453284eee2c890dfc3c0a..8f0c9c4e2efda0820e48db5a5c19bd8906d84f3c 100644 (file)
@@ -2286,6 +2286,7 @@ static int gpi_probe(struct platform_device *pdev)
 }
 
 static const struct of_device_id gpi_of_match[] = {
+       { .compatible = "qcom,sc7280-gpi-dma", .data = (void *)0x10000 },
        { .compatible = "qcom,sdm845-gpi-dma", .data = (void *)0x0 },
        { .compatible = "qcom,sm8150-gpi-dma", .data = (void *)0x0 },
        { .compatible = "qcom,sm8250-gpi-dma", .data = (void *)0x0 },