linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add dma gpi support for QDU1000/QRU1000 SoCs
@ 2022-10-14 22:11 Melody Olvera
  2022-10-14 22:11 ` [PATCH v2 1/2] dt-bindings: dmaengine: qcom: gpi: Add compatible for QDU1000 and QRU1000 Melody Olvera
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Melody Olvera @ 2022-10-14 22:11 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Vinod Koul, Rob Herring,
	Krzysztof Kozlowski
  Cc: linux-arm-msm, dmaengine, devicetree, linux-kernel, Melody Olvera

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

This patchset is based off of patches found at [1].

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

[1] https://lore.kernel.org/all/20220927014846.32892-1-mailingradian@gmail.com/

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: dca0a0385a4963145593ba417e1417af88a7c18d
prerequisite-patch-id: 3fbdc40584bde724063f88038e6e5178413fa9ce
prerequisite-patch-id: 7df51dc9dfa16d11f910c5142513ca7e43e5c4d4
prerequisite-patch-id: cb57181838cf718e80f2e07b290ffaf67b5acbc9
prerequisite-patch-id: efc95efd7a81f8bc65dc188f5d7c75769340dbe7
-- 
2.38.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH v2 1/2] dt-bindings: dmaengine: qcom: gpi: Add compatible for QDU1000 and QRU1000
  2022-10-14 22:11 [PATCH v2 0/2] Add dma gpi support for QDU1000/QRU1000 SoCs Melody Olvera
@ 2022-10-14 22:11 ` Melody Olvera
  2022-10-14 22:11 ` [PATCH v2 2/2] " Melody Olvera
  2022-10-14 23:56 ` [PATCH v2 0/2] Add dma gpi support for QDU1000/QRU1000 SoCs Melody Olvera
  2 siblings, 0 replies; 7+ messages in thread
From: Melody Olvera @ 2022-10-14 22:11 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Vinod Koul, Rob Herring,
	Krzysztof Kozlowski
  Cc: linux-arm-msm, dmaengine, devicetree, linux-kernel, Melody Olvera

Add compatible documentation for Qualcomm QDU1000 and QRU1000 SoCs.

Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
---
 Documentation/devicetree/bindings/dma/qcom,gpi.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/dma/qcom,gpi.yaml b/Documentation/devicetree/bindings/dma/qcom,gpi.yaml
index 750b40c32213..8c52ea5525c7 100644
--- a/Documentation/devicetree/bindings/dma/qcom,gpi.yaml
+++ b/Documentation/devicetree/bindings/dma/qcom,gpi.yaml
@@ -20,6 +20,8 @@ properties:
   compatible:
     oneOf:
       - enum:
+          - qcom,qdu1000-gpi-dma
+          - qcom,qru1000-gpi-dma
           - qcom,sc7280-gpi-dma
           - qcom,sdm845-gpi-dma
           - qcom,sm6350-gpi-dma
-- 
2.38.0


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH v2 2/2] dmaengine: qcom: gpi: Add compatible for QDU1000 and QRU1000
  2022-10-14 22:11 [PATCH v2 0/2] Add dma gpi support for QDU1000/QRU1000 SoCs Melody Olvera
  2022-10-14 22:11 ` [PATCH v2 1/2] dt-bindings: dmaengine: qcom: gpi: Add compatible for QDU1000 and QRU1000 Melody Olvera
@ 2022-10-14 22:11 ` Melody Olvera
  2022-10-15 13:42   ` Krzysztof Kozlowski
  2022-10-14 23:56 ` [PATCH v2 0/2] Add dma gpi support for QDU1000/QRU1000 SoCs Melody Olvera
  2 siblings, 1 reply; 7+ messages in thread
From: Melody Olvera @ 2022-10-14 22:11 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Vinod Koul, Rob Herring,
	Krzysztof Kozlowski
  Cc: linux-arm-msm, dmaengine, devicetree, linux-kernel, Melody Olvera

Add compatible fields for the Qualcomm QDU1000 and QRU1000 SoCs.

Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
---
 drivers/dma/qcom/gpi.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/dma/qcom/gpi.c b/drivers/dma/qcom/gpi.c
index cc938a31dc2d..02438735e92b 100644
--- a/drivers/dma/qcom/gpi.c
+++ b/drivers/dma/qcom/gpi.c
@@ -2286,6 +2286,8 @@ static int gpi_probe(struct platform_device *pdev)
 }
 
 static const struct of_device_id gpi_of_match[] = {
+	{ .compatible = "qcom,qdu1000-gpi-dma", .data = (void *)0x10000 },
+	{ .compatible = "qcom,qru1000-gpi-dma", .data = (void *)0x10000 },
 	{ .compatible = "qcom,sc7280-gpi-dma", .data = (void *)0x10000 },
 	{ .compatible = "qcom,sdm845-gpi-dma", .data = (void *)0x0 },
 	{ .compatible = "qcom,sm6350-gpi-dma", .data = (void *)0x10000 },
-- 
2.38.0


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH v2 0/2] Add dma gpi support for QDU1000/QRU1000 SoCs
  2022-10-14 22:11 [PATCH v2 0/2] Add dma gpi support for QDU1000/QRU1000 SoCs Melody Olvera
  2022-10-14 22:11 ` [PATCH v2 1/2] dt-bindings: dmaengine: qcom: gpi: Add compatible for QDU1000 and QRU1000 Melody Olvera
  2022-10-14 22:11 ` [PATCH v2 2/2] " Melody Olvera
@ 2022-10-14 23:56 ` Melody Olvera
  2 siblings, 0 replies; 7+ messages in thread
From: Melody Olvera @ 2022-10-14 23:56 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Vinod Koul, Rob Herring,
	Krzysztof Kozlowski
  Cc: linux-arm-msm, dmaengine, devicetree, linux-kernel



On 10/14/2022 3:11 PM, Melody Olvera wrote:
> This series adds the dt bindings and driver support for dma gpi driver
> on the QDU1000 and QRU1000 SoCs.
>
> This patchset is based off of patches found at [1].
>
> 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
>
> [1] https://lore.kernel.org/all/20220927014846.32892-1-mailingradian@gmail.com/
Changes from v1:
- fixed ordering
- rebased on top of [1]
>
> 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: dca0a0385a4963145593ba417e1417af88a7c18d
> prerequisite-patch-id: 3fbdc40584bde724063f88038e6e5178413fa9ce
> prerequisite-patch-id: 7df51dc9dfa16d11f910c5142513ca7e43e5c4d4
> prerequisite-patch-id: cb57181838cf718e80f2e07b290ffaf67b5acbc9
> prerequisite-patch-id: efc95efd7a81f8bc65dc188f5d7c75769340dbe7


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v2 2/2] dmaengine: qcom: gpi: Add compatible for QDU1000 and QRU1000
  2022-10-14 22:11 ` [PATCH v2 2/2] " Melody Olvera
@ 2022-10-15 13:42   ` Krzysztof Kozlowski
  2022-10-19 13:30     ` Vinod Koul
  0 siblings, 1 reply; 7+ messages in thread
From: Krzysztof Kozlowski @ 2022-10-15 13:42 UTC (permalink / raw)
  To: Melody Olvera, Andy Gross, Bjorn Andersson, Vinod Koul,
	Rob Herring, Krzysztof Kozlowski
  Cc: linux-arm-msm, dmaengine, devicetree, linux-kernel

On 14/10/2022 18:11, Melody Olvera wrote:
> Add compatible fields for the Qualcomm QDU1000 and QRU1000 SoCs.
> 
> Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
> ---
>  drivers/dma/qcom/gpi.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/dma/qcom/gpi.c b/drivers/dma/qcom/gpi.c
> index cc938a31dc2d..02438735e92b 100644
> --- a/drivers/dma/qcom/gpi.c
> +++ b/drivers/dma/qcom/gpi.c
> @@ -2286,6 +2286,8 @@ static int gpi_probe(struct platform_device *pdev)
>  }
>  
>  static const struct of_device_id gpi_of_match[] = {
> +	{ .compatible = "qcom,qdu1000-gpi-dma", .data = (void *)0x10000 },
> +	{ .compatible = "qcom,qru1000-gpi-dma", .data = (void *)0x10000 },

The feedback was: drop entire patch.

There is really no need for this pattern to keep growing.

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v2 2/2] dmaengine: qcom: gpi: Add compatible for QDU1000 and QRU1000
  2022-10-15 13:42   ` Krzysztof Kozlowski
@ 2022-10-19 13:30     ` Vinod Koul
  2022-10-19 17:08       ` Melody Olvera
  0 siblings, 1 reply; 7+ messages in thread
From: Vinod Koul @ 2022-10-19 13:30 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Melody Olvera, Andy Gross, Bjorn Andersson, Rob Herring,
	Krzysztof Kozlowski, linux-arm-msm, dmaengine, devicetree,
	linux-kernel

On 15-10-22, 09:42, Krzysztof Kozlowski wrote:
> On 14/10/2022 18:11, Melody Olvera wrote:
> > Add compatible fields for the Qualcomm QDU1000 and QRU1000 SoCs.
> > 
> > Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
> > ---
> >  drivers/dma/qcom/gpi.c | 2 ++
> >  1 file changed, 2 insertions(+)
> > 
> > diff --git a/drivers/dma/qcom/gpi.c b/drivers/dma/qcom/gpi.c
> > index cc938a31dc2d..02438735e92b 100644
> > --- a/drivers/dma/qcom/gpi.c
> > +++ b/drivers/dma/qcom/gpi.c
> > @@ -2286,6 +2286,8 @@ static int gpi_probe(struct platform_device *pdev)
> >  }
> >  
> >  static const struct of_device_id gpi_of_match[] = {
> > +	{ .compatible = "qcom,qdu1000-gpi-dma", .data = (void *)0x10000 },
> > +	{ .compatible = "qcom,qru1000-gpi-dma", .data = (void *)0x10000 },
> 
> The feedback was: drop entire patch.
> 
> There is really no need for this pattern to keep growing.

Right, I have picked the patches so you dont need to add yours to driver
file, please check dmaengine/next

-- 
~Vinod

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v2 2/2] dmaengine: qcom: gpi: Add compatible for QDU1000 and QRU1000
  2022-10-19 13:30     ` Vinod Koul
@ 2022-10-19 17:08       ` Melody Olvera
  0 siblings, 0 replies; 7+ messages in thread
From: Melody Olvera @ 2022-10-19 17:08 UTC (permalink / raw)
  To: Vinod Koul, Krzysztof Kozlowski
  Cc: Andy Gross, Bjorn Andersson, Rob Herring, Krzysztof Kozlowski,
	linux-arm-msm, dmaengine, devicetree, linux-kernel



On 10/19/2022 6:30 AM, Vinod Koul wrote:
> On 15-10-22, 09:42, Krzysztof Kozlowski wrote:
>> On 14/10/2022 18:11, Melody Olvera wrote:
>>> Add compatible fields for the Qualcomm QDU1000 and QRU1000 SoCs.
>>>
>>> Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
>>> ---
>>>  drivers/dma/qcom/gpi.c | 2 ++
>>>  1 file changed, 2 insertions(+)
>>>
>>> diff --git a/drivers/dma/qcom/gpi.c b/drivers/dma/qcom/gpi.c
>>> index cc938a31dc2d..02438735e92b 100644
>>> --- a/drivers/dma/qcom/gpi.c
>>> +++ b/drivers/dma/qcom/gpi.c
>>> @@ -2286,6 +2286,8 @@ static int gpi_probe(struct platform_device *pdev)
>>>  }
>>>  
>>>  static const struct of_device_id gpi_of_match[] = {
>>> +	{ .compatible = "qcom,qdu1000-gpi-dma", .data = (void *)0x10000 },
>>> +	{ .compatible = "qcom,qru1000-gpi-dma", .data = (void *)0x10000 },
>> The feedback was: drop entire patch.
>>
>> There is really no need for this pattern to keep growing.
> Right, I have picked the patches so you dont need to add yours to driver
> file, please check dmaengine/next
>
Yes, I think I understand now; I'll just use existing compatibles and drop this PS.

Thanks,
Melody

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-10-19 17:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-14 22:11 [PATCH v2 0/2] Add dma gpi support for QDU1000/QRU1000 SoCs Melody Olvera
2022-10-14 22:11 ` [PATCH v2 1/2] dt-bindings: dmaengine: qcom: gpi: Add compatible for QDU1000 and QRU1000 Melody Olvera
2022-10-14 22:11 ` [PATCH v2 2/2] " Melody Olvera
2022-10-15 13:42   ` Krzysztof Kozlowski
2022-10-19 13:30     ` Vinod Koul
2022-10-19 17:08       ` Melody Olvera
2022-10-14 23:56 ` [PATCH v2 0/2] Add dma gpi support for QDU1000/QRU1000 SoCs Melody Olvera

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).