Skip to contentSkip to conversation

dt-bindings: clock: qcom: Relicense to GPL2 + BSD

PATCH In review Robert Foss 3 participants 3 messages May 20, 2022 – Jun 1, 2022

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

PATCH 1/1 dt-bindings: clock: qcom: Relicense to GPL2 + BSD

Qualcomm has given permission for all the dt-bindings to be dual licensed. All of the Linaro authored bindings are easy to change, in terms of the permissions & copyrights, so they've been bundled in this commit.

Additionally clean up the syntax of some of the copyright statements.

---

There are more Qcom bindings that should have the license updated to GPL2+BSD, but since they haven't been authored or copyrighted by Linaro, I think I'll have to hunt down the authors individually.

 include/dt-bindings/clock/qcom,dispcc-sm8250.h        | 2 +-
 include/dt-bindings/clock/qcom,gcc-msm8916.h          | 2 +-
 include/dt-bindings/clock/qcom,gcc-msm8939.h          | 2 +-
 include/dt-bindings/clock/qcom,gcc-msm8996.h          | 2 +-
 include/dt-bindings/clock/qcom,gcc-msm8998.h          | 2 +-
 include/dt-bindings/clock/qcom,gcc-qcs404.h           | 2 +-
 include/dt-bindings/clock/qcom,gcc-sm8150.h           | 2 +-
 include/dt-bindings/clock/qcom,rpmcc.h                | 2 +-
 include/dt-bindings/clock/qcom,rpmh.h                 | 6 ++++--
 include/dt-bindings/clock/qcom,sm8250-lpass-aoncc.h   | 2 +-
 include/dt-bindings/clock/qcom,sm8250-lpass-audiocc.h | 2 +-
 include/dt-bindings/clock/qcom,turingcc-qcs404.h      | 2 +-
 12 files changed, 15 insertions(+), 13 deletions(-)
include/dt-bindings/clock/qcom,dispcc-sm8250.h +1 -1
index ce001cbbc27fb..c139b7f7be203 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
 /*
  * Copyright (c) 2018-2020, The Linux Foundation. All rights reserved.
  */
include/dt-bindings/clock/qcom,gcc-msm8916.h +1 -1
index 5630344061841..52db6cd222c96 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
 /*
  * Copyright 2015 Linaro Limited
  */
include/dt-bindings/clock/qcom,gcc-msm8939.h +1 -1
index 0634467c4ce5a..338b93ba75182 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
 /*
  * Copyright 2020 Linaro Limited
  */
include/dt-bindings/clock/qcom,gcc-msm8996.h +1 -1
index 03bf49d43d24c..fb1523c3b44ee 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
 /*
  * Copyright (c) 2015, The Linux Foundation. All rights reserved.
  */
include/dt-bindings/clock/qcom,gcc-msm8998.h +1 -1
index 1badb4f9c58fd..6566881f7056e 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
 /*
  * Copyright (c) 2016, The Linux Foundation. All rights reserved.
  */
include/dt-bindings/clock/qcom,gcc-qcs404.h +1 -1
index bc30515433470..c8d4c7f993418 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
 /*
  * Copyright (c) 2018, The Linux Foundation. All rights reserved.
  */
include/dt-bindings/clock/qcom,gcc-sm8150.h +1 -1
index dfefd5e8bf6e9..614ab995de4c0 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
 /*
  * Copyright (c) 2019, The Linux Foundation. All rights reserved.
  */
include/dt-bindings/clock/qcom,rpmcc.h +1 -1
index 015db95303d19..c0c21762b2340 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
 /*
  * Copyright 2015 Linaro Limited
  */
include/dt-bindings/clock/qcom,rpmh.h +4 -2
index 0a7d1be0d1246..2d882cb44e8bf 100644
@@ -1,5 +1,7 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/* Copyright (c) 2018, 2020, The Linux Foundation. All rights reserved. */
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
+/*
+ * Copyright (c) 2018, 2020, The Linux Foundation. All rights reserved.
+ */
 
 
 #ifndef _DT_BINDINGS_CLK_MSM_RPMH_H
include/dt-bindings/clock/qcom,sm8250-lpass-aoncc.h +1 -1
index f5a1cfac86129..35e952aa00fcd 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
 
 #ifndef _DT_BINDINGS_CLK_LPASS_AONCC_SM8250_H
 #define _DT_BINDINGS_CLK_LPASS_AONCC_SM8250_H
include/dt-bindings/clock/qcom,sm8250-lpass-audiocc.h +1 -1
index a1aa6cb5d8400..9d4eca95a8984 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
 
 #ifndef _DT_BINDINGS_CLK_LPASS_AUDIOCC_SM8250_H
 #define _DT_BINDINGS_CLK_LPASS_AUDIOCC_SM8250_H
include/dt-bindings/clock/qcom,turingcc-qcs404.h +1 -1
index 838faef57c670..cea4894089729 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
 /*
  * Copyright (c) 2019, Linaro Ltd
  */
Signature · 1 line
2.34.1
#1 lore raw
Quoted 10 lines · Robert Foss

Qualcomm has given permission for all the dt-bindings to be dual licensed. All of the Linaro authored bindings are easy to change, in terms of the permissions & copyrights, so they've been bundled in this commit.

Additionally clean up the syntax of some of the copyright statements.

---

Quoted 8 lines

There are more Qcom bindings that should have the license updated to GPL2+BSD, but since they haven't been authored or copyrighted by Linaro, I think I'll have to hunt down the authors individually.

 include/dt-bindings/clock/qcom,gcc-msm8998.h          | 2 +-
 include/dt-bindings/clock/qcom,rpmcc.h                | 2 +-
 include/dt-bindings/clock/qcom,rpmh.h                 | 6 ++++--

At least these 3 have contributors outside Qualcomm and Linaro. Doesn't this mean you would still need to contact all of them and see if they are fine with relicensing their contribution?

I don't want to make this more complicated than necessary, but it's probably better to be careful when it comes to licensing stuff...

(Although personally I think it feels a bit weird to discuss copyright
for a bunch of "numbered names"...)

Thanks,
Stephan

maintainer
#2 lore raw
Quoted 15 lines · Stephan Gerhold
Quoted 14 lines · Robert Foss

Qualcomm has given permission for all the dt-bindings to be dual licensed. All of the Linaro authored bindings are easy to change, in terms of the permissions & copyrights, so they've been bundled in this commit.

Additionally clean up the syntax of some of the copyright statements.

---

There are more Qcom bindings that should have the license updated to GPL2+BSD, but since they haven't been authored or copyrighted by Linaro, I think I'll have to hunt down the authors individually.

Quoted 8 lines
Quoted 4 lines
 include/dt-bindings/clock/qcom,gcc-msm8998.h          | 2 +-
 include/dt-bindings/clock/qcom,rpmcc.h                | 2 +-
 include/dt-bindings/clock/qcom,rpmh.h                 | 6 ++++--

At least these 3 have contributors outside Qualcomm and Linaro. Doesn't this mean you would still need to contact all of them and see if they are fine with relicensing their contribution?

Yes. Though I think you could draw the line at some number of lines. This is what I use to get # of lines by email:

git blame -e include/dt-bindings/clock/qcom,rpmcc.h | sed -e 's/.*<\(.*\)>.*/\1/' | sort | uniq -c | sort -n

Quoted 5 lines

I don't want to make this more complicated than necessary, but it's probably better to be careful when it comes to licensing stuff...

(Although personally I think it feels a bit weird to discuss copyright
for a bunch of "numbered names"...)

Indeed.

Rob