summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorVinod Koul <vkoul@kernel.org>2022-04-21 17:47:33 +0530
committerVinod Koul <vkoul@kernel.org>2022-05-19 23:43:40 +0530
commitc7399e6d3b18dc17974bc44e2e178664f1bd1bec (patch)
tree526b61ecbe53d85c2871f3d7aafbac6e9c816d15 /drivers
parent6c3c2066d6dc317fd05893d4ce07b2f3633e3e2a (diff)
downloadlinux-stable-c7399e6d3b18dc17974bc44e2e178664f1bd1bec.tar.gz
linux-stable-c7399e6d3b18dc17974bc44e2e178664f1bd1bec.tar.bz2
linux-stable-c7399e6d3b18dc17974bc44e2e178664f1bd1bec.zip
dmaengine: qcom: gpi: Add support for sc7280
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/dma/qcom/gpi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/qcom/gpi.c b/drivers/dma/qcom/gpi.c
index d8fad6a77560..8f0c9c4e2efd 100644
--- a/drivers/dma/qcom/gpi.c
+++ b/drivers/dma/qcom/gpi.c
@@ -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 },