diff mbox series

[LEDE-DEV] ath79: relicense DTS files to the GPL 2.0+ / MIT

Message ID 20180507074746.29563-1-zajec5@gmail.com
State Superseded
Headers show
Series [LEDE-DEV] ath79: relicense DTS files to the GPL 2.0+ / MIT | expand

Commit Message

Rafał Miłecki May 7, 2018, 7:47 a.m. UTC
From: Rafał Miłecki <rafal@milecki.pl>

Some maintainers prefer DTS files licensed under permissive license like
MIT / BSD. As all DT bindings should be OS independent and DTS files are
pretty separated from Linux code it probably makes sense to share them
across projects.

The safest solution is to use dual licensing: that way it stays clear
these files can be used in GPL projects without depending on current
belief of licenses compatibility.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
---
 target/linux/ath79/dts/ar7100.dtsi                     | 2 +-
 target/linux/ath79/dts/ar7161_netgear_wndr3800.dts     | 2 +-
 target/linux/ath79/dts/ar7241.dtsi                     | 2 +-
 target/linux/ath79/dts/ar7241_ubnt-bullet-m.dts        | 2 +-
 target/linux/ath79/dts/ar7241_ubnt-nano-m.dts          | 2 +-
 target/linux/ath79/dts/ar7241_ubnt-rocket-m.dts        | 2 +-
 target/linux/ath79/dts/ar7241_ubnt-unifi.dts           | 2 +-
 target/linux/ath79/dts/ar7241_ubnt-xm.dts              | 2 +-
 target/linux/ath79/dts/ar7241_ubnt-xm.dtsi             | 2 +-
 target/linux/ath79/dts/ar7242.dtsi                     | 2 +-
 target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g450h.dts | 2 +-
 target/linux/ath79/dts/ar724x.dtsi                     | 2 +-
 target/linux/ath79/dts/ar9132.dtsi                     | 2 +-
 target/linux/ath79/dts/ar9132_tl_wr1043nd_v1.dts       | 2 +-
 target/linux/ath79/dts/ar9330.dtsi                     | 2 +-
 target/linux/ath79/dts/ar9330_gl_ar150.dts             | 2 +-
 target/linux/ath79/dts/ar9331.dtsi                     | 2 +-
 target/linux/ath79/dts/ar9331_dpt_module.dts           | 2 +-
 target/linux/ath79/dts/ar9331_dragino_ms14.dts         | 2 +-
 target/linux/ath79/dts/ar9331_ew_dorin.dts             | 2 +-
 target/linux/ath79/dts/ar9331_omega.dts                | 2 +-
 target/linux/ath79/dts/ar9331_tl_mr3020.dts            | 2 +-
 target/linux/ath79/dts/ath79.dtsi                      | 2 +-
 target/linux/ath79/dts/qca9557.dtsi                    | 2 +-
 target/linux/ath79/dts/qca9558_om5p_ac.dts             | 2 +-
 25 files changed, 25 insertions(+), 25 deletions(-)

Comments

Felix Fietkau May 7, 2018, 8:46 a.m. UTC | #1
On 2018-05-07 09:47, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal@milecki.pl>
> 
> Some maintainers prefer DTS files licensed under permissive license like
> MIT / BSD. As all DT bindings should be OS independent and DTS files are
> pretty separated from Linux code it probably makes sense to share them
> across projects.
> 
> The safest solution is to use dual licensing: that way it stays clear
> these files can be used in GPL projects without depending on current
> belief of licenses compatibility.
> 
> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Some of these files are based on upstream GPL code, did you contact the
original authors already?

- Felix
Rafał Miłecki May 7, 2018, 9:31 a.m. UTC | #2
On 7 May 2018 at 10:46, Felix Fietkau <nbd@nbd.name> wrote:
> On 2018-05-07 09:47, Rafał Miłecki wrote:
>> From: Rafał Miłecki <rafal@milecki.pl>
>>
>> Some maintainers prefer DTS files licensed under permissive license like
>> MIT / BSD. As all DT bindings should be OS independent and DTS files are
>> pretty separated from Linux code it probably makes sense to share them
>> across projects.
>>
>> The safest solution is to use dual licensing: that way it stays clear
>> these files can be used in GPL projects without depending on current
>> belief of licenses compatibility.
>>
>> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
> Some of these files are based on upstream GPL code, did you contact the
> original authors already?

I wasn't aware of that. I assumed they are all John's work based on
our quick IRC conversation:
[09:08] <rmilecki> blogic: are you author for
target/linux/ath79/dts/*.dts files?
[09:08] <rmilecki> *of
[09:14] <blogic> rmilecki: yes
[09:14] <blogic> rmilecki: feel free to change the license text and push a fix
John Crispin May 7, 2018, 9:33 a.m. UTC | #3
On 07/05/18 11:31, Rafał Miłecki wrote:
> On 7 May 2018 at 10:46, Felix Fietkau <nbd@nbd.name> wrote:
>> On 2018-05-07 09:47, Rafał Miłecki wrote:
>>> From: Rafał Miłecki <rafal@milecki.pl>
>>>
>>> Some maintainers prefer DTS files licensed under permissive license like
>>> MIT / BSD. As all DT bindings should be OS independent and DTS files are
>>> pretty separated from Linux code it probably makes sense to share them
>>> across projects.
>>>
>>> The safest solution is to use dual licensing: that way it stays clear
>>> these files can be used in GPL projects without depending on current
>>> belief of licenses compatibility.
>>>
>>> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
>> Some of these files are based on upstream GPL code, did you contact the
>> original authors already?
> I wasn't aware of that. I assumed they are all John's work based on
> our quick IRC conversation:
> [09:08] <rmilecki> blogic: are you author for
> target/linux/ath79/dts/*.dts files?
> [09:08] <rmilecki> *of
> [09:14] <blogic> rmilecki: yes
> [09:14] <blogic> rmilecki: feel free to change the license text and push a fix
>

ah sorry i forgot about that, let me fix it ...
diff mbox series

Patch

diff --git a/target/linux/ath79/dts/ar7100.dtsi b/target/linux/ath79/dts/ar7100.dtsi
index d4a973f505..e652df5b4b 100644
--- a/target/linux/ath79/dts/ar7100.dtsi
+++ b/target/linux/ath79/dts/ar7100.dtsi
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0+ OR MIT
 #include <dt-bindings/clock/ath79-clk.h>
 #include "ath79.dtsi"
 
diff --git a/target/linux/ath79/dts/ar7161_netgear_wndr3800.dts b/target/linux/ath79/dts/ar7161_netgear_wndr3800.dts
index 60102b03ab..c195b541e8 100644
--- a/target/linux/ath79/dts/ar7161_netgear_wndr3800.dts
+++ b/target/linux/ath79/dts/ar7161_netgear_wndr3800.dts
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0+ OR MIT
 /dts-v1/;
 
 #include <dt-bindings/gpio/gpio.h>
diff --git a/target/linux/ath79/dts/ar7241.dtsi b/target/linux/ath79/dts/ar7241.dtsi
index f2efbe4358..09bcbece62 100644
--- a/target/linux/ath79/dts/ar7241.dtsi
+++ b/target/linux/ath79/dts/ar7241.dtsi
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0+ OR MIT
 
 #include "ar724x.dtsi"
 
diff --git a/target/linux/ath79/dts/ar7241_ubnt-bullet-m.dts b/target/linux/ath79/dts/ar7241_ubnt-bullet-m.dts
index d14e2fdcb0..374a039a90 100644
--- a/target/linux/ath79/dts/ar7241_ubnt-bullet-m.dts
+++ b/target/linux/ath79/dts/ar7241_ubnt-bullet-m.dts
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0+ OR MIT
 /dts-v1/;
 
 #include "ar7241_ubnt-xm.dtsi"
diff --git a/target/linux/ath79/dts/ar7241_ubnt-nano-m.dts b/target/linux/ath79/dts/ar7241_ubnt-nano-m.dts
index 91fbac039e..84a7d06f03 100644
--- a/target/linux/ath79/dts/ar7241_ubnt-nano-m.dts
+++ b/target/linux/ath79/dts/ar7241_ubnt-nano-m.dts
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0+ OR MIT
 /dts-v1/;
 
 #include "ar7241_ubnt-xm.dtsi"
diff --git a/target/linux/ath79/dts/ar7241_ubnt-rocket-m.dts b/target/linux/ath79/dts/ar7241_ubnt-rocket-m.dts
index ef2e407b87..4934353718 100644
--- a/target/linux/ath79/dts/ar7241_ubnt-rocket-m.dts
+++ b/target/linux/ath79/dts/ar7241_ubnt-rocket-m.dts
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0+ OR MIT
 /dts-v1/;
 
 #include "ar7241_ubnt-xm.dtsi"
diff --git a/target/linux/ath79/dts/ar7241_ubnt-unifi.dts b/target/linux/ath79/dts/ar7241_ubnt-unifi.dts
index c1829cb4f9..9ecbe42be9 100644
--- a/target/linux/ath79/dts/ar7241_ubnt-unifi.dts
+++ b/target/linux/ath79/dts/ar7241_ubnt-unifi.dts
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0+ OR MIT
 /dts-v1/;
 
 #include <dt-bindings/gpio/gpio.h>
diff --git a/target/linux/ath79/dts/ar7241_ubnt-xm.dts b/target/linux/ath79/dts/ar7241_ubnt-xm.dts
index 3461c5b4c3..72ddef33d4 100644
--- a/target/linux/ath79/dts/ar7241_ubnt-xm.dts
+++ b/target/linux/ath79/dts/ar7241_ubnt-xm.dts
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0+ OR MIT
 /dts-v1/;
 
 #include "ar7241_ubnt-xm.dtsi"
diff --git a/target/linux/ath79/dts/ar7241_ubnt-xm.dtsi b/target/linux/ath79/dts/ar7241_ubnt-xm.dtsi
index c9ad0413dc..ad403c881f 100644
--- a/target/linux/ath79/dts/ar7241_ubnt-xm.dtsi
+++ b/target/linux/ath79/dts/ar7241_ubnt-xm.dtsi
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0+ OR MIT
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
diff --git a/target/linux/ath79/dts/ar7242.dtsi b/target/linux/ath79/dts/ar7242.dtsi
index 427d67a854..c3dc949d0e 100644
--- a/target/linux/ath79/dts/ar7242.dtsi
+++ b/target/linux/ath79/dts/ar7242.dtsi
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0+ OR MIT
 
 #include "ar724x.dtsi"
 
diff --git a/target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g450h.dts b/target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g450h.dts
index 826790f539..b387d50f0c 100644
--- a/target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g450h.dts
+++ b/target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g450h.dts
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0+ OR MIT
 /dts-v1/;
 
 #include <dt-bindings/gpio/gpio.h>
diff --git a/target/linux/ath79/dts/ar724x.dtsi b/target/linux/ath79/dts/ar724x.dtsi
index c1818a5905..4e6bf2b2d5 100644
--- a/target/linux/ath79/dts/ar724x.dtsi
+++ b/target/linux/ath79/dts/ar724x.dtsi
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0+ OR MIT
 #include <dt-bindings/clock/ath79-clk.h>
 #include "ath79.dtsi"
 
diff --git a/target/linux/ath79/dts/ar9132.dtsi b/target/linux/ath79/dts/ar9132.dtsi
index 7a7a5f1b3d..3ee58ddc44 100644
--- a/target/linux/ath79/dts/ar9132.dtsi
+++ b/target/linux/ath79/dts/ar9132.dtsi
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0+ OR MIT
 #include <dt-bindings/clock/ath79-clk.h>
 
 / {
diff --git a/target/linux/ath79/dts/ar9132_tl_wr1043nd_v1.dts b/target/linux/ath79/dts/ar9132_tl_wr1043nd_v1.dts
index 099941258e..2f2b9274b1 100644
--- a/target/linux/ath79/dts/ar9132_tl_wr1043nd_v1.dts
+++ b/target/linux/ath79/dts/ar9132_tl_wr1043nd_v1.dts
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0+ OR MIT
 /dts-v1/;
 
 #include <dt-bindings/gpio/gpio.h>
diff --git a/target/linux/ath79/dts/ar9330.dtsi b/target/linux/ath79/dts/ar9330.dtsi
index 1c03cd8880..b25b18cd13 100644
--- a/target/linux/ath79/dts/ar9330.dtsi
+++ b/target/linux/ath79/dts/ar9330.dtsi
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0+ OR MIT
 #include <dt-bindings/clock/ath79-clk.h>
 #include "ath79.dtsi"
 
diff --git a/target/linux/ath79/dts/ar9330_gl_ar150.dts b/target/linux/ath79/dts/ar9330_gl_ar150.dts
index a27956d9a4..6f386ceb3e 100644
--- a/target/linux/ath79/dts/ar9330_gl_ar150.dts
+++ b/target/linux/ath79/dts/ar9330_gl_ar150.dts
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0+ OR MIT
 /dts-v1/;
 
 #include <dt-bindings/gpio/gpio.h>
diff --git a/target/linux/ath79/dts/ar9331.dtsi b/target/linux/ath79/dts/ar9331.dtsi
index ed816c0618..98e31a2336 100644
--- a/target/linux/ath79/dts/ar9331.dtsi
+++ b/target/linux/ath79/dts/ar9331.dtsi
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0+ OR MIT
 #include "ar9330.dtsi"
 
 / {
diff --git a/target/linux/ath79/dts/ar9331_dpt_module.dts b/target/linux/ath79/dts/ar9331_dpt_module.dts
index bcd863605b..8b395e5b29 100644
--- a/target/linux/ath79/dts/ar9331_dpt_module.dts
+++ b/target/linux/ath79/dts/ar9331_dpt_module.dts
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0+ OR MIT
 /dts-v1/;
 
 #include <dt-bindings/gpio/gpio.h>
diff --git a/target/linux/ath79/dts/ar9331_dragino_ms14.dts b/target/linux/ath79/dts/ar9331_dragino_ms14.dts
index e7c446aa71..f62c455832 100644
--- a/target/linux/ath79/dts/ar9331_dragino_ms14.dts
+++ b/target/linux/ath79/dts/ar9331_dragino_ms14.dts
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0+ OR MIT
 /dts-v1/;
 
 #include <dt-bindings/gpio/gpio.h>
diff --git a/target/linux/ath79/dts/ar9331_ew_dorin.dts b/target/linux/ath79/dts/ar9331_ew_dorin.dts
index de4d9fe45d..88e6355e21 100644
--- a/target/linux/ath79/dts/ar9331_ew_dorin.dts
+++ b/target/linux/ath79/dts/ar9331_ew_dorin.dts
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0+ OR MIT
 /dts-v1/;
 
 #include <dt-bindings/gpio/gpio.h>
diff --git a/target/linux/ath79/dts/ar9331_omega.dts b/target/linux/ath79/dts/ar9331_omega.dts
index 1225b245fd..50311c9340 100644
--- a/target/linux/ath79/dts/ar9331_omega.dts
+++ b/target/linux/ath79/dts/ar9331_omega.dts
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0+ OR MIT
 /dts-v1/;
 
 #include <dt-bindings/gpio/gpio.h>
diff --git a/target/linux/ath79/dts/ar9331_tl_mr3020.dts b/target/linux/ath79/dts/ar9331_tl_mr3020.dts
index 7439768a2b..d333a7a2c4 100644
--- a/target/linux/ath79/dts/ar9331_tl_mr3020.dts
+++ b/target/linux/ath79/dts/ar9331_tl_mr3020.dts
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0+ OR MIT
 /dts-v1/;
 
 #include <dt-bindings/gpio/gpio.h>
diff --git a/target/linux/ath79/dts/ath79.dtsi b/target/linux/ath79/dts/ath79.dtsi
index c49f4652fe..474a3a9dc3 100644
--- a/target/linux/ath79/dts/ath79.dtsi
+++ b/target/linux/ath79/dts/ath79.dtsi
@@ -1,4 +1,4 @@ 
-
+// SPDX-License-Identifier: GPL-2.0+ OR MIT
 / {
 	#address-cells = <1>;
 	#size-cells = <1>;
diff --git a/target/linux/ath79/dts/qca9557.dtsi b/target/linux/ath79/dts/qca9557.dtsi
index ed92da3bd7..74a96d3435 100644
--- a/target/linux/ath79/dts/qca9557.dtsi
+++ b/target/linux/ath79/dts/qca9557.dtsi
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0+ OR MIT
 #include <dt-bindings/clock/ath79-clk.h>
 #include "ath79.dtsi"
 
diff --git a/target/linux/ath79/dts/qca9558_om5p_ac.dts b/target/linux/ath79/dts/qca9558_om5p_ac.dts
index 7165bc4e11..56e0da3994 100644
--- a/target/linux/ath79/dts/qca9558_om5p_ac.dts
+++ b/target/linux/ath79/dts/qca9558_om5p_ac.dts
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0+ OR MIT
 /dts-v1/;
 
 #include <dt-bindings/gpio/gpio.h>