Message ID | 20220812082721.1125759-3-luca.weiss@fairphone.com |
---|---|
State | Accepted |
Commit | 5abef9d713629d7201b1a3dd1fe6a8baa869da68 |
Headers | show |
Series | Add GPI DMA support for SM6350 | expand |
On Fri, Aug 12, 2022 at 10:27:20AM +0200, Luca Weiss wrote: > The Qualcomm SM6350 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: Luca Weiss <luca.weiss@fairphone.com> Reviewed-by: Bjorn Andersson <andersson@kernel.org> > --- > 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 8f0c9c4e2efd..89839864b4ec 100644 > --- a/drivers/dma/qcom/gpi.c > +++ b/drivers/dma/qcom/gpi.c > @@ -2288,6 +2288,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,sm6350-gpi-dma", .data = (void *)0x10000 }, > { .compatible = "qcom,sm8150-gpi-dma", .data = (void *)0x0 }, > { .compatible = "qcom,sm8250-gpi-dma", .data = (void *)0x0 }, > { .compatible = "qcom,sm8350-gpi-dma", .data = (void *)0x10000 }, > -- > 2.37.1 >
diff --git a/drivers/dma/qcom/gpi.c b/drivers/dma/qcom/gpi.c index 8f0c9c4e2efd..89839864b4ec 100644 --- a/drivers/dma/qcom/gpi.c +++ b/drivers/dma/qcom/gpi.c @@ -2288,6 +2288,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,sm6350-gpi-dma", .data = (void *)0x10000 }, { .compatible = "qcom,sm8150-gpi-dma", .data = (void *)0x0 }, { .compatible = "qcom,sm8250-gpi-dma", .data = (void *)0x0 }, { .compatible = "qcom,sm8350-gpi-dma", .data = (void *)0x10000 },
The Qualcomm SM6350 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: Luca Weiss <luca.weiss@fairphone.com> --- drivers/dma/qcom/gpi.c | 1 + 1 file changed, 1 insertion(+)