2022-04-13 00:31:13

by Bjorn Andersson

[permalink] [raw]
Subject: [PATCH] dmaengine: qcom: gpi: Add SM8350 support

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 <[email protected]>
---

This depends on the ee-offset series previously posted by Vinod:
https://lore.kernel.org/all/[email protected]/

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


2022-04-13 19:54:57

by Vinod Koul

[permalink] [raw]
Subject: Re: [PATCH] dmaengine: qcom: gpi: Add SM8350 support

On 12-04-22, 14:29, Bjorn Andersson wrote:
> 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.

Applied, thanks

--
~Vinod