* [PATCH 1/3] clk: max77686: Add SPDX license identifiers
@ 2018-08-07 16:17 Krzysztof Kozlowski
2018-08-07 16:17 ` [PATCH 2/3] clk: s2mps11,s3c64xx: " Krzysztof Kozlowski
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2018-08-07 16:17 UTC (permalink / raw)
To: Chanwoo Choi, Krzysztof Kozlowski, Bartlomiej Zolnierkiewicz,
Michael Turquette, Stephen Boyd, Sangbeom Kim, Rob Herring,
Mark Rutland, Javier Martinez Canillas, linux-kernel, linux-clk,
linux-samsung-soc, devicetree
Replace GPL v2.0 and v2.0+ license statements with SPDX license
identifiers.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
drivers/clk/clk-max77686.c | 27 ++++++---------------------
include/dt-bindings/clock/maxim,max77686.h | 5 +----
include/dt-bindings/clock/maxim,max77802.h | 5 +----
3 files changed, 8 insertions(+), 29 deletions(-)
diff --git a/drivers/clk/clk-max77686.c b/drivers/clk/clk-max77686.c
index eb953d3b0b69..02551fe4b87c 100644
--- a/drivers/clk/clk-max77686.c
+++ b/drivers/clk/clk-max77686.c
@@ -1,24 +1,9 @@
-/*
- * clk-max77686.c - Clock driver for Maxim 77686/MAX77802
- *
- * Copyright (C) 2012 Samsung Electornics
- * Jonghwa Lee <jonghwa3.lee@samsung.com>
- *
- * 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.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- *
- */
+// SPDX-License-Identifier: GPL-2.0+
+//
+// clk-max77686.c - Clock driver for Maxim 77686/MAX77802
+//
+// Copyright (C) 2012 Samsung Electornics
+// Jonghwa Lee <jonghwa3.lee@samsung.com>
#include <linux/kernel.h>
#include <linux/slab.h>
diff --git a/include/dt-bindings/clock/maxim,max77686.h b/include/dt-bindings/clock/maxim,max77686.h
index 7b28b0905869..af8261dcace1 100644
--- a/include/dt-bindings/clock/maxim,max77686.h
+++ b/include/dt-bindings/clock/maxim,max77686.h
@@ -1,10 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (C) 2014 Google, Inc
*
- * 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.
- *
* Device Tree binding constants clocks for the Maxim 77686 PMIC.
*/
diff --git a/include/dt-bindings/clock/maxim,max77802.h b/include/dt-bindings/clock/maxim,max77802.h
index 997312edcbb5..51adcbaed697 100644
--- a/include/dt-bindings/clock/maxim,max77802.h
+++ b/include/dt-bindings/clock/maxim,max77802.h
@@ -1,10 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (C) 2014 Google, Inc
*
- * 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.
- *
* Device Tree binding constants clocks for the Maxim 77802 PMIC.
*/
--
2.14.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 2/3] clk: s2mps11,s3c64xx: Add SPDX license identifiers
2018-08-07 16:17 [PATCH 1/3] clk: max77686: Add SPDX license identifiers Krzysztof Kozlowski
@ 2018-08-07 16:17 ` Krzysztof Kozlowski
2018-08-14 20:38 ` Rob Herring
2018-08-27 21:17 ` Stephen Boyd
2018-08-07 16:17 ` [PATCH 3/3] clk: s2mps11: Use existing defines from bindings for clock IDs Krzysztof Kozlowski
2018-08-27 21:17 ` [PATCH 1/3] clk: max77686: Add SPDX license identifiers Stephen Boyd
2 siblings, 2 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2018-08-07 16:17 UTC (permalink / raw)
To: Chanwoo Choi, Krzysztof Kozlowski, Bartlomiej Zolnierkiewicz,
Michael Turquette, Stephen Boyd, Sangbeom Kim, Rob Herring,
Mark Rutland, Javier Martinez Canillas, linux-kernel, linux-clk,
linux-samsung-soc, devicetree
Replace GPL v2.0 and v2.0+ license statements with SPDX license
identifiers.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
drivers/clk/clk-s2mps11.c | 21 +++++----------------
include/dt-bindings/clock/samsung,s2mps11.h | 5 +----
include/dt-bindings/clock/samsung,s3c64xx-clock.h | 7 ++-----
3 files changed, 8 insertions(+), 25 deletions(-)
diff --git a/drivers/clk/clk-s2mps11.c b/drivers/clk/clk-s2mps11.c
index d44e0eea31ec..ebf9115dad1d 100644
--- a/drivers/clk/clk-s2mps11.c
+++ b/drivers/clk/clk-s2mps11.c
@@ -1,19 +1,8 @@
-/*
- * clk-s2mps11.c - Clock driver for S2MPS11.
- *
- * Copyright (C) 2013,2014 Samsung Electornics
- *
- * 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.
- *
- * 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.
- *
- */
+// SPDX-License-Identifier: GPL-2.0+
+//
+// clk-s2mps11.c - Clock driver for S2MPS11.
+//
+// Copyright (C) 2013,2014 Samsung Electornics
#include <linux/module.h>
#include <linux/err.h>
diff --git a/include/dt-bindings/clock/samsung,s2mps11.h b/include/dt-bindings/clock/samsung,s2mps11.h
index b903d7de27c9..5ece35d429ff 100644
--- a/include/dt-bindings/clock/samsung,s2mps11.h
+++ b/include/dt-bindings/clock/samsung,s2mps11.h
@@ -1,10 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (C) 2015 Markus Reichl
*
- * 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.
- *
* Device Tree binding constants clocks for the Samsung S2MPS11 PMIC.
*/
diff --git a/include/dt-bindings/clock/samsung,s3c64xx-clock.h b/include/dt-bindings/clock/samsung,s3c64xx-clock.h
index ad95c7f50090..19d233f37e2f 100644
--- a/include/dt-bindings/clock/samsung,s3c64xx-clock.h
+++ b/include/dt-bindings/clock/samsung,s3c64xx-clock.h
@@ -1,12 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2013 Tomasz Figa <tomasz.figa at gmail.com>
*
- * 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.
- *
* Device Tree binding constants for Samsung S3C64xx clock controller.
-*/
+ */
#ifndef _DT_BINDINGS_CLOCK_SAMSUNG_S3C64XX_CLOCK_H
#define _DT_BINDINGS_CLOCK_SAMSUNG_S3C64XX_CLOCK_H
--
2.14.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 3/3] clk: s2mps11: Use existing defines from bindings for clock IDs
2018-08-07 16:17 [PATCH 1/3] clk: max77686: Add SPDX license identifiers Krzysztof Kozlowski
2018-08-07 16:17 ` [PATCH 2/3] clk: s2mps11,s3c64xx: " Krzysztof Kozlowski
@ 2018-08-07 16:17 ` Krzysztof Kozlowski
2018-08-14 20:37 ` Rob Herring
2018-08-27 21:18 ` Stephen Boyd
2018-08-27 21:17 ` [PATCH 1/3] clk: max77686: Add SPDX license identifiers Stephen Boyd
2 siblings, 2 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2018-08-07 16:17 UTC (permalink / raw)
To: Chanwoo Choi, Krzysztof Kozlowski, Bartlomiej Zolnierkiewicz,
Michael Turquette, Stephen Boyd, Sangbeom Kim, Rob Herring,
Mark Rutland, Javier Martinez Canillas, linux-kernel, linux-clk,
linux-samsung-soc, devicetree
The clock IDs must match between DeviceTree bindings and the driver.
There is already a header file used by DeviceTree sources so include it
in the driver to remove duplicated symbols.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
drivers/clk/clk-s2mps11.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/drivers/clk/clk-s2mps11.c b/drivers/clk/clk-s2mps11.c
index ebf9115dad1d..56221647207d 100644
--- a/drivers/clk/clk-s2mps11.c
+++ b/drivers/clk/clk-s2mps11.c
@@ -17,12 +17,7 @@
#include <linux/mfd/samsung/s5m8767.h>
#include <linux/mfd/samsung/core.h>
-enum {
- S2MPS11_CLK_AP = 0,
- S2MPS11_CLK_CP,
- S2MPS11_CLK_BT,
- S2MPS11_CLKS_NUM,
-};
+#include <dt-bindings/clock/samsung,s2mps11.h>
struct s2mps11_clk {
struct sec_pmic_dev *iodev;
--
2.14.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH 3/3] clk: s2mps11: Use existing defines from bindings for clock IDs
2018-08-07 16:17 ` [PATCH 3/3] clk: s2mps11: Use existing defines from bindings for clock IDs Krzysztof Kozlowski
@ 2018-08-14 20:37 ` Rob Herring
2018-08-27 21:18 ` Stephen Boyd
1 sibling, 0 replies; 8+ messages in thread
From: Rob Herring @ 2018-08-14 20:37 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Chanwoo Choi, Krzysztof Kozlowski, Bartlomiej Zolnierkiewicz,
Michael Turquette, Stephen Boyd, Sangbeom Kim, Mark Rutland,
Javier Martinez Canillas, linux-kernel, linux-clk,
linux-samsung-soc, devicetree
On Tue, 7 Aug 2018 18:17:13 +0200, Krzysztof Kozlowski wrote:
> The clock IDs must match between DeviceTree bindings and the driver.
> There is already a header file used by DeviceTree sources so include it
> in the driver to remove duplicated symbols.
>
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> ---
> drivers/clk/clk-s2mps11.c | 7 +------
> 1 file changed, 1 insertion(+), 6 deletions(-)
>
Reviewed-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 2/3] clk: s2mps11,s3c64xx: Add SPDX license identifiers
2018-08-07 16:17 ` [PATCH 2/3] clk: s2mps11,s3c64xx: " Krzysztof Kozlowski
@ 2018-08-14 20:38 ` Rob Herring
2018-08-27 21:17 ` Stephen Boyd
1 sibling, 0 replies; 8+ messages in thread
From: Rob Herring @ 2018-08-14 20:38 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Chanwoo Choi, Krzysztof Kozlowski, Bartlomiej Zolnierkiewicz,
Michael Turquette, Stephen Boyd, Sangbeom Kim, Mark Rutland,
Javier Martinez Canillas, linux-kernel, linux-clk,
linux-samsung-soc, devicetree
On Tue, 7 Aug 2018 18:17:12 +0200, Krzysztof Kozlowski wrote:
> Replace GPL v2.0 and v2.0+ license statements with SPDX license
> identifiers.
>
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> ---
> drivers/clk/clk-s2mps11.c | 21 +++++----------------
> include/dt-bindings/clock/samsung,s2mps11.h | 5 +----
> include/dt-bindings/clock/samsung,s3c64xx-clock.h | 7 ++-----
> 3 files changed, 8 insertions(+), 25 deletions(-)
>
Reviewed-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 1/3] clk: max77686: Add SPDX license identifiers
2018-08-07 16:17 [PATCH 1/3] clk: max77686: Add SPDX license identifiers Krzysztof Kozlowski
2018-08-07 16:17 ` [PATCH 2/3] clk: s2mps11,s3c64xx: " Krzysztof Kozlowski
2018-08-07 16:17 ` [PATCH 3/3] clk: s2mps11: Use existing defines from bindings for clock IDs Krzysztof Kozlowski
@ 2018-08-27 21:17 ` Stephen Boyd
2 siblings, 0 replies; 8+ messages in thread
From: Stephen Boyd @ 2018-08-27 21:17 UTC (permalink / raw)
To: Bartlomiej Zolnierkiewicz, Chanwoo Choi,
Javier Martinez Canillas, Krzysztof Kozlowski, Mark Rutland,
Michael Turquette, Rob Herring, Sangbeom Kim, devicetree,
linux-clk, linux-kernel, linux-samsung-soc
Quoting Krzysztof Kozlowski (2018-08-07 09:17:11)
> Replace GPL v2.0 and v2.0+ license statements with SPDX license
> identifiers.
>
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> ---
Applied to clk-next
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 2/3] clk: s2mps11,s3c64xx: Add SPDX license identifiers
2018-08-07 16:17 ` [PATCH 2/3] clk: s2mps11,s3c64xx: " Krzysztof Kozlowski
2018-08-14 20:38 ` Rob Herring
@ 2018-08-27 21:17 ` Stephen Boyd
1 sibling, 0 replies; 8+ messages in thread
From: Stephen Boyd @ 2018-08-27 21:17 UTC (permalink / raw)
To: Bartlomiej Zolnierkiewicz, Chanwoo Choi,
Javier Martinez Canillas, Krzysztof Kozlowski, Mark Rutland,
Michael Turquette, Rob Herring, Sangbeom Kim, devicetree,
linux-clk, linux-kernel, linux-samsung-soc
Quoting Krzysztof Kozlowski (2018-08-07 09:17:12)
> Replace GPL v2.0 and v2.0+ license statements with SPDX license
> identifiers.
>
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> ---
Applied to clk-next
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 3/3] clk: s2mps11: Use existing defines from bindings for clock IDs
2018-08-07 16:17 ` [PATCH 3/3] clk: s2mps11: Use existing defines from bindings for clock IDs Krzysztof Kozlowski
2018-08-14 20:37 ` Rob Herring
@ 2018-08-27 21:18 ` Stephen Boyd
1 sibling, 0 replies; 8+ messages in thread
From: Stephen Boyd @ 2018-08-27 21:18 UTC (permalink / raw)
To: Bartlomiej Zolnierkiewicz, Chanwoo Choi,
Javier Martinez Canillas, Krzysztof Kozlowski, Mark Rutland,
Michael Turquette, Rob Herring, Sangbeom Kim, devicetree,
linux-clk, linux-kernel, linux-samsung-soc
Quoting Krzysztof Kozlowski (2018-08-07 09:17:13)
> The clock IDs must match between DeviceTree bindings and the driver.
> There is already a header file used by DeviceTree sources so include it
> in the driver to remove duplicated symbols.
>
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> ---
Applied to clk-next
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2018-08-27 21:18 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-07 16:17 [PATCH 1/3] clk: max77686: Add SPDX license identifiers Krzysztof Kozlowski
2018-08-07 16:17 ` [PATCH 2/3] clk: s2mps11,s3c64xx: " Krzysztof Kozlowski
2018-08-14 20:38 ` Rob Herring
2018-08-27 21:17 ` Stephen Boyd
2018-08-07 16:17 ` [PATCH 3/3] clk: s2mps11: Use existing defines from bindings for clock IDs Krzysztof Kozlowski
2018-08-14 20:37 ` Rob Herring
2018-08-27 21:18 ` Stephen Boyd
2018-08-27 21:17 ` [PATCH 1/3] clk: max77686: Add SPDX license identifiers Stephen Boyd
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).