Skip to contentSkip to conversation

spi: mediatek: Re-license MTK SPI driver as Dual MIT/GPL

PATCH In review Leilk Liu 3 participants 5 messages Mar 3, 2021

Subsystems (2)
lore
Share & tools
lore

Leilk Liu

author
#0 lore raw

PATCH 1/1 spi: mediatek: Re-license MTK SPI driver as Dual MIT/GPL

From: "leilk.liu" <[email protected]>

It is wanted to use MTK spi bus 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/spi/spi-mt65xx.c                 | 4 ++--
 include/linux/platform_data/spi-mt65xx.h | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/spi/spi-mt65xx.c +2 -2
index 976f73b9e299..d8a8fb0e8aa4 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0-only
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /*
  * Copyright (c) 2015 MediaTek Inc.
  * Author: Leilk Liu <[email protected]>
@@ -946,5 +946,5 @@ module_platform_driver(mtk_spi_driver);
 
 MODULE_DESCRIPTION("MTK SPI Controller driver");
 MODULE_AUTHOR("Leilk Liu <[email protected]>");
-MODULE_LICENSE("GPL v2");
+MODULE_LICENSE("Dual MIT/GPL");
 MODULE_ALIAS("platform:mtk-spi");
include/linux/platform_data/spi-mt65xx.h +1 -1
index 65fd5ffd257c..b6dcd70c4c49 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /*
  *  MTK SPI bus driver definitions
  *
Signature · 5 lines
2.18.0
_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek
#2 lore raw
In reply to Leilk Liu
Quoted 7 lines · Leilk Liu

From: "leilk.liu" <[email protected]>

It is wanted to use MTK spi bus 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.

Please use your name here, not an email alias for where your name goes.

Quoted 3 lines
---
 drivers/spi/spi-mt65xx.c                 | 4 ++--
 include/linux/platform_data/spi-mt65xx.h | 2 +-

Given that these files have been licensed under the GPL only since 2015, all changes contributed to it have only been licensed under the GPL as well, so have you gotten approval for all of the contributors for this change?

Can you please get your lawyer to also sign off on this license change patch, so that we know that you have their approval for this incase there are questions about it in the future?

thanks,

greg k-h

author
#3 lore raw
Quoted 11 lines · Greg Kroah-Hartman
Quoted 7 lines · Leilk Liu

From: "leilk.liu" <[email protected]>

It is wanted to use MTK spi bus 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.

Please use your name here, not an email alias for where your name goes.

OK, I'll fix it, thanks!

Quoted 10 lines
Quoted 4 lines
---
 drivers/spi/spi-mt65xx.c                 | 4 ++--
 include/linux/platform_data/spi-mt65xx.h | 2 +-

Given that these files have been licensed under the GPL only since 2015, all changes contributed to it have only been licensed under the GPL as well, so have you gotten approval for all of the contributors for this change?

This is the reason that I sent this patch to ask for ACKs from all contributors (who are all in the To mail-list) for these files.

Quoted 4 lines

Can you please get your lawyer to also sign off on this license change patch, so that we know that you have their approval for this incase there are questions about it in the future?

I need to use the code in other projects that is not with GPL-2.0. Also, the license change is approved by Mediatek supervisor.

Quoted 3 lines

thanks,

greg k-h

#4 lore raw
Quoted 18 lines · Leilk Liu
Quoted 11 lines · Greg Kroah-Hartman
Quoted 7 lines · Leilk Liu

From: "leilk.liu" <[email protected]>

It is wanted to use MTK spi bus 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.

Please use your name here, not an email alias for where your name goes.

OK, I'll fix it, thanks!

Quoted 5 lines
Quoted 4 lines
---
 drivers/spi/spi-mt65xx.c                 | 4 ++--
 include/linux/platform_data/spi-mt65xx.h | 2 +-
Quoted 7 lines
Quoted 5 lines

Given that these files have been licensed under the GPL only since 2015, all changes contributed to it have only been licensed under the GPL as well, so have you gotten approval for all of the contributors for this change?

This is the reason that I sent this patch to ask for ACKs from all contributors (who are all in the To mail-list) for these files.

That wasn't obvious :)

But given that many of the contributors here do not actually own the copyrights of their contributions, how can you be sure that the real owners are agreeing to this? That requires something much more "legal" than just an "ack" on a patch. Please work with your corporate lawyers for how to do this correctly.

Quoted 5 lines
Quoted 4 lines

Can you please get your lawyer to also sign off on this license change patch, so that we know that you have their approval for this incase there are questions about it in the future?

I need to use the code in other projects that is not with GPL-2.0.

What project needs this code that you can not just base it off of your original contribution instead? That would not require any license change of the kernel files, right? Wouldn't that be easier than trying to retain this license change over time as you will not be taking the changes here into another project as well.

Quoted 1 line

Also, the license change is approved by Mediatek supervisor.

Great, get them to also sign-off on the patch please, along with your lawyers, so that we know all is done correctly.

thanks,

greg k-h