2022-08-25 10:58:30

by Etienne Carriere

[permalink] [raw]
Subject: [PATCH] dt-binding: gpio: publish binding IDs under dual license

Changes gpio.h DT binding header file to be published under GPLv2 or
BSD-3-Clause license terms. This change allows these GPIO generic
bindings header file to be used in software components as bootloaders
and OSes that are not published under GPLv2 terms.

All contributors to gpio.h file in copy.

Cc: Stephen Warren <[email protected]>
Cc: Linus Walleij <[email protected]>
Cc: Laxman Dewangan <[email protected]>
Cc: Charles Keepax <[email protected]>
Cc: Andrew Jeffery <[email protected]>
Cc: Thomas Petazzoni <[email protected]>
Cc: Nuno Sá <[email protected]>
Cc: Bartosz Golaszewski <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>

Signed-off-by: Etienne Carriere <[email protected]>
---
include/dt-bindings/gpio/gpio.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/dt-bindings/gpio/gpio.h b/include/dt-bindings/gpio/gpio.h
index 5566e58196a2..f8df7511b8b4 100644
--- a/include/dt-bindings/gpio/gpio.h
+++ b/include/dt-bindings/gpio/gpio.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
/*
* This header provides constants for most GPIO bindings.
*
--
2.25.1


2022-08-25 11:39:57

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH] dt-binding: gpio: publish binding IDs under dual license

On 25/08/2022 13:45, Etienne Carriere wrote:
> Changes gpio.h DT binding header file to be published under GPLv2 or
> BSD-3-Clause license terms. This change allows these GPIO generic
> bindings header file to be used in software components as bootloaders
> and OSes that are not published under GPLv2 terms.
>
> All contributors to gpio.h file in copy.
>
> Cc: Stephen Warren <[email protected]>
> Cc: Linus Walleij <[email protected]>
> Cc: Laxman Dewangan <[email protected]>
> Cc: Charles Keepax <[email protected]>
> Cc: Andrew Jeffery <[email protected]>
> Cc: Thomas Petazzoni <[email protected]>
> Cc: Nuno Sá <[email protected]>
> Cc: Bartosz Golaszewski <[email protected]>
> Cc: Rob Herring <[email protected]>
> Cc: Krzysztof Kozlowski <[email protected]>
>
> Signed-off-by: Etienne Carriere <[email protected]>
> ---
> include/dt-bindings/gpio/gpio.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/dt-bindings/gpio/gpio.h b/include/dt-bindings/gpio/gpio.h
> index 5566e58196a2..f8df7511b8b4 100644
> --- a/include/dt-bindings/gpio/gpio.h
> +++ b/include/dt-bindings/gpio/gpio.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0 */
> +/* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */

Why BSD-3 clause? Bindings are expected to be "OR BSD-2-Clause".

Best regards,
Krzysztof

2022-08-25 16:16:01

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH] dt-binding: gpio: publish binding IDs under dual license

On Thu, Aug 25, 2022 at 5:45 AM Etienne Carriere
<[email protected]> wrote:
>
> Changes gpio.h DT binding header file to be published under GPLv2 or
> BSD-3-Clause license terms. This change allows these GPIO generic
> bindings header file to be used in software components as bootloaders
> and OSes that are not published under GPLv2 terms.
>
> All contributors to gpio.h file in copy.
>
> Cc: Stephen Warren <[email protected]>

We have NVIDIA permission for anything in bindings and NVIDIA
relicensed the irq headers, so I think it shouldn't be a problem.

> Cc: Linus Walleij <[email protected]>

FYI, There is blanket approval from Linaro to relicense DT files.

> Cc: Laxman Dewangan <[email protected]>
> Cc: Charles Keepax <[email protected]>

I don't think a blank line is copyrightable.

> Cc: Andrew Jeffery <[email protected]>
> Cc: Thomas Petazzoni <[email protected]>
> Cc: Nuno Sá <[email protected]>
> Cc: Bartosz Golaszewski <[email protected]>
> Cc: Rob Herring <[email protected]>
> Cc: Krzysztof Kozlowski <[email protected]>
>
> Signed-off-by: Etienne Carriere <[email protected]>
> ---
> include/dt-bindings/gpio/gpio.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

2022-08-25 22:21:46

by Etienne Carriere

[permalink] [raw]
Subject: Re: [PATCH] dt-binding: gpio: publish binding IDs under dual license

Hi Krzystof,

On Thu, 25 Aug 2022 at 13:10, Krzysztof Kozlowski
<[email protected]> wrote:
>
> On 25/08/2022 13:45, Etienne Carriere wrote:
> > Changes gpio.h DT binding header file to be published under GPLv2 or
> > BSD-3-Clause license terms. This change allows these GPIO generic
> > bindings header file to be used in software components as bootloaders
> > and OSes that are not published under GPLv2 terms.
> >
> > All contributors to gpio.h file in copy.
> >
> > Cc: Stephen Warren <[email protected]>
> > Cc: Linus Walleij <[email protected]>
> > Cc: Laxman Dewangan <[email protected]>
> > Cc: Charles Keepax <[email protected]>
> > Cc: Andrew Jeffery <[email protected]>
> > Cc: Thomas Petazzoni <[email protected]>
> > Cc: Nuno Sá <[email protected]>
> > Cc: Bartosz Golaszewski <[email protected]>
> > Cc: Rob Herring <[email protected]>
> > Cc: Krzysztof Kozlowski <[email protected]>
> >
> > Signed-off-by: Etienne Carriere <[email protected]>
> > ---
> > include/dt-bindings/gpio/gpio.h | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/include/dt-bindings/gpio/gpio.h b/include/dt-bindings/gpio/gpio.h
> > index 5566e58196a2..f8df7511b8b4 100644
> > --- a/include/dt-bindings/gpio/gpio.h
> > +++ b/include/dt-bindings/gpio/gpio.h
> > @@ -1,4 +1,4 @@
> > -/* SPDX-License-Identifier: GPL-2.0 */
> > +/* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
>
> Why BSD-3 clause? Bindings are expected to be "OR BSD-2-Clause".

Fair, 2-clause seems more used. Thanks.
I'll send a v2.

Br,
etienne

>
> Best regards,
> Krzysztof

2022-08-25 22:24:58

by Etienne Carriere

[permalink] [raw]
Subject: Re: [PATCH] dt-binding: gpio: publish binding IDs under dual license

Hello Rob,

Many thanks for the feedback.

Regards,
Etienne

On Thu, 25 Aug 2022 at 18:05, Rob Herring <[email protected]> wrote:
>
> On Thu, Aug 25, 2022 at 5:45 AM Etienne Carriere
> <[email protected]> wrote:
> >
> > Changes gpio.h DT binding header file to be published under GPLv2 or
> > BSD-3-Clause license terms. This change allows these GPIO generic
> > bindings header file to be used in software components as bootloaders
> > and OSes that are not published under GPLv2 terms.
> >
> > All contributors to gpio.h file in copy.
> >
> > Cc: Stephen Warren <[email protected]>
>
> We have NVIDIA permission for anything in bindings and NVIDIA
> relicensed the irq headers, so I think it shouldn't be a problem.
>
> > Cc: Linus Walleij <[email protected]>
>
> FYI, There is blanket approval from Linaro to relicense DT files.
>
> > Cc: Laxman Dewangan <[email protected]>
> > Cc: Charles Keepax <[email protected]>
>
> I don't think a. blank line is copyrightable.

>
> > Cc: Andrew Jeffery <[email protected]>
> > Cc: Thomas Petazzoni <[email protected]>
> > Cc: Nuno Sá <[email protected]>
> > Cc: Bartosz Golaszewski <[email protected]>
> > Cc: Rob Herring <[email protected]>
> > Cc: Krzysztof Kozlowski <[email protected]>
> >
> > Signed-off-by: Etienne Carriere <[email protected]>
> > ---
> > include/dt-bindings/gpio/gpio.h | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)