Skip to contentSkip to conversation

Add dma gpi support for QDU1000/QRU1000 SoCs

PATCH In review Melody Olvera 3 participants 8 messages Oct 1, 2022 – Oct 4, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

cover Add dma gpi support for QDU1000/QRU1000 SoCs

This series adds the dt bindings and driver support for dma gpi driver on the QDU1000 and QRU1000 SoCs.

The Qualcomm Technologies, Inc. Distributed Unit 1000 and Radio Unit 1000 are new SoCs meant for enabling Open RAN solutions. See more at
https://www.qualcomm.com/content/dam/qcomm-martech/dm-assets/documents/qualcomm_5g_ran_platforms_product_brief.pdf

Melody Olvera (2):
dt-bindings: dmaengine: qcom: gpi: Add compatible for QDU1000 and

    QRU1000

dmaengine: qcom: gpi: Add compatible for QDU1000 and QRU1000

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

base-commit: 987a926c1d8a40e4256953b04771fbdb63bc7938

Signature · 1 line
2.37.3
#1 lore raw

PATCH 1/2 dt-bindings: dmaengine: qcom: gpi: Add compatible for QDU1000 and QRU1000

Add compatible documentation for Qualcomm QDU1000 and QRU1000 SoCs.

---
 Documentation/devicetree/bindings/dma/qcom,gpi.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/dma/qcom,gpi.yaml +2 -0
index 7d2fc4eb5530..e37cee079c78 100644
@@ -25,6 +25,8 @@ properties:
       - qcom,sm8250-gpi-dma
       - qcom,sm8350-gpi-dma
       - qcom,sm8450-gpi-dma
+      - qcom,qdu1000-gpi-dma
+      - qcom,qru1000-gpi-dma
 
   reg:
     maxItems: 1
Signature · 1 line
2.37.3
#2 lore raw

Re: [PATCH 1/2] dt-bindings: dmaengine: qcom: gpi: Add compatible for QDU1000 and QRU1000

Quoted 13 lines · Melody Olvera

Add compatible documentation for Qualcomm QDU1000 and QRU1000 SoCs.

---
 Documentation/devicetree/bindings/dma/qcom,gpi.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/dma/qcom,gpi.yaml +0 -0
index 7d2fc4eb5530..e37cee079c78 100644

Documentation/devicetree/bindings/dma/qcom,gpi.yaml properties: · line 29

Quoted 5 lines
Documentation/devicetree/bindings/dma/qcom,gpi.yaml +2 -0
@@ -25,6 +25,8 @@ properties:
       - qcom,sm8250-gpi-dma
       - qcom,sm8350-gpi-dma
       - qcom,sm8450-gpi-dma
+      - qcom,qdu1000-gpi-dma
+      - qcom,qru1000-gpi-dma

You know my comment, qdu/qru comes before sm/sc

Quoted 6 lines
Documentation/devicetree/bindings/dma/qcom,gpi.yaml +0 -1
   reg:
     maxItems: 1
--

2.37.3

Signature · 2 lines
With best wishes
Dmitry
#3 lore raw

Re: [PATCH 1/2] dt-bindings: dmaengine: qcom: gpi: Add compatible for QDU1000 and QRU1000

Quoted 8 lines · Dmitry Baryshkov
Quoted 7 lines · Melody Olvera

Add compatible documentation for Qualcomm QDU1000 and QRU1000 SoCs.

---
 Documentation/devicetree/bindings/dma/qcom,gpi.yaml | 2 ++
 1 file changed, 2 insertions(+)
Quoted 11 lines

Documentation/devicetree/bindings/dma/qcom,gpi.yaml properties: · line 29

Quoted 10 lines
Documentation/devicetree/bindings/dma/qcom,gpi.yaml +2 -0
index 7d2fc4eb5530..e37cee079c78 100644
@@ -25,6 +25,8 @@ properties:
       - qcom,sm8250-gpi-dma
       - qcom,sm8350-gpi-dma
       - qcom,sm8450-gpi-dma
+      - qcom,qdu1000-gpi-dma
+      - qcom,qru1000-gpi-dma

You know my comment, qdu/qru comes before sm/sc

Got it.

Quoted 5 lines
Quoted 5 lines
Documentation/devicetree/bindings/dma/qcom,gpi.yaml +0 -1
   reg:
     maxItems: 1
--

2.37.3

Thanks,
Melody

#4 lore raw

PATCH 2/2 dmaengine: qcom: gpi: Add compatible for QDU1000 and QRU1000

In reply to Melody Olvera

Add compatible fields for the Qualcomm QDU1000 and QRU1000 SoCs.

---
 drivers/dma/qcom/gpi.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/dma/qcom/gpi.c +2 -0
index 8f0c9c4e2efd..94f92317979c 100644
@@ -2292,6 +2292,8 @@ static const struct of_device_id gpi_of_match[] = {
 	{ .compatible = "qcom,sm8250-gpi-dma", .data = (void *)0x0 },
 	{ .compatible = "qcom,sm8350-gpi-dma", .data = (void *)0x10000 },
 	{ .compatible = "qcom,sm8450-gpi-dma", .data = (void *)0x10000 },
+	{ .compatible = "qcom,qdu1000-gpi-dma", .data = (void *)0x10000 },
+	{ .compatible = "qcom,qru1000-gpi-dma", .data = (void *)0x10000 },
 	{ },
 };
 MODULE_DEVICE_TABLE(of, gpi_of_match);
Signature · 1 line
2.37.3
#5 lore raw

Re: [PATCH 2/2] dmaengine: qcom: gpi: Add compatible for QDU1000 and QRU1000

Quoted 13 lines · Melody Olvera

Add compatible fields for the Qualcomm QDU1000 and QRU1000 SoCs.

---
 drivers/dma/qcom/gpi.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/dma/qcom/gpi.c +0 -0
index 8f0c9c4e2efd..94f92317979c 100644

drivers/dma/qcom/gpi.c static const struct of_device_id gpi_of_match[] = { · line 2296

Quoted 5 lines
drivers/dma/qcom/gpi.c +2 -0
@@ -2292,6 +2292,8 @@ static const struct of_device_id gpi_of_match[] = {
        { .compatible = "qcom,sm8250-gpi-dma", .data = (void *)0x0 },
        { .compatible = "qcom,sm8350-gpi-dma", .data = (void *)0x10000 },
        { .compatible = "qcom,sm8450-gpi-dma", .data = (void *)0x10000 },
+       { .compatible = "qcom,qdu1000-gpi-dma", .data = (void *)0x10000 },
+       { .compatible = "qcom,qru1000-gpi-dma", .data = (void *)0x10000 },

As usual

Quoted 6 lines
drivers/dma/qcom/gpi.c +0 -1
        { },
 };
 MODULE_DEVICE_TABLE(of, gpi_of_match);
--

2.37.3

Signature · 2 lines
With best wishes
Dmitry
#6 lore raw

Re: [PATCH 2/2] dmaengine: qcom: gpi: Add compatible for QDU1000 and QRU1000

Quoted 9 lines · Dmitry Baryshkov
Quoted 8 lines · Melody Olvera

Add compatible fields for the Qualcomm QDU1000 and QRU1000 SoCs.

---
 drivers/dma/qcom/gpi.c | 2 ++
 1 file changed, 2 insertions(+)
Quoted 12 lines

drivers/dma/qcom/gpi.c static const struct of_device_id gpi_of_match[] = { · line 2296

Quoted 10 lines
drivers/dma/qcom/gpi.c +2 -0
index 8f0c9c4e2efd..94f92317979c 100644
@@ -2292,6 +2292,8 @@ static const struct of_device_id gpi_of_match[] = {
        { .compatible = "qcom,sm8250-gpi-dma", .data = (void *)0x0 },
        { .compatible = "qcom,sm8350-gpi-dma", .data = (void *)0x10000 },
        { .compatible = "qcom,sm8450-gpi-dma", .data = (void *)0x10000 },
+       { .compatible = "qcom,qdu1000-gpi-dma", .data = (void *)0x10000 },
+       { .compatible = "qcom,qru1000-gpi-dma", .data = (void *)0x10000 },

As usual

I would say - drop entire patch and rebase patchset on:

https://patchwork.kernel.org/project/linux-arm-msm/list/?series=680815&state=*

Best regards,
Krzysztof

#7 lore raw

Re: [PATCH 2/2] dmaengine: qcom: gpi: Add compatible for QDU1000 and QRU1000

Quoted 9 lines · Krzysztof Kozlowski
Quoted 8 lines · Dmitry Baryshkov
Quoted 7 lines · Melody Olvera

Add compatible fields for the Qualcomm QDU1000 and QRU1000 SoCs.

---
 drivers/dma/qcom/gpi.c | 2 ++
 1 file changed, 2 insertions(+)
Quoted 11 lines
Quoted 11 lines

drivers/dma/qcom/gpi.c static const struct of_device_id gpi_of_match[] = { · line 2296

Quoted 10 lines
drivers/dma/qcom/gpi.c +2 -0
index 8f0c9c4e2efd..94f92317979c 100644
@@ -2292,6 +2292,8 @@ static const struct of_device_id gpi_of_match[] = {
        { .compatible = "qcom,sm8250-gpi-dma", .data = (void *)0x0 },
        { .compatible = "qcom,sm8350-gpi-dma", .data = (void *)0x10000 },
        { .compatible = "qcom,sm8450-gpi-dma", .data = (void *)0x10000 },
+       { .compatible = "qcom,qdu1000-gpi-dma", .data = (void *)0x10000 },
+       { .compatible = "qcom,qru1000-gpi-dma", .data = (void *)0x10000 },

As usual

Will address ordering.

Quoted 3 lines

I would say - drop entire patch and rebase patchset on:

https://patchwork.kernel.org/project/linux-arm-msm/list/?series=680815&state=*

Sure thing; will rebase.

Quoted 3 lines

Best regards,
Krzysztof

Thanks,
Melody