diff mbox series

[v2,1/2] DMA: qcom: gpi: add compatible for sm8150

Message ID 20210417061951.2105530-2-balbi@kernel.org
State Not Applicable, archived
Headers show
Series arm64: sm8150: Add minimal DMA support | expand

Checks

Context Check Description
robh/checkpatch warning total: 0 errors, 3 warnings, 14 lines checked
robh/dt-meta-schema success
robh/dtbs-check success

Commit Message

Felipe Balbi April 17, 2021, 6:19 a.m. UTC
From: Felipe Balbi <felipe.balbi@microsoft.com>

No functional changes, just adding a new compatible for a diferent
SoC.

Signed-off-by: Felipe Balbi <felipe.balbi@microsoft.com>
---

Changes since v1:
	- No changes

 Documentation/devicetree/bindings/dma/qcom,gpi.yaml | 1 +
 drivers/dma/qcom/gpi.c                              | 1 +
 2 files changed, 2 insertions(+)

Comments

Vinod Koul April 20, 2021, 10:08 a.m. UTC | #1
On 17-04-21, 09:19, Felipe Balbi wrote:
> From: Felipe Balbi <felipe.balbi@microsoft.com>
> 
> No functional changes, just adding a new compatible for a diferent
> SoC.

Applied after fixing subsystem name, thanks
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/dma/qcom,gpi.yaml b/Documentation/devicetree/bindings/dma/qcom,gpi.yaml
index f8142adf9aea..902e2e523386 100644
--- a/Documentation/devicetree/bindings/dma/qcom,gpi.yaml
+++ b/Documentation/devicetree/bindings/dma/qcom,gpi.yaml
@@ -20,6 +20,7 @@  properties:
   compatible:
     enum:
       - qcom,sdm845-gpi-dma
+      - qcom,sm8150-gpi-dma
 
   reg:
     maxItems: 1
diff --git a/drivers/dma/qcom/gpi.c b/drivers/dma/qcom/gpi.c
index 57f5ee4235c7..43ac3ab23d4c 100644
--- a/drivers/dma/qcom/gpi.c
+++ b/drivers/dma/qcom/gpi.c
@@ -2281,6 +2281,7 @@  static int gpi_probe(struct platform_device *pdev)
 
 static const struct of_device_id gpi_of_match[] = {
 	{ .compatible = "qcom,sdm845-gpi-dma" },
+	{ .compatible = "qcom,sm8150-gpi-dma" },
 	{ },
 };
 MODULE_DEVICE_TABLE(of, gpi_of_match);