Skip to contentSkip to conversation

dt-bindings: mailbox: qcom-ipcc: add missing compatible for SM8450

PATCH Superseded David Heidelberg 3 participants 6 messages Apr 25, 2022 – Apr 26, 2022

Subsystems (4)

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/2 dt-bindings: mailbox: qcom-ipcc: add missing compatible for SM8450

Adds forgotten compatible and update SPDX header.

---
 Documentation/devicetree/bindings/mailbox/qcom-ipcc.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/mailbox/qcom-ipcc.yaml +2 -1
index 866efb278813..825d29367737 100644
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
 %YAML 1.2
 ---
 $id: http://devicetree.org/schemas/mailbox/qcom-ipcc.yaml#
@@ -27,6 +27,7 @@ properties:
           - qcom,sm6350-ipcc
           - qcom,sm8250-ipcc
           - qcom,sm8350-ipcc
+          - qcom,sm8450-ipcc
           - qcom,sc7280-ipcc
       - const: qcom,ipcc
 
Signature · 1 line
2.35.1
#1 lore raw

PATCH v3 2/2 dt-bindings: mailbox: qcom-ipcc: add missing properties into example

These missing required properties are needed for
smp2p binding reference checks.

Also includes cosmetic change to the example formatting.

---
v3:
- add Krzysztof R-b

 .../devicetree/bindings/mailbox/qcom-ipcc.yaml        | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/mailbox/qcom-ipcc.yaml +8 -3
index 825d29367737..a31f1f098246 100644
@@ -76,9 +76,14 @@ examples:
 
         smp2p-modem {
                 compatible = "qcom,smp2p";
-                interrupts-extended = <&ipcc_mproc IPCC_CLIENT_MPSS
-                                IPCC_MPROC_SIGNAL_SMP2P IRQ_TYPE_EDGE_RISING>;
-                mboxes = <&ipcc_mproc IPCC_CLIENT_MPSS IPCC_MPROC_SIGNAL_SMP2P>;
+                qcom,smem = <443>, <429>;
+                interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
+                                             IPCC_MPROC_SIGNAL_SMP2P
+                                             IRQ_TYPE_EDGE_RISING>;
+                mboxes = <&ipcc IPCC_CLIENT_LPASS
+                                IPCC_MPROC_SIGNAL_SMP2P>;
 
+                qcom,local-pid = <0>;
+                qcom,remote-pid = <2>;
                 /* Other SMP2P fields */
         };
Signature · 1 line
2.35.1
#2 lore raw
In reply to David Heidelberg
Quoted 1 line · David Heidelberg

Adds forgotten compatible and update SPDX header.

You need to explain what is this "forgotten compatible". It's to vague.

The SPDX update lacks answer to "why". There is no reason to do it, so please explain why it is needed.

Best regards,
Krzysztof

#3 lore raw
Quoted 3 lines · Krzysztof Kozlowski
Quoted 1 line · David Heidelberg

Adds forgotten compatible and update SPDX header.

You need to explain what is this "forgotten compatible". It's to vague.

Forgotten by someone who implemented it in driver. Hope that clarify it for you and possibly other readers. Btw. qcom,*sm8450* compatibles are widely used and fact that make dtbs_check noticed it missing here isn't suprising..

Quoted 3 lines

The SPDX update lacks answer to "why". There is no reason to do it, so please explain why it is needed.

Please read https://spdx.org/licenses/GPL-2.0.html (red colored text).

I personally encountered situation, where usage GPL license without specific -only or -or-later caused unnecessary confusion and uncertainty.

Quoted 4 lines

Best regards,
Krzysztof

Signature · 4 lines
David Heidelberg
Consultant Software Engineer

Matrix: @okias:matrix.org
#4 lore raw
Quoted 8 lines · David Heidelberg
Quoted 3 lines · Krzysztof Kozlowski
Quoted 1 line · David Heidelberg

Adds forgotten compatible and update SPDX header.

You need to explain what is this "forgotten compatible". It's to vague.

Forgotten by someone who implemented it in driver. Hope that clarify it for you and possibly other readers. Btw. qcom,*sm8450* compatibles are widely used and fact that make dtbs_check noticed it missing here isn't suprising..

This has to be in the commit msg, that you document compatibles already being used. "forgotten" does not explain that.

Quoted 5 lines
Quoted 3 lines

The SPDX update lacks answer to "why". There is no reason to do it, so please explain why it is needed.

Please read https://spdx.org/licenses/GPL-2.0.html (red colored text).

The kernel lists it as valid SPDX and we did not deprecate it. For the kernel it is still considered valid.

Feel free to propose otherwise but then you need to explain it in commit msg and update LICENSES/preferred/GPL-2.0.

Quoted 4 lines

I personally encountered situation, where usage GPL license without specific -only or -or-later caused unnecessary confusion and uncertainty.

Could be, I am not arguing with it. Yet kernel explicitly makes it a valid SPDX.

Best regards,
Krzysztof

maintainer
#5 lore raw
In reply to David Heidelberg
Quoted 9 lines · David Heidelberg
Quoted 3 lines · Krzysztof Kozlowski
Quoted 1 line · David Heidelberg

Adds forgotten compatible and update SPDX header.

You need to explain what is this "forgotten compatible". It's to vague.

Forgotten by someone who implemented it in driver. Hope that clarify it for you and possibly other readers. Btw. qcom,*sm8450* compatibles are widely used and fact that make dtbs_check noticed it missing here isn't suprising..

Quoted 1 line
Quoted 7 lines
Quoted 2 lines

The SPDX update lacks answer to "why". There is no reason to do it, so please explain why it is needed.

Please read https://spdx.org/licenses/GPL-2.0.html (red colored text).

I personally encountered situation, where usage GPL license without specific -only or -or-later caused unnecessary confusion and uncertainty.

I don't mind changing these, but please do a tree wide change for all bindings, not an 'while I'm here also change X' change.

Rob