SDM670 GPI DMA support
Subsystems (3)
cover SDM670 GPI DMA support
This patch series adds the compatible string for GPI DMA, needed for the GENI interface, on Snapdragon 670.
Documentation/devicetree/bindings/dma/qcom,gpi.yaml | 1 + drivers/dma/qcom/gpi.c | 1 + 2 files changed, 2 insertions(+)
PATCH 1/2 dt-bindings: dma: qcom: gpi: add compatible for sdm670
The Snapdragon 670 uses GPI DMA for its GENI interface. Add a compatible string for it in the documentation.
--- Documentation/devicetree/bindings/dma/qcom,gpi.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/dma/qcom,gpi.yaml +1 -0
@@ -20,6 +20,7 @@ properties: compatible: enum: - qcom,sc7280-gpi-dma + - qcom,sdm670-gpi-dma - qcom,sdm845-gpi-dma - qcom,sm6350-gpi-dma - qcom,sm8150-gpi-dma
Signature · 1 line
2.37.3
Re: [PATCH 1/2] dt-bindings: dma: qcom: gpi: add compatible for sdm670
Quoted 13 lines · Richard Acayan
The Snapdragon 670 uses GPI DMA for its GENI interface. Add a compatible string for it in the documentation.
Signed-off-by Richard Acayan <[email protected]>--- Documentation/devicetree/bindings/dma/qcom,gpi.yaml | 1 + 1 file changed, 1 insertion(+)Documentation/devicetree/bindings/dma/qcom,gpi.yaml +0
-0
Documentation/devicetree/bindings/dma/qcom,gpi.yaml properties: · line 24
Quoted 5 lines
Documentation/devicetree/bindings/dma/qcom,gpi.yaml +1
-0@@ -20,6 +20,7 @@ properties: compatible: enum: - qcom,sc7280-gpi-dma + - qcom,sdm670-gpi-dma - qcom,sdm845-gpi-dma
SDM670, SDM854, SM8150 have all the same xPU3 block. They are compatible. Are we sure we want to keep growing the list in the driver?
Best regards,
Krzysztof
PATCH 2/2 dmaengine: qcom: gpi: add sdm670 support
In reply to Richard AcayanThe Snapdragon 670 uses GPI DMA for its GENI interface. Add support for it.
--- drivers/dma/qcom/gpi.c | 1 + 1 file changed, 1 insertion(+)
drivers/dma/qcom/gpi.c +1 -0
@@ -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 },
Signature · 1 line
2.37.3
Re: [PATCH 2/2] dmaengine: qcom: gpi: add sdm670 support
Quoted 13 lines · Richard Acayan
The Snapdragon 670 uses GPI DMA for its GENI interface. Add support for it.
Signed-off-by Richard Acayan <[email protected]>--- drivers/dma/qcom/gpi.c | 1 + 1 file changed, 1 insertion(+)drivers/dma/qcom/gpi.c +0
-0
drivers/dma/qcom/gpi.c static int gpi_probe(struct platform_device *pdev) · line 2293
Quoted 7 lines
drivers/dma/qcom/gpi.c +1
-0@@ -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