Skip to content

Commit c2b39de

Browse files
Fabio Estevamlinusw
authored andcommitted
pinctrl: freescale: Switch to SPDX identifier
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent de8a6c6 commit c2b39de

25 files changed

+151
-271
lines changed

drivers/pinctrl/freescale/pinctrl-imx.c

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
1-
/*
2-
* Core driver for the imx pin controller
3-
*
4-
* Copyright (C) 2012 Freescale Semiconductor, Inc.
5-
* Copyright (C) 2012 Linaro Ltd.
6-
*
7-
* Author: Dong Aisheng <dong.aisheng@linaro.org>
8-
*
9-
* This program is free software; you can redistribute it and/or modify
10-
* it under the terms of the GNU General Public License as published by
11-
* the Free Software Foundation; either version 2 of the License, or
12-
* (at your option) any later version.
13-
*/
1+
// SPDX-License-Identifier: GPL-2.0+
2+
//
3+
// Core driver for the imx pin controller
4+
//
5+
// Copyright (C) 2012 Freescale Semiconductor, Inc.
6+
// Copyright (C) 2012 Linaro Ltd.
7+
//
8+
// Author: Dong Aisheng <dong.aisheng@linaro.org>
149

1510
#include <linux/err.h>
1611
#include <linux/init.h>

drivers/pinctrl/freescale/pinctrl-imx.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
1+
/* SPDX-License-Identifier: GPL-2.0+ */
12
/*
23
* IMX pinmux core definitions
34
*
45
* Copyright (C) 2012 Freescale Semiconductor, Inc.
56
* Copyright (C) 2012 Linaro Ltd.
67
*
78
* Author: Dong Aisheng <dong.aisheng@linaro.org>
8-
*
9-
* This program is free software; you can redistribute it and/or modify
10-
* it under the terms of the GNU General Public License as published by
11-
* the Free Software Foundation; either version 2 of the License, or
12-
* (at your option) any later version.
139
*/
1410

1511
#ifndef __DRIVERS_PINCTRL_IMX_H

drivers/pinctrl/freescale/pinctrl-imx1-core.c

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,14 @@
1-
/*
2-
* Core driver for the imx pin controller in imx1/21/27
3-
*
4-
* Copyright (C) 2013 Pengutronix
5-
* Author: Markus Pargmann <mpa@pengutronix.de>
6-
*
7-
* Based on pinctrl-imx.c:
8-
* Author: Dong Aisheng <dong.aisheng@linaro.org>
9-
* Copyright (C) 2012 Freescale Semiconductor, Inc.
10-
* Copyright (C) 2012 Linaro Ltd.
11-
*
12-
* This program is free software; you can redistribute it and/or modify
13-
* it under the terms of the GNU General Public License as published by
14-
* the Free Software Foundation; either version 2 of the License, or
15-
* (at your option) any later version.
16-
*/
1+
// SPDX-License-Identifier: GPL-2.0+
2+
//
3+
// Core driver for the imx pin controller in imx1/21/27
4+
//
5+
// Copyright (C) 2013 Pengutronix
6+
// Author: Markus Pargmann <mpa@pengutronix.de>
7+
//
8+
// Based on pinctrl-imx.c:
9+
// Author: Dong Aisheng <dong.aisheng@linaro.org>
10+
// Copyright (C) 2012 Freescale Semiconductor, Inc.
11+
// Copyright (C) 2012 Linaro Ltd.
1712

1813
#include <linux/bitops.h>
1914
#include <linux/err.h>

drivers/pinctrl/freescale/pinctrl-imx1.c

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
1-
/*
2-
* i.MX1 pinctrl driver based on imx pinmux core
3-
*
4-
* Copyright (C) 2014 Alexander Shiyan <shc_work@mail.ru>
5-
*
6-
* This program is free software; you can redistribute it and/or modify
7-
* it under the terms of the GNU General Public License as published by
8-
* the Free Software Foundation; either version 2 of the License, or
9-
* (at your option) any later version.
10-
*/
1+
// SPDX-License-Identifier: GPL-2.0+
2+
//
3+
// i.MX1 pinctrl driver based on imx pinmux core
4+
//
5+
// Copyright (C) 2014 Alexander Shiyan <shc_work@mail.ru>
116

127
#include <linux/init.h>
138
#include <linux/of.h>

drivers/pinctrl/freescale/pinctrl-imx1.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
1+
/* SPDX-License-Identifier: GPL-2.0+ */
12
/*
23
* IMX pinmux core definitions
34
*
45
* Copyright (C) 2012 Freescale Semiconductor, Inc.
56
* Copyright (C) 2012 Linaro Ltd.
67
*
78
* Author: Dong Aisheng <dong.aisheng@linaro.org>
8-
*
9-
* This program is free software; you can redistribute it and/or modify
10-
* it under the terms of the GNU General Public License as published by
11-
* the Free Software Foundation; either version 2 of the License, or
12-
* (at your option) any later version.
139
*/
1410

1511
#ifndef __DRIVERS_PINCTRL_IMX1_H

drivers/pinctrl/freescale/pinctrl-imx21.c

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
1-
/*
2-
* i.MX21 pinctrl driver based on imx pinmux core
3-
*
4-
* Copyright (C) 2014 Alexander Shiyan <shc_work@mail.ru>
5-
*
6-
* This program is free software; you can redistribute it and/or modify
7-
* it under the terms of the GNU General Public License as published by
8-
* the Free Software Foundation; either version 2 of the License, or
9-
* (at your option) any later version.
10-
*/
1+
// SPDX-License-Identifier: GPL-2.0+
2+
//
3+
// i.MX21 pinctrl driver based on imx pinmux core
4+
//
5+
// Copyright (C) 2014 Alexander Shiyan <shc_work@mail.ru>
116

127
#include <linux/init.h>
138
#include <linux/of.h>

drivers/pinctrl/freescale/pinctrl-imx23.c

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,9 @@
1-
/*
2-
* Freescale i.MX23 pinctrl driver
3-
*
4-
* Author: Shawn Guo <shawn.guo@linaro.org>
5-
* Copyright 2012 Freescale Semiconductor, Inc.
6-
*
7-
* The code contained herein is licensed under the GNU General Public
8-
* License. You may obtain a copy of the GNU General Public License
9-
* Version 2 or later at the following locations:
10-
*
11-
* http://www.opensource.org/licenses/gpl-license.html
12-
* http://www.gnu.org/copyleft/gpl.html
13-
*/
1+
// SPDX-License-Identifier: GPL-2.0+
2+
//
3+
// Freescale i.MX23 pinctrl driver
4+
//
5+
// Author: Shawn Guo <shawn.guo@linaro.org>
6+
// Copyright 2012 Freescale Semiconductor, Inc.
147

158
#include <linux/init.h>
169
#include <linux/of_device.h>

drivers/pinctrl/freescale/pinctrl-imx25.c

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
1-
/*
2-
* imx25 pinctrl driver.
3-
*
4-
* Copyright 2013 Eukréa Electromatique <denis@eukrea.com>
5-
*
6-
* This driver was mostly copied from the imx51 pinctrl driver which has:
7-
*
8-
* Copyright (C) 2012 Freescale Semiconductor, Inc.
9-
* Copyright (C) 2012 Linaro, Inc.
10-
*
11-
* Author: Denis Carikli <denis@eukrea.com>
12-
*
13-
* This program is free software; you can redistribute it and/or modify
14-
* it under the terms of the GNU General Public License version 2 as published
15-
* by the Free Software Foundation.
16-
*/
1+
// SPDX-License-Identifier: GPL-2.0
2+
//
3+
// imx25 pinctrl driver.
4+
//
5+
// Copyright 2013 Eukréa Electromatique <denis@eukrea.com>
6+
//
7+
// This driver was mostly copied from the imx51 pinctrl driver which has:
8+
//
9+
// Copyright (C) 2012 Freescale Semiconductor, Inc.
10+
// Copyright (C) 2012 Linaro, Inc.
11+
//
12+
// Author: Denis Carikli <denis@eukrea.com>
1713

1814
#include <linux/err.h>
1915
#include <linux/init.h>

drivers/pinctrl/freescale/pinctrl-imx27.c

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
1-
/*
2-
* imx27 pinctrl driver based on imx pinmux core
3-
*
4-
* Copyright (C) 2013 Pengutronix
5-
*
6-
* Author: Markus Pargmann <mpa@pengutronix.de>
7-
*
8-
* This program is free software; you can redistribute it and/or modify
9-
* it under the terms of the GNU General Public License as published by
10-
* the Free Software Foundation; either version 2 of the License, or
11-
* (at your option) any later version.
12-
*/
1+
// SPDX-License-Identifier: GPL-2.0+
2+
//
3+
// imx27 pinctrl driver based on imx pinmux core
4+
//
5+
// Copyright (C) 2013 Pengutronix
6+
//
7+
// Author: Markus Pargmann <mpa@pengutronix.de>
138

149
#include <linux/err.h>
1510
#include <linux/init.h>

drivers/pinctrl/freescale/pinctrl-imx28.c

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,9 @@
1-
/*
2-
* Freescale i.MX28 pinctrl driver
3-
*
4-
* Author: Shawn Guo <shawn.guo@linaro.org>
5-
* Copyright 2012 Freescale Semiconductor, Inc.
6-
*
7-
* The code contained herein is licensed under the GNU General Public
8-
* License. You may obtain a copy of the GNU General Public License
9-
* Version 2 or later at the following locations:
10-
*
11-
* http://www.opensource.org/licenses/gpl-license.html
12-
* http://www.gnu.org/copyleft/gpl.html
13-
*/
1+
// SPDX-License-Identifier: GPL-2.0+
2+
//
3+
// Freescale i.MX28 pinctrl driver
4+
//
5+
// Author: Shawn Guo <shawn.guo@linaro.org>
6+
// Copyright 2012 Freescale Semiconductor, Inc.
147

158
#include <linux/init.h>
169
#include <linux/of_device.h>

drivers/pinctrl/freescale/pinctrl-imx35.c

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
1-
/*
2-
* imx35 pinctrl driver.
3-
*
4-
* This driver was mostly copied from the imx51 pinctrl driver which has:
5-
*
6-
* Copyright (C) 2012 Freescale Semiconductor, Inc.
7-
* Copyright (C) 2012 Linaro, Inc.
8-
*
9-
* Author: Dong Aisheng <dong.aisheng@linaro.org>
10-
*
11-
* This program is free software; you can redistribute it and/or modify
12-
* it under the terms of the GNU General Public License version 2 as published
13-
* by the Free Software Foundation.
14-
*/
1+
// SPDX-License-Identifier: GPL-2.0
2+
//
3+
// imx35 pinctrl driver.
4+
//
5+
// This driver was mostly copied from the imx51 pinctrl driver which has:
6+
//
7+
// Copyright (C) 2012 Freescale Semiconductor, Inc.
8+
// Copyright (C) 2012 Linaro, Inc.
9+
//
10+
// Author: Dong Aisheng <dong.aisheng@linaro.org>
1511

1612
#include <linux/err.h>
1713
#include <linux/init.h>

drivers/pinctrl/freescale/pinctrl-imx50.c

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
1-
/*
2-
* imx50 pinctrl driver based on imx pinmux core
3-
*
4-
* Copyright (C) 2013 Greg Ungerer <gerg@uclinux.org>
5-
* Copyright (C) 2012 Freescale Semiconductor, Inc.
6-
* Copyright (C) 2012 Linaro, Inc.
7-
*
8-
* This program is free software; you can redistribute it and/or modify
9-
* it under the terms of the GNU General Public License as published by
10-
* the Free Software Foundation; either version 2 of the License, or
11-
* (at your option) any later version.
12-
*/
1+
// SPDX-License-Identifier: GPL-2.0+
2+
//
3+
// imx50 pinctrl driver based on imx pinmux core
4+
//
5+
// Copyright (C) 2013 Greg Ungerer <gerg@uclinux.org>
6+
// Copyright (C) 2012 Freescale Semiconductor, Inc.
7+
// Copyright (C) 2012 Linaro, Inc.
138

149
#include <linux/err.h>
1510
#include <linux/init.h>

drivers/pinctrl/freescale/pinctrl-imx51.c

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
1-
/*
2-
* imx51 pinctrl driver based on imx pinmux core
3-
*
4-
* Copyright (C) 2012 Freescale Semiconductor, Inc.
5-
* Copyright (C) 2012 Linaro, Inc.
6-
*
7-
* Author: Dong Aisheng <dong.aisheng@linaro.org>
8-
*
9-
* This program is free software; you can redistribute it and/or modify
10-
* it under the terms of the GNU General Public License as published by
11-
* the Free Software Foundation; either version 2 of the License, or
12-
* (at your option) any later version.
13-
*/
1+
// SPDX-License-Identifier: GPL-2.0+
2+
//
3+
// imx51 pinctrl driver based on imx pinmux core
4+
//
5+
// Copyright (C) 2012 Freescale Semiconductor, Inc.
6+
// Copyright (C) 2012 Linaro, Inc.
7+
//
8+
// Author: Dong Aisheng <dong.aisheng@linaro.org>
149

1510
#include <linux/err.h>
1611
#include <linux/init.h>

drivers/pinctrl/freescale/pinctrl-imx53.c

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
1-
/*
2-
* imx53 pinctrl driver based on imx pinmux core
3-
*
4-
* Copyright (C) 2012 Freescale Semiconductor, Inc.
5-
* Copyright (C) 2012 Linaro, Inc.
6-
*
7-
* Author: Dong Aisheng <dong.aisheng@linaro.org>
8-
*
9-
* This program is free software; you can redistribute it and/or modify
10-
* it under the terms of the GNU General Public License as published by
11-
* the Free Software Foundation; either version 2 of the License, or
12-
* (at your option) any later version.
13-
*/
1+
// SPDX-License-Identifier: GPL-2.0+
2+
//
3+
// imx53 pinctrl driver based on imx pinmux core
4+
//
5+
// Copyright (C) 2012 Freescale Semiconductor, Inc.
6+
// Copyright (C) 2012 Linaro, Inc.
7+
//
8+
// Author: Dong Aisheng <dong.aisheng@linaro.org>
149

1510
#include <linux/err.h>
1611
#include <linux/init.h>

drivers/pinctrl/freescale/pinctrl-imx6dl.c

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
1-
/*
2-
* Freescale imx6dl pinctrl driver
3-
*
4-
* Author: Shawn Guo <shawn.guo@linaro.org>
5-
* Copyright (C) 2013 Freescale Semiconductor, Inc.
6-
*
7-
* This program is free software; you can redistribute it and/or modify
8-
* it under the terms of the GNU General Public License version 2 as
9-
* published by the Free Software Foundation.
10-
*/
1+
// SPDX-License-Identifier: GPL-2.0
2+
//
3+
// Freescale imx6dl pinctrl driver
4+
//
5+
// Author: Shawn Guo <shawn.guo@linaro.org>
6+
// Copyright (C) 2013 Freescale Semiconductor, Inc.
117

128
#include <linux/err.h>
139
#include <linux/init.h>

drivers/pinctrl/freescale/pinctrl-imx6q.c

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
1-
/*
2-
* imx6q pinctrl driver based on imx pinmux core
3-
*
4-
* Copyright (C) 2012 Freescale Semiconductor, Inc.
5-
* Copyright (C) 2012 Linaro, Inc.
6-
*
7-
* Author: Dong Aisheng <dong.aisheng@linaro.org>
8-
*
9-
* This program is free software; you can redistribute it and/or modify
10-
* it under the terms of the GNU General Public License as published by
11-
* the Free Software Foundation; either version 2 of the License, or
12-
* (at your option) any later version.
13-
*/
1+
// SPDX-License-Identifier: GPL-2.0+
2+
//
3+
// imx6q pinctrl driver based on imx pinmux core
4+
//
5+
// Copyright (C) 2012 Freescale Semiconductor, Inc.
6+
// Copyright (C) 2012 Linaro, Inc.
7+
//
8+
// Author: Dong Aisheng <dong.aisheng@linaro.org>
149

1510
#include <linux/err.h>
1611
#include <linux/init.h>

drivers/pinctrl/freescale/pinctrl-imx6sl.c

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
1-
/*
2-
* Freescale imx6sl pinctrl driver
3-
*
4-
* Author: Shawn Guo <shawn.guo@linaro.org>
5-
* Copyright (C) 2013 Freescale Semiconductor, Inc.
6-
*
7-
* This program is free software; you can redistribute it and/or modify
8-
* it under the terms of the GNU General Public License version 2 as
9-
* published by the Free Software Foundation.
10-
*/
1+
// SPDX-License-Identifier: GPL-2.0
2+
//
3+
// Freescale imx6sl pinctrl driver
4+
//
5+
// Author: Shawn Guo <shawn.guo@linaro.org>
6+
// Copyright (C) 2013 Freescale Semiconductor, Inc.
117

128
#include <linux/err.h>
139
#include <linux/init.h>

0 commit comments

Comments
 (0)