Message ID | 20220923015426.38119-3-mailingradian@gmail.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | SDM670 GPI DMA support | expand |
On 23/09/2022 03:54, Richard Acayan wrote: > The Snapdragon 670 uses GPI DMA for its GENI interface. Add support for > it. > > Signed-off-by: Richard Acayan <mailingradian@gmail.com> > --- > 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 89839864b4ec..9634be23e46b 100644 > --- a/drivers/dma/qcom/gpi.c > +++ b/drivers/dma/qcom/gpi.c > @@ -2287,6 +2287,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,sdm670-gpi-dma", .data = (void *)0x0 }, > { .compatible = "qcom,sdm845-gpi-dma", .data = (void *)0x0 }, > { .compatible = "qcom,sm6350-gpi-dma", .data = (void *)0x10000 }, > { .compatible = "qcom,sm8150-gpi-dma", .data = (void *)0x0 }, I vote for just one entry with 0x0 offset... Best regards, Krzysztof
diff --git a/drivers/dma/qcom/gpi.c b/drivers/dma/qcom/gpi.c index 89839864b4ec..9634be23e46b 100644 --- a/drivers/dma/qcom/gpi.c +++ b/drivers/dma/qcom/gpi.c @@ -2287,6 +2287,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,sdm670-gpi-dma", .data = (void *)0x0 }, { .compatible = "qcom,sdm845-gpi-dma", .data = (void *)0x0 }, { .compatible = "qcom,sm6350-gpi-dma", .data = (void *)0x10000 }, { .compatible = "qcom,sm8150-gpi-dma", .data = (void *)0x0 },
The Snapdragon 670 uses GPI DMA for its GENI interface. Add support for it. Signed-off-by: Richard Acayan <mailingradian@gmail.com> --- drivers/dma/qcom/gpi.c | 1 + 1 file changed, 1 insertion(+)