Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Fabio Estevam and committed by
Linus Walleij
c2b39dec de8a6c67

+151 -271
+8 -13
drivers/pinctrl/freescale/pinctrl-imx.c
··· 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> 14 9 15 10 #include <linux/err.h> 16 11 #include <linux/init.h>
+1 -5
drivers/pinctrl/freescale/pinctrl-imx.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 1 2 /* 2 3 * IMX pinmux core definitions 3 4 * ··· 6 5 * Copyright (C) 2012 Linaro Ltd. 7 6 * 8 7 * Author: Dong Aisheng <dong.aisheng@linaro.org> 9 - * 10 - * This program is free software; you can redistribute it and/or modify 11 - * it under the terms of the GNU General Public License as published by 12 - * the Free Software Foundation; either version 2 of the License, or 13 - * (at your option) any later version. 14 8 */ 15 9 16 10 #ifndef __DRIVERS_PINCTRL_IMX_H
+11 -16
drivers/pinctrl/freescale/pinctrl-imx1-core.c
··· 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. 17 12 18 13 #include <linux/bitops.h> 19 14 #include <linux/err.h>
+5 -10
drivers/pinctrl/freescale/pinctrl-imx1.c
··· 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> 11 6 12 7 #include <linux/init.h> 13 8 #include <linux/of.h>
+1 -5
drivers/pinctrl/freescale/pinctrl-imx1.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 1 2 /* 2 3 * IMX pinmux core definitions 3 4 * ··· 6 5 * Copyright (C) 2012 Linaro Ltd. 7 6 * 8 7 * Author: Dong Aisheng <dong.aisheng@linaro.org> 9 - * 10 - * This program is free software; you can redistribute it and/or modify 11 - * it under the terms of the GNU General Public License as published by 12 - * the Free Software Foundation; either version 2 of the License, or 13 - * (at your option) any later version. 14 8 */ 15 9 16 10 #ifndef __DRIVERS_PINCTRL_IMX1_H
+5 -10
drivers/pinctrl/freescale/pinctrl-imx21.c
··· 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> 11 6 12 7 #include <linux/init.h> 13 8 #include <linux/of.h>
+6 -13
drivers/pinctrl/freescale/pinctrl-imx23.c
··· 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. 14 7 15 8 #include <linux/init.h> 16 9 #include <linux/of_device.h>
+12 -16
drivers/pinctrl/freescale/pinctrl-imx25.c
··· 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> 17 13 18 14 #include <linux/err.h> 19 15 #include <linux/init.h>
+7 -12
drivers/pinctrl/freescale/pinctrl-imx27.c
··· 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> 13 8 14 9 #include <linux/err.h> 15 10 #include <linux/init.h>
+6 -13
drivers/pinctrl/freescale/pinctrl-imx28.c
··· 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. 14 7 15 8 #include <linux/init.h> 16 9 #include <linux/of_device.h>
+10 -14
drivers/pinctrl/freescale/pinctrl-imx35.c
··· 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> 15 11 16 12 #include <linux/err.h> 17 13 #include <linux/init.h>
+7 -12
drivers/pinctrl/freescale/pinctrl-imx50.c
··· 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. 13 8 14 9 #include <linux/err.h> 15 10 #include <linux/init.h>
+8 -13
drivers/pinctrl/freescale/pinctrl-imx51.c
··· 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> 14 9 15 10 #include <linux/err.h> 16 11 #include <linux/init.h>
+8 -13
drivers/pinctrl/freescale/pinctrl-imx53.c
··· 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> 14 9 15 10 #include <linux/err.h> 16 11 #include <linux/init.h>
+6 -10
drivers/pinctrl/freescale/pinctrl-imx6dl.c
··· 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. 11 7 12 8 #include <linux/err.h> 13 9 #include <linux/init.h>
+8 -13
drivers/pinctrl/freescale/pinctrl-imx6q.c
··· 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> 14 9 15 10 #include <linux/err.h> 16 11 #include <linux/init.h>
+6 -10
drivers/pinctrl/freescale/pinctrl-imx6sl.c
··· 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. 11 7 12 8 #include <linux/err.h> 13 9 #include <linux/init.h>
+3 -5
drivers/pinctrl/freescale/pinctrl-imx6sll.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 - /* 3 - * Copyright (C) 2016 Freescale Semiconductor, Inc. 4 - * Copyright 2017-2018 NXP. 5 - * 6 - */ 2 + // 3 + // Copyright (C) 2016 Freescale Semiconductor, Inc. 4 + // Copyright 2017-2018 NXP. 7 5 8 6 #include <linux/err.h> 9 7 #include <linux/init.h>
+6 -10
drivers/pinctrl/freescale/pinctrl-imx6sx.c
··· 1 - /* 2 - * Freescale imx6sx pinctrl driver 3 - * 4 - * Author: Anson Huang <Anson.Huang@freescale.com> 5 - * Copyright (C) 2014 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 imx6sx pinctrl driver 4 + // 5 + // Author: Anson Huang <Anson.Huang@freescale.com> 6 + // Copyright (C) 2014 Freescale Semiconductor, Inc. 11 7 12 8 #include <linux/err.h> 13 9 #include <linux/init.h>
+6 -10
drivers/pinctrl/freescale/pinctrl-imx6ul.c
··· 1 - /* 2 - * Freescale imx6ul pinctrl driver 3 - * 4 - * Author: Anson Huang <Anson.Huang@freescale.com> 5 - * Copyright (C) 2015 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 imx6ul pinctrl driver 4 + // 5 + // Author: Anson Huang <Anson.Huang@freescale.com> 6 + // Copyright (C) 2015 Freescale Semiconductor, Inc. 11 7 12 8 #include <linux/err.h> 13 9 #include <linux/init.h>
+6 -10
drivers/pinctrl/freescale/pinctrl-imx7d.c
··· 1 - /* 2 - * Freescale imx7d pinctrl driver 3 - * 4 - * Author: Anson Huang <Anson.Huang@freescale.com> 5 - * Copyright (C) 2014-2015 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 imx7d pinctrl driver 4 + // 5 + // Author: Anson Huang <Anson.Huang@freescale.com> 6 + // Copyright (C) 2014-2015 Freescale Semiconductor, Inc. 11 7 12 8 #include <linux/err.h> 13 9 #include <linux/init.h>
+6 -11
drivers/pinctrl/freescale/pinctrl-imx7ulp.c
··· 1 - /* 2 - * Copyright (C) 2016 Freescale Semiconductor, Inc. 3 - * Copyright (C) 2017 NXP 4 - * 5 - * Author: Dong Aisheng <aisheng.dong@nxp.com> 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 - * 11 - */ 1 + // SPDX-License-Identifier: GPL-2.0 2 + // 3 + // Copyright (C) 2016 Freescale Semiconductor, Inc. 4 + // Copyright (C) 2017 NXP 5 + // 6 + // Author: Dong Aisheng <aisheng.dong@nxp.com> 12 7 13 8 #include <linux/err.h> 14 9 #include <linux/init.h>
+3 -10
drivers/pinctrl/freescale/pinctrl-mxs.c
··· 1 - /* 2 - * Copyright 2012 Freescale Semiconductor, Inc. 3 - * 4 - * The code contained herein is licensed under the GNU General Public 5 - * License. You may obtain a copy of the GNU General Public License 6 - * Version 2 or later at the following locations: 7 - * 8 - * http://www.opensource.org/licenses/gpl-license.html 9 - * http://www.gnu.org/copyleft/gpl.html 10 - */ 1 + // SPDX-License-Identifier: GPL-2.0+ 2 + // 3 + // Copyright 2012 Freescale Semiconductor, Inc. 11 4 12 5 #include <linux/err.h> 13 6 #include <linux/init.h>
+1 -7
drivers/pinctrl/freescale/pinctrl-mxs.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 1 2 /* 2 3 * Copyright 2012 Freescale Semiconductor, Inc. 3 - * 4 - * The code contained herein is licensed under the GNU General Public 5 - * License. You may obtain a copy of the GNU General Public License 6 - * Version 2 or later at the following locations: 7 - * 8 - * http://www.opensource.org/licenses/gpl-license.html 9 - * http://www.gnu.org/copyleft/gpl.html 10 4 */ 11 5 12 6 #ifndef __PINCTRL_MXS_H
+5 -10
drivers/pinctrl/freescale/pinctrl-vf610.c
··· 1 - /* 2 - * VF610 pinctrl driver based on imx pinmux and pinconf core 3 - * 4 - * Copyright 2013 Freescale Semiconductor, Inc. 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 + // VF610 pinctrl driver based on imx pinmux and pinconf core 4 + // 5 + // Copyright 2013 Freescale Semiconductor, Inc. 11 6 12 7 #include <linux/err.h> 13 8 #include <linux/init.h>