[PATCH] ARM: dts: imx6-display5: Replace license text comment with SPDX identifier

Bence Csókás posted 1 patch 3 months ago
.../imx/imx6q-display5-tianma-tm070-1280x768.dts   | 33 +---------------------
arch/arm/boot/dts/nxp/imx/imx6q-display5.dtsi      | 33 +---------------------
2 files changed, 2 insertions(+), 64 deletions(-)
[PATCH] ARM: dts: imx6-display5: Replace license text comment with SPDX identifier
Posted by Bence Csókás 3 months ago
Replace verbatim license text with a `SPDX-License-Identifier`.

The comment header mis-attributes this license to be "X11", but the
license text does not include the last line "Except as contained in this
notice, the name of the X Consortium shall not be used in advertising or
otherwise to promote the sale, use or other dealings in this Software
without prior written authorization from the X Consortium.". Therefore,
this license is actually equivalent to the SPDX "MIT" license (confirmed
by text diffing).

Cc: Lukasz Majewski <lukma@denx.de>
Signed-off-by: Bence Csókás <csokas.bence@prolan.hu>
---
 .../imx/imx6q-display5-tianma-tm070-1280x768.dts   | 33 +---------------------
 arch/arm/boot/dts/nxp/imx/imx6q-display5.dtsi      | 33 +---------------------
 2 files changed, 2 insertions(+), 64 deletions(-)

diff --git a/arch/arm/boot/dts/nxp/imx/imx6q-display5-tianma-tm070-1280x768.dts b/arch/arm/boot/dts/nxp/imx/imx6q-display5-tianma-tm070-1280x768.dts
index 16658b76fc4e..059750270fc4 100644
--- a/arch/arm/boot/dts/nxp/imx/imx6q-display5-tianma-tm070-1280x768.dts
+++ b/arch/arm/boot/dts/nxp/imx/imx6q-display5-tianma-tm070-1280x768.dts
@@ -1,38 +1,7 @@
+// SPDX-License-Identifier: (GPL-2.0-only OR MIT)
 /*
  * Copyright 2017
  * Lukasz Majewski, DENX Software Engineering, lukma@denx.de
- *
- * This file is dual-licensed: you can use it either under the terms
- * of the GPL or the X11 license, at your option. Note that this dual
- * licensing only applies to this file, and not this project as a
- * whole.
- *
- *  a) This file is licensed under the terms of the GNU General Public
- *     License version 2.  This program is licensed "as is" without
- *     any warranty of any kind, whether express or implied.
- *
- * Or, alternatively,
- *
- *  b) Permission is hereby granted, free of charge, to any person
- *     obtaining a copy of this software and associated documentation
- *     files (the "Software"), to deal in the Software without
- *     restriction, including without limitation the rights to use,
- *     copy, modify, merge, publish, distribute, sublicense, and/or
- *     sell copies of the Software, and to permit persons to whom the
- *     Software is furnished to do so, subject to the following
- *     conditions:
- *
- *     The above copyright notice and this permission notice shall be
- *     included in all copies or substantial portions of the Software.
- *
- *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
- *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
- *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- *     OTHER DEALINGS IN THE SOFTWARE.
  */
 
 /dts-v1/;
diff --git a/arch/arm/boot/dts/nxp/imx/imx6q-display5.dtsi b/arch/arm/boot/dts/nxp/imx/imx6q-display5.dtsi
index 4ab31f2217cd..4e448b4810f2 100644
--- a/arch/arm/boot/dts/nxp/imx/imx6q-display5.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx6q-display5.dtsi
@@ -1,38 +1,7 @@
+// SPDX-License-Identifier: (GPL-2.0-only OR MIT)
 /*
  * Copyright 2017
  * Lukasz Majewski, DENX Software Engineering, lukma@denx.de
- *
- * This file is dual-licensed: you can use it either under the terms
- * of the GPL or the X11 license, at your option. Note that this dual
- * licensing only applies to this file, and not this project as a
- * whole.
- *
- *  a) This file is licensed under the terms of the GNU General Public
- *     License version 2.  This program is licensed "as is" without
- *     any warranty of any kind, whether express or implied.
- *
- * Or, alternatively,
- *
- *  b) Permission is hereby granted, free of charge, to any person
- *     obtaining a copy of this software and associated documentation
- *     files (the "Software"), to deal in the Software without
- *     restriction, including without limitation the rights to use,
- *     copy, modify, merge, publish, distribute, sublicense, and/or
- *     sell copies of the Software, and to permit persons to whom the
- *     Software is furnished to do so, subject to the following
- *     conditions:
- *
- *     The above copyright notice and this permission notice shall be
- *     included in all copies or substantial portions of the Software.
- *
- *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
- *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
- *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- *     OTHER DEALINGS IN THE SOFTWARE.
  */
 
 /dts-v1/;

---
base-commit: c435a4f487e8c6a3b23dafbda87d971d4fd14e0b
change-id: 20250708-display5-dts-lic-f35e09a6fc73

Best regards,
-- 
Bence Csókás <csokas.bence@prolan.hu>


Re: [PATCH] ARM: dts: imx6-display5: Replace license text comment with SPDX identifier
Posted by Shawn Guo 1 month, 2 weeks ago
On Wed, Jul 09, 2025 at 09:32:44AM +0200, Bence Csókás wrote:
> Replace verbatim license text with a `SPDX-License-Identifier`.
> 
> The comment header mis-attributes this license to be "X11", but the
> license text does not include the last line "Except as contained in this
> notice, the name of the X Consortium shall not be used in advertising or
> otherwise to promote the sale, use or other dealings in this Software
> without prior written authorization from the X Consortium.". Therefore,
> this license is actually equivalent to the SPDX "MIT" license (confirmed
> by text diffing).
> 
> Cc: Lukasz Majewski <lukma@denx.de>
> Signed-off-by: Bence Csókás <csokas.bence@prolan.hu>

Applied, thanks!
Re: [PATCH] ARM: dts: imx6-display5: Replace license text comment with SPDX identifier
Posted by Csókás Bence 1 month, 3 weeks ago
Hi,

On 2025. 07. 09. 9:32, Bence Csókás wrote:
> Replace verbatim license text with a `SPDX-License-Identifier`.
> 
> The comment header mis-attributes this license to be "X11", but the
> license text does not include the last line "Except as contained in this
> notice, the name of the X Consortium shall not be used in advertising or
> otherwise to promote the sale, use or other dealings in this Software
> without prior written authorization from the X Consortium.". Therefore,
> this license is actually equivalent to the SPDX "MIT" license (confirmed
> by text diffing).
> 
> Cc: Lukasz Majewski <lukma@denx.de>
> Signed-off-by: Bence Csókás <csokas.bence@prolan.hu>

So, what do you all think, is this patch acceptable?

Bence

Re: [PATCH] ARM: dts: imx6-display5: Replace license text comment with SPDX identifier
Posted by Krzysztof Kozlowski 1 month, 3 weeks ago
On 13/08/2025 10:29, Csókás Bence wrote:
> Hi,
> 
> On 2025. 07. 09. 9:32, Bence Csókás wrote:
>> Replace verbatim license text with a `SPDX-License-Identifier`.
>>
>> The comment header mis-attributes this license to be "X11", but the
>> license text does not include the last line "Except as contained in this
>> notice, the name of the X Consortium shall not be used in advertising or
>> otherwise to promote the sale, use or other dealings in this Software
>> without prior written authorization from the X Consortium.". Therefore,
>> this license is actually equivalent to the SPDX "MIT" license (confirmed
>> by text diffing).
>>
>> Cc: Lukasz Majewski <lukma@denx.de>
>> Signed-off-by: Bence Csókás <csokas.bence@prolan.hu>
> 
> So, what do you all think, is this patch acceptable?

Yes, you just need Acks from all contributors there.

Best regards,
Krzysztof
Re: [PATCH] ARM: dts: imx6-display5: Replace license text comment with SPDX identifier
Posted by Łukasz Majewski 1 month, 3 weeks ago
On Wed, 13 Aug 2025 10:33:32 +0200
Krzysztof Kozlowski <krzk@kernel.org> wrote:

> On 13/08/2025 10:29, Csókás Bence wrote:
> > Hi,
> > 
> > On 2025. 07. 09. 9:32, Bence Csókás wrote:  
> >> Replace verbatim license text with a `SPDX-License-Identifier`.
> >>
> >> The comment header mis-attributes this license to be "X11", but the
> >> license text does not include the last line "Except as contained
> >> in this notice, the name of the X Consortium shall not be used in
> >> advertising or otherwise to promote the sale, use or other
> >> dealings in this Software without prior written authorization from
> >> the X Consortium.". Therefore, this license is actually equivalent
> >> to the SPDX "MIT" license (confirmed by text diffing).
> >>
> >> Cc: Lukasz Majewski <lukma@denx.de>
> >> Signed-off-by: Bence Csókás <csokas.bence@prolan.hu>  
> > 
> > So, what do you all think, is this patch acceptable?  
> 
> Yes, you just need Acks from all contributors there.
> 

Acked-by: Lukasz Majewski <lukma@denx.de>

> Best regards,
> Krzysztof



-- 
Best regards,

Łukasz Majewski