[PATCH] dmaengine: qcom: gpi: Add SM8350 support

From: Bjorn Andersson
Date: Tue Apr 12 2022 - 19:33:43 EST


The Qualcomm SM8350 platform does, like the SM8450, provide a set of GPI
controllers with an ee-offset of 0x10000. Add this to the driver.

Signed-off-by: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>
---

This depends on the ee-offset series previously posted by Vinod:
https://lore.kernel.org/all/20220406132508.1029348-1-vkoul@xxxxxxxxxx/

drivers/dma/qcom/gpi.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/dma/qcom/gpi.c b/drivers/dma/qcom/gpi.c
index 0b402d923eae..d8fad6a77560 100644
--- a/drivers/dma/qcom/gpi.c
+++ b/drivers/dma/qcom/gpi.c
@@ -2289,6 +2289,7 @@ static const struct of_device_id gpi_of_match[] = {
{ .compatible = "qcom,sdm845-gpi-dma", .data = (void *)0x0 },
{ .compatible = "qcom,sm8150-gpi-dma", .data = (void *)0x0 },
{ .compatible = "qcom,sm8250-gpi-dma", .data = (void *)0x0 },
+ { .compatible = "qcom,sm8350-gpi-dma", .data = (void *)0x10000 },
{ .compatible = "qcom,sm8450-gpi-dma", .data = (void *)0x10000 },
{ },
};
--
2.35.1