drm/bridge/synopsys: dsi: Adopt SPDX identifiers
Subsystems (4)
PATCH 1/1 drm/bridge/synopsys: dsi: Adopt SPDX identifiers
Add SPDX identifiers to the Synopsys DesignWare MIPI DSI host controller driver.
--- drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c +1 -5
@@ -1,12 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2016, Fuzhou Rockchip Electronics Co., Ltd * Copyright (C) STMicroelectronics SA 2017 * -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * Modified by Philippe Cornu <[email protected]> * This generic Synopsys DesignWare MIPI DSI host driver is based on the * Rockchip version from rockchip/dw-mipi-dsi.c with phy & bridge APIs.
Signature · 1 line
2.15.1
Laurent Pinchart
reviewerHi Philippe,
Thank you for the patch.
Quoted 14 lines · On Monday, 22 January 2018 12:26:08 EET Philippe Cornu wrote:
Add SPDX identifiers to the Synopsys DesignWare MIPI DSI host controller driver.
Signed-off-by Philippe Cornu <[email protected]>--- drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)(quoted diff) +0
-0
b/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.cindex46b0e73404d1..e06836dec77c100644
drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c line 1
Quoted 1 line
drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c +1
-0@@ -1,12 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0
According to Documentation/process/license-rules.txt this would change the existing license. The correct identifier is GPL-2.0+.
Quoted 12 lines
drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c +0
-5/* * Copyright (c) 2016, Fuzhou Rockchip Electronics Co., Ltd * Copyright (C) STMicroelectronics SA 2017 * -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * Modified by Philippe Cornu <[email protected]> * This generic Synopsys DesignWare MIPI DSI host driver is based on the * Rockchip version from rockchip/dw-mipi-dsi.c with phy & bridge APIs.
Signature · 8 lines
Regards, Laurent Pinchart _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Hi Laurent,
A big *thank* for your review
Quoted 13 lines · Laurent Pinchart
Hi Philippe,
Thank you for the patch.
Quoted 8 lines · On Monday, 22 January 2018 12:26:08 EET Philippe Cornu wrote:
Add SPDX identifiers to the Synopsys DesignWare MIPI DSI host controller driver.
Signed-off-by Philippe Cornu <[email protected]>--- drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
Quoted 11 lines
drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c line 1
Quoted 7 lines
(quoted diff) +0
-0
b/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.cindex46b0e73404d1..e06836dec77c100644drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c +1
-0@@ -1,12 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 According to
Documentation/process/license-rules.txtthis would change the existing license. The correct identifier is GPL-2.0+.
You are right, I did not put the correct identifier :(
After reading more spdx.org, I wonder if the correct value should be GPL-2.0-or-later instead of GPL-2.0+
https://spdx.org/licenses/GPL-2.0-or-later.html
https://spdx.org/licenses/GPL-2.0+.html
What is your opinion?
Many thanks,
Philippe :-)
Quoted 14 lines
Quoted 12 lines
drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c +0
-5/* * Copyright (c) 2016, Fuzhou Rockchip Electronics Co., Ltd * Copyright (C) STMicroelectronics SA 2017 * -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * Modified by Philippe Cornu <[email protected]> * This generic Synopsys DesignWare MIPI DSI host driver is based on the * Rockchip version from rockchip/dw-mipi-dsi.c with phy & bridge APIs.
Laurent Pinchart
reviewerHi Philippe,
Quoted 24 lines · On Tuesday, 23 January 2018 12:25:51 EET Philippe CORNU wrote:
Quoted 10 lines · Laurent Pinchart
Quoted 9 lines · On Monday, 22 January 2018 12:26:08 EET Philippe Cornu wrote:
Add SPDX identifiers to the Synopsys DesignWare MIPI DSI host controller driver.
Signed-off-by Philippe Cornu <[email protected]>---
drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)Quoted 10 lines
drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c line 1
Quoted 7 lines
(quoted diff) +0
-0
b/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.cindex46b0e73404d1..e06836dec77c100644drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c +1
-0@@ -1,12 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 According to
Documentation/process/license-rules.txtthis would change the existing license. The correct identifier is GPL-2.0+.You are right, I did not put the correct identifier :(
Quoted 7 lines
After reading more spdx.org, I wonder if the correct value should be GPL-2.0-or-later instead of GPL-2.0+
https://spdx.org/licenses/GPL-2.0-or-later.html
https://spdx.org/licenses/GPL-2.0+.htmlWhat is your opinion?
I agree in principle, and I've even asked for that before, but I've been told that we should stick to the license identifiers defined in Documentation/ process/license-rules.txt. The file might get updated to use GPL-2.0-or-later and GPL-2.0-only later, and kernel sources will likely then get patched in one go.
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c +0
-5/* * Copyright (c) 2016, Fuzhou Rockchip Electronics Co., Ltd * Copyright (C) STMicroelectronics SA 2017 * -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * Modified by Philippe Cornu <[email protected]> * This generic Synopsys DesignWare MIPI DSI host driver is based on the * Rockchip version from rockchip/dw-mipi-dsi.c with phy & bridge APIs.
Signature · 8 lines
Regards, Laurent Pinchart _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
2018-01-24 0:32 GMT+01:00 Laurent Pinchart <[email protected]>:
Quoted 33 lines
Hi Philippe,
Quoted 30 lines · On Tuesday, 23 January 2018 12:25:51 EET Philippe CORNU wrote:
Quoted 10 lines · Laurent Pinchart
Quoted 9 lines · On Monday, 22 January 2018 12:26:08 EET Philippe Cornu wrote:
Add SPDX identifiers to the Synopsys DesignWare MIPI DSI host controller driver.
Signed-off-by Philippe Cornu <[email protected]>---
drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)Quoted 10 lines
drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c line 1
Quoted 7 lines
(quoted diff) +0
-0
b/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.cindex46b0e73404d1..e06836dec77c100644drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c +1
-0@@ -1,12 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 According to
Documentation/process/license-rules.txtthis would change the existing license. The correct identifier is GPL-2.0+.You are right, I did not put the correct identifier :(
After reading more spdx.org, I wonder if the correct value should be GPL-2.0-or-later instead of GPL-2.0+
https://spdx.org/licenses/GPL-2.0-or-later.html
https://spdx.org/licenses/GPL-2.0+.html
Quoted 7 lines
Quoted 1 line
What is your opinion?
I agree in principle, and I've even asked for that before, but I've been told that we should stick to the license identifiers defined in
Documentation/process/license-rules.txt. The file might get updated to use GPL-2.0-or-later and GPL-2.0-only later, and kernel sources will likely then get patched in one go.
+ Philippe O. to check what I'm writing just below.
In -next branch I only see reference to GPL-2.0+ identifier so for me it fine to use it here.
Is that right ? or should we use GPL-2.0-or-later keyword ?
Benjamin
Quoted 18 lines
Quoted 13 lines
Quoted 13 lines
drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c line 8
Quoted 13 lines
drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c +0
-5/* * Copyright (c) 2016, Fuzhou Rockchip Electronics Co., Ltd * Copyright (C) STMicroelectronics SA 2017 * -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * Modified by Philippe Cornu <[email protected]> * This generic Synopsys DesignWare MIPI DSI host driver is based on the * Rockchip version from rockchip/dw-mipi-dsi.c with phy & bridge APIs. --
Regards,Laurent Pinchart
Benjamin,
Quoted 42 lines · Benjamin Gaignard
2018-01-24 0:32 GMT+01:00 Laurent Pinchart <[email protected]>:
Quoted 33 lines
Hi Philippe,
Quoted 30 lines · On Tuesday, 23 January 2018 12:25:51 EET Philippe CORNU wrote:
Quoted 10 lines · Laurent Pinchart
Quoted 9 lines · On Monday, 22 January 2018 12:26:08 EET Philippe Cornu wrote:
Add SPDX identifiers to the Synopsys DesignWare MIPI DSI host controller driver.
Signed-off-by Philippe Cornu <[email protected]>---
drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)Quoted 10 lines
drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c line 1
Quoted 7 lines
(quoted diff) +0
-0
b/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.cindex46b0e73404d1..e06836dec77c100644drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c +1
-0@@ -1,12 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 According to
Documentation/process/license-rules.txtthis would change the existing license. The correct identifier is GPL-2.0+.You are right, I did not put the correct identifier :(
After reading more spdx.org, I wonder if the correct value should be GPL-2.0-or-later instead of GPL-2.0+
https://spdx.org/licenses/GPL-2.0-or-later.html
https://spdx.org/licenses/GPL-2.0+.htmlQuoted 7 lines
Quoted 1 line
What is your opinion?
I agree in principle, and I've even asked for that before, but I've been told that we should stick to the license identifiers defined in
Documentation/process/license-rules.txt. The file might get updated to use GPL-2.0-or-later and GPL-2.0-only later, and kernel sources will likely then get patched in one go.
Quoted 5 lines
+ Philippe O. to check what I'm writing just below.
In -next branch I only see reference to GPL-2.0+ identifier so for me it fine to use it here.
Is that right ? or should we use GPL-2.0-or-later keyword ?
Sorry for the late reply!
IMHO it is essential to stick to what is in the kernel doc, meaning that you should not use the GPL-2.0-or-later identifier until it is part of the kernel doc. Otherwise this is going to be a mess ;) Consistency matters a lot.
Signature · 2 lines
Cordially Philippe Ombredanne
Hi Laurent, Benjamin & Philippe,
I sent an updated version of the patch following your comments Big thank you,
Philippe :-)
Quoted 59 lines · Philippe Ombredanne
Benjamin,
Quoted 42 lines · Benjamin Gaignard
2018-01-24 0:32 GMT+01:00 Laurent Pinchart <laurent.pinchart-ryLnwIuWjnjg/[email protected]>:
Quoted 33 lines
Hi Philippe,
Quoted 30 lines · On Tuesday, 23 January 2018 12:25:51 EET Philippe CORNU wrote:
Quoted 10 lines · Laurent Pinchart
Quoted 9 lines · On Monday, 22 January 2018 12:26:08 EET Philippe Cornu wrote:
Add SPDX identifiers to the Synopsys DesignWare MIPI DSI host controller driver.
Signed-off-by Philippe Cornu <[email protected]>---
drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)Quoted 10 lines
drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c line 1
Quoted 7 lines
(quoted diff) +0
-0
b/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.cindex46b0e73404d1..e06836dec77c100644drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c +1
-0@@ -1,12 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 According to
Documentation/process/license-rules.txtthis would change the existing license. The correct identifier is GPL-2.0+.You are right, I did not put the correct identifier :(
After reading more spdx.org, I wonder if the correct value should be GPL-2.0-or-later instead of GPL-2.0+
https://spdx.org/licenses/GPL-2.0-or-later.html
https://spdx.org/licenses/GPL-2.0+.htmlQuoted 7 lines
Quoted 1 line
What is your opinion?
I agree in principle, and I've even asked for that before, but I've been told that we should stick to the license identifiers defined in
Documentation/process/license-rules.txt. The file might get updated to use GPL-2.0-or-later and GPL-2.0-only later, and kernel sources will likely then get patched in one go.Quoted 5 lines
+ Philippe O. to check what I'm writing just below.
In -next branch I only see reference to GPL-2.0+ identifier so for me it fine to use it here.
Is that right ? or should we use GPL-2.0-or-later keyword ?Sorry for the late reply!
IMHO it is essential to stick to what is in the kernel doc, meaning that you should not use the GPL-2.0-or-later identifier until it is part of the kernel doc. Otherwise this is going to be a mess ;) Consistency matters a lot.