dmaengine.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: dma: Make minor fixes to qcom,bam-dma binding doc
@ 2022-09-18  8:11 Bhupesh Sharma
  2022-09-18  8:49 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 4+ messages in thread
From: Bhupesh Sharma @ 2022-09-18  8:11 UTC (permalink / raw)
  To: devicetree
  Cc: linux-arm-msm, bhupesh.sharma, bhupesh.linux, linux-kernel,
	vkoul, agross, dmaengine, konrad.dybcio, robh+dt, andersson,
	krzysztof.kozlowski

As a user recently noted, the qcom,bam-dma binding document
describes the BAM DMA node incorrectly. Fix the same by making
it consistent with the node present inside 'qcom-msm8974' dts
file.

While at it also make two minor cleanups:
 - mention Bjorn's new email ID in the document, and
 - add SDM845 in the comment line for the SoCs on which
   qcom,bam-v1.7.0 version is supported.

Fixes: 4f46cc1b88b3 ("dt-bindings: dma: Convert Qualcomm BAM DMA binding to json format")
Cc: konrad.dybcio@somainline.org
Cc: robh+dt@kernel.org
Cc: andersson@kernel.org
Cc: krzysztof.kozlowski@linaro.org
Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org>
---
 Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml b/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml
index 9bf3a1b164f1..003098caf709 100644
--- a/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml
+++ b/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml
@@ -8,7 +8,7 @@ title: Qualcomm Technologies Inc BAM DMA controller
 
 maintainers:
   - Andy Gross <agross@kernel.org>
-  - Bjorn Andersson <bjorn.andersson@linaro.org>
+  - Bjorn Andersson <andersson@kernel.org>
 
 allOf:
   - $ref: "dma-controller.yaml#"
@@ -20,7 +20,7 @@ properties:
       - qcom,bam-v1.3.0
         # MSM8974, APQ8074 and APQ8084
       - qcom,bam-v1.4.0
-        # MSM8916
+        # MSM8916 and SDM845
       - qcom,bam-v1.7.0
 
   clocks:
@@ -90,8 +90,8 @@ examples:
 
     dma-controller@f9944000 {
         compatible = "qcom,bam-v1.4.0";
-        reg = <0xf9944000 0x15000>;
-        interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
+        reg = <0xf9944000 0x19000>;
+        interrupts = <GIC_SPI 239 IRQ_TYPE_LEVEL_HIGH>;
         clocks = <&gcc GCC_BLSP2_AHB_CLK>;
         clock-names = "bam_clk";
         #dma-cells = <1>;
-- 
2.37.1


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

* Re: [PATCH] dt-bindings: dma: Make minor fixes to qcom,bam-dma binding doc
  2022-09-18  8:11 [PATCH] dt-bindings: dma: Make minor fixes to qcom,bam-dma binding doc Bhupesh Sharma
@ 2022-09-18  8:49 ` Krzysztof Kozlowski
  2022-09-25 19:55   ` Bhupesh Sharma
  0 siblings, 1 reply; 4+ messages in thread
From: Krzysztof Kozlowski @ 2022-09-18  8:49 UTC (permalink / raw)
  To: Bhupesh Sharma, devicetree
  Cc: linux-arm-msm, bhupesh.linux, linux-kernel, vkoul, agross,
	dmaengine, konrad.dybcio, robh+dt, andersson

On 18/09/2022 09:11, Bhupesh Sharma wrote:
> As a user recently noted, the qcom,bam-dma binding document
> describes the BAM DMA node incorrectly. 

It's a bit confusing - what is exactly incorrectly described by binding?
You did not make any changes to the binding itself...


Best regards,
Krzysztof

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

* Re: [PATCH] dt-bindings: dma: Make minor fixes to qcom,bam-dma binding doc
  2022-09-18  8:49 ` Krzysztof Kozlowski
@ 2022-09-25 19:55   ` Bhupesh Sharma
  2022-09-26  8:48     ` Krzysztof Kozlowski
  0 siblings, 1 reply; 4+ messages in thread
From: Bhupesh Sharma @ 2022-09-25 19:55 UTC (permalink / raw)
  To: Krzysztof Kozlowski, devicetree
  Cc: linux-arm-msm, bhupesh.linux, linux-kernel, vkoul, agross,
	dmaengine, konrad.dybcio, robh+dt, andersson


On 9/18/22 2:19 PM, Krzysztof Kozlowski wrote:
> On 18/09/2022 09:11, Bhupesh Sharma wrote:
>> As a user recently noted, the qcom,bam-dma binding document
>> describes the BAM DMA node incorrectly.
> 
> It's a bit confusing - what is exactly incorrectly described by binding?
> You did not make any changes to the binding itself...

Sorry for the late reply. Your comment just skipped through my mail 
filters :(

I understand your point. I should have made the commit message more 
descriptive (infact now I look at it, I see some key words are actually 
missing from the commit message).

The commit message should infact read as:

"As a user recently noted, the qcom,bam-dma binding document
describes the BAM DMA node *in the example section* incorrectly. Fix the 
same by making it consistent with the node present inside 'qcom-msm8974' 
dts file, *namely the 'reg' and 'interrupt' values which are incorrect. 
While looking at the example in the binding document, the user noted 
that its incorrect when compared with both the 'msm8974' upstream as 
well as downstream dts files.*

I hope the bold text (which I added above), helps clear the purpose of 
the patch better.

Please let me know your views.

Thanks,
Bhupesh

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

* Re: [PATCH] dt-bindings: dma: Make minor fixes to qcom,bam-dma binding doc
  2022-09-25 19:55   ` Bhupesh Sharma
@ 2022-09-26  8:48     ` Krzysztof Kozlowski
  0 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2022-09-26  8:48 UTC (permalink / raw)
  To: Bhupesh Sharma, devicetree
  Cc: linux-arm-msm, bhupesh.linux, linux-kernel, vkoul, agross,
	dmaengine, konrad.dybcio, robh+dt, andersson

On 25/09/2022 21:55, Bhupesh Sharma wrote:
> 
> On 9/18/22 2:19 PM, Krzysztof Kozlowski wrote:
>> On 18/09/2022 09:11, Bhupesh Sharma wrote:
>>> As a user recently noted, the qcom,bam-dma binding document
>>> describes the BAM DMA node incorrectly.
>>
>> It's a bit confusing - what is exactly incorrectly described by binding?
>> You did not make any changes to the binding itself...
> 
> Sorry for the late reply. Your comment just skipped through my mail 
> filters :(
> 
> I understand your point. I should have made the commit message more 
> descriptive (infact now I look at it, I see some key words are actually 
> missing from the commit message).
> 
> The commit message should infact read as:
> 
> "As a user recently noted, the qcom,bam-dma binding document
> describes the BAM DMA node *in the example section* incorrectly. Fix the 

OK, now it makes sense :)


Best regards,
Krzysztof


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

end of thread, other threads:[~2022-09-26  8:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-18  8:11 [PATCH] dt-bindings: dma: Make minor fixes to qcom,bam-dma binding doc Bhupesh Sharma
2022-09-18  8:49 ` Krzysztof Kozlowski
2022-09-25 19:55   ` Bhupesh Sharma
2022-09-26  8:48     ` Krzysztof Kozlowski

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).