diff mbox series

dmaengine: qcom: gpi: Add support for sc7280

Message ID 20220421121733.1829350-1-vkoul@kernel.org
State Accepted
Commit c7399e6d3b18dc17974bc44e2e178664f1bd1bec
Headers show
Series dmaengine: qcom: gpi: Add support for sc7280 | expand

Commit Message

Vinod Koul April 21, 2022, 12:17 p.m. UTC
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>
---
 drivers/dma/qcom/gpi.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/drivers/dma/qcom/gpi.c b/drivers/dma/qcom/gpi.c
index bdf2013ca7ca..09916a0eb755 100644
--- a/drivers/dma/qcom/gpi.c
+++ b/drivers/dma/qcom/gpi.c
@@ -2312,6 +2312,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 },