dmaengine: qcom: gpi: Add SM8350 support
authorBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 12 Apr 2022 21:29:59 +0000 (14:29 -0700)
committerVinod Koul <vkoul@kernel.org>
Wed, 13 Apr 2022 12:25:36 +0000 (17:55 +0530)
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>
Link: https://lore.kernel.org/r/20220412212959.2385085-1-bjorn.andersson@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/qcom/gpi.c

index 0b402d9..d8fad6a 100644 (file)
@@ -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 },
        { },
 };