diff mbox series

dmaengine: qcom: gpi: Add SM8350 support

Message ID 20220412212959.2385085-1-bjorn.andersson@linaro.org (mailing list archive)
State Accepted
Commit d0a3ef604801e8e8564d15bdeb29497607a0d65a
Headers show
Series dmaengine: qcom: gpi: Add SM8350 support | expand

Commit Message

Bjorn Andersson April 12, 2022, 9:29 p.m. UTC
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@linaro.org>
---

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

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

Comments

Vinod Koul April 13, 2022, 12:25 p.m. UTC | #1
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
diff mbox series

Patch

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 },
 	{ },
 };