Skip to contentSkip to conversation

Re-license MTK NAND driver

RFC PATCH Superseded Xiaolei Li 4 participants 7 messages Apr 24, 2019 – Apr 25, 2019 3 messages not in the archive

Subsystems (4)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Xiaolei Li

author
#0 lore raw

cover Re-license MTK NAND driver

Xiaolei Li (1):
mtd: rawnand: mtk: Re-license MTK NAND driver as Dual MIT/GPL

 drivers/mtd/nand/raw/mtk_ecc.c  | 12 ++----------
 drivers/mtd/nand/raw/mtk_ecc.h  |  4 +---
 drivers/mtd/nand/raw/mtk_nand.c | 12 ++----------
 3 files changed, 5 insertions(+), 23 deletions(-)

--
2.18.0

author
#2 lore raw

RFC PATCH 1/1 mtd: rawnand: mtk: Re-license MTK NAND driver as Dual MIT/GPL

In reply to a message not in the archive

It is allowed to use MTK NAND driver with GPL-2.0 or MIT license. But now it is only licensed as GPL-2.0.
So re-license it as dual MIT/GPL.

---
 drivers/mtd/nand/raw/mtk_ecc.c  | 12 ++----------
 drivers/mtd/nand/raw/mtk_ecc.h  |  4 +---
 drivers/mtd/nand/raw/mtk_nand.c | 12 ++----------
 3 files changed, 5 insertions(+), 23 deletions(-)
drivers/mtd/nand/raw/mtk_ecc.c +2 -10
index 6432bd70c3b3..eea0f903bc24 100644
@@ -1,17 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /*
  * MTK ECC controller driver.
  * Copyright (C) 2016  MediaTek Inc.
  * Authors:	Xiaolei Li		<xiaolei.li-NuS5LvNUpcJWk0Htik3J/[email protected]>
  *		Jorge Ramirez-Ortiz	<[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/platform_device.h>
@@ -600,4 +592,4 @@ module_platform_driver(mtk_ecc_driver);
 
 MODULE_AUTHOR("Xiaolei Li <xiaolei.li-NuS5LvNUpcJWk0Htik3J/[email protected]>");
 MODULE_DESCRIPTION("MTK Nand ECC Driver");
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("Dual MIT/GPL");
drivers/mtd/nand/raw/mtk_ecc.h +1 -3
index a455df080952..0e48c36e6ca0 100644
@@ -1,12 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
 /*
  * MTK SDG1 ECC controller
  *
  * Copyright (c) 2016 Mediatek
  * Authors:	Xiaolei Li		<xiaolei.li-NuS5LvNUpcJWk0Htik3J/[email protected]>
  *		Jorge Ramirez-Ortiz	<[email protected]>
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 as published
- * by the Free Software Foundation.
  */
 
 #ifndef __DRIVERS_MTD_NAND_MTK_ECC_H__
drivers/mtd/nand/raw/mtk_nand.c +2 -10
index b6b4602f5132..3cbc25793062 100644
@@ -1,17 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /*
  * MTK NAND Flash controller driver.
  * Copyright (C) 2016 MediaTek Inc.
  * Authors:	Xiaolei Li		<xiaolei.li-NuS5LvNUpcJWk0Htik3J/[email protected]>
  *		Jorge Ramirez-Ortiz	<[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/platform_device.h>
@@ -1598,6 +1590,6 @@ static struct platform_driver mtk_nfc_driver = {
 
 module_platform_driver(mtk_nfc_driver);
 
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("Dual MIT/GPL");
 MODULE_AUTHOR("Xiaolei Li <xiaolei.li-NuS5LvNUpcJWk0Htik3J/[email protected]>");
 MODULE_DESCRIPTION("MTK Nand Flash Controller Driver");
Signature · 1 line
2.18.0
#4 lore raw

Re: [RFC PATCH 1/1] mtd: rawnand: mtk: Re-license MTK NAND driver as Dual MIT/GPL

In reply to a message not in the archive

Am Mittwoch, 24. April 2019, 08:45:22 CEST schrieb Xiaolei Li:

Quoted 3 lines

It is allowed to use MTK NAND driver with GPL-2.0 or MIT license. But now it is only licensed as GPL-2.0.
So re-license it as dual MIT/GPL.

I fear this needs ACKs from all authors and major contributors of the driver before we can apply such a change.

Thanks,
//richard

author
#5 lore raw

Re: [RFC PATCH 1/1] mtd: rawnand: mtk: Re-license MTK NAND driver as Dual MIT/GPL

Hi Richard,

Quoted 7 lines · Richard Weinberger

Am Mittwoch, 24. April 2019, 08:45:22 CEST schrieb Xiaolei Li:

Quoted 3 lines

It is allowed to use MTK NAND driver with GPL-2.0 or MIT license. But now it is only licensed as GPL-2.0.
So re-license it as dual MIT/GPL.

I fear this needs ACKs from all authors and major contributors of the driver before we can apply such a change.

Yes. MTK wants to solicit ACKs for this change from copyrights holders here.
I added another driver author Jorge, and let's wait for the response.

Thanks,
Xiaolei

Quoted 5 lines

Thanks,
//richard

#6 lore raw

Re: [RFC PATCH 1/1] mtd: rawnand: mtk: Re-license MTK NAND driver as Dual MIT/GPL

Quoted 8 lines · xiaolei li

Hi Richard,

Quoted 5 lines · Richard Weinberger

Am Mittwoch, 24. April 2019, 08:45:22 CEST schrieb Xiaolei Li:

Quoted 3 lines

It is allowed to use MTK NAND driver with GPL-2.0 or MIT license. But now it is only licensed as GPL-2.0.
So re-license it as dual MIT/GPL.

Quoted 7 lines
Quoted 2 lines

I fear this needs ACKs from all authors and major contributors of the driver before we can apply such a change.

Yes. MTK wants to solicit ACKs for this change from copyrights holders here.
I added another driver author Jorge, and let's wait for the response.

You are missing at least Ryder Lee, Rafał Miłecki and Wen Yang in the CC list. I think it would be good to understand why you want to distribute the driver under MIT license.

Regards,
Matthias

_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek

Acked-by on v1 1/1
#9 lore raw

Re: [RFC PATCH 1/1] mtd: rawnand: mtk: Re-license MTK NAND driver as Dual MIT/GPL

In reply to Xiaolei Li
Quoted 3 lines · Xiaolei Li

It is allowed to use MTK NAND driver with GPL-2.0 or MIT license. But now it is only licensed as GPL-2.0.
So re-license it as dual MIT/GPL.

Relicensing is OK with respect to any Linaro copyright interest deriving from upstreaming this work.

Quoted 80 lines
---
 drivers/mtd/nand/raw/mtk_ecc.c  | 12 ++----------
 drivers/mtd/nand/raw/mtk_ecc.h  |  4 +---
 drivers/mtd/nand/raw/mtk_nand.c | 12 ++----------
 3 files changed, 5 insertions(+), 23 deletions(-)
drivers/mtd/nand/raw/mtk_ecc.c +2 -10
index 6432bd70c3b3..eea0f903bc24 100644
@@ -1,17 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /*
  * MTK ECC controller driver.
  * Copyright (C) 2016  MediaTek Inc.
  * Authors:	Xiaolei Li		<[email protected]>
  *		Jorge Ramirez-Ortiz	<[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/platform_device.h>
@@ -600,4 +592,4 @@ module_platform_driver(mtk_ecc_driver);
 
 MODULE_AUTHOR("Xiaolei Li <[email protected]>");
 MODULE_DESCRIPTION("MTK Nand ECC Driver");
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("Dual MIT/GPL");
drivers/mtd/nand/raw/mtk_ecc.h +1 -3
index a455df080952..0e48c36e6ca0 100644
@@ -1,12 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
 /*
  * MTK SDG1 ECC controller
  *
  * Copyright (c) 2016 Mediatek
  * Authors:	Xiaolei Li		<[email protected]>
  *		Jorge Ramirez-Ortiz	<[email protected]>
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 as published
- * by the Free Software Foundation.
  */
 
 #ifndef __DRIVERS_MTD_NAND_MTK_ECC_H__
drivers/mtd/nand/raw/mtk_nand.c +1 -9
index b6b4602f5132..3cbc25793062 100644
@@ -1,17 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /*
  * MTK NAND Flash controller driver.
  * Copyright (C) 2016 MediaTek Inc.
  * Authors:	Xiaolei Li		<[email protected]>
  *		Jorge Ramirez-Ortiz	<[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/platform_device.h>

drivers/mtd/nand/raw/mtk_nand.c static struct platform_driver mtk_nfc_driver = { · line 1595

Quoted 7 lines
drivers/mtd/nand/raw/mtk_nand.c +1 -1
@@ -1598,6 +1590,6 @@ static struct platform_driver mtk_nfc_driver = {
 
 module_platform_driver(mtk_nfc_driver);
 
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("Dual MIT/GPL");
 MODULE_AUTHOR("Xiaolei Li <[email protected]>");
 MODULE_DESCRIPTION("MTK Nand Flash Controller Driver");

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

author
#8 lore raw

Re: [RFC PATCH 1/1] mtd: rawnand: mtk: Re-license MTK NAND driver as Dual MIT/GPL

In reply to a message not in the archive

Hi Matthias,

Quoted 13 lines · Matthias Brugger
Quoted 11 lines · xiaolei li

Hi Richard,

Quoted 7 lines · Richard Weinberger

Am Mittwoch, 24. April 2019, 08:45:22 CEST schrieb Xiaolei Li:

Quoted 3 lines

It is allowed to use MTK NAND driver with GPL-2.0 or MIT license. But now it is only licensed as GPL-2.0.
So re-license it as dual MIT/GPL.

I fear this needs ACKs from all authors and major contributors of the driver before we can apply such a change.

Quoted 6 lines
Quoted 4 lines

Yes. MTK wants to solicit ACKs for this change from copyrights holders here.
I added another driver author Jorge, and let's wait for the response.

You are missing at least Ryder Lee, Rafał Miłecki and Wen Yang in the CC list.

Thanks for your reminding. I will add them in next patch version.

Quoted 2 lines

I think it would be good to understand why you want to distribute the driver under MIT license.

MTK wants to modify and publish this driver with MIT license in bootloader. So, here we ask for ACKs whether we can re-license it as dual MIT/GPL.

Thanks,
Xiaolei

Quoted 3 lines

Regards,
Matthias

_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek