diff mbox series

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

Message ID 20220425134717.55418-1-david@ixit.cz (mailing list archive)
State Superseded
Headers show
Series [v3,1/2] dt-bindings: mailbox: qcom-ipcc: add missing compatible for SM8450 | expand

Commit Message

David Heidelberg April 25, 2022, 1:47 p.m. UTC
Adds forgotten compatible and update SPDX header.

Signed-off-by: David Heidelberg <david@ixit.cz>
---
 Documentation/devicetree/bindings/mailbox/qcom-ipcc.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Krzysztof Kozlowski April 25, 2022, 1:51 p.m. UTC | #1
On 25/04/2022 15:47, David Heidelberg wrote:
> 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
David Heidelberg April 25, 2022, 2:05 p.m. UTC | #2
On 25/04/2022 15:51, Krzysztof Kozlowski wrote:
> On 25/04/2022 15:47, David Heidelberg wrote:
>> 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..
>
> 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.

>
>
> Best regards,
> Krzysztof
Krzysztof Kozlowski April 25, 2022, 2:11 p.m. UTC | #3
On 25/04/2022 16:05, David Heidelberg wrote:
> On 25/04/2022 15:51, Krzysztof Kozlowski wrote:
>> On 25/04/2022 15:47, David Heidelberg wrote:
>>> 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.

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

> 
> 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
Rob Herring (Arm) April 26, 2022, 12:53 a.m. UTC | #4
On Mon, Apr 25, 2022 at 04:05:57PM +0200, David Heidelberg wrote:
> On 25/04/2022 15:51, Krzysztof Kozlowski wrote:
> > On 25/04/2022 15:47, David Heidelberg wrote:
> > > 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..
> > 
> > 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
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/mailbox/qcom-ipcc.yaml b/Documentation/devicetree/bindings/mailbox/qcom-ipcc.yaml
index 866efb278813..825d29367737 100644
--- a/Documentation/devicetree/bindings/mailbox/qcom-ipcc.yaml
+++ b/Documentation/devicetree/bindings/mailbox/qcom-ipcc.yaml
@@ -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