gpio: Replace license and copyright boilerplate by SPDX identifiers
Subsystems (7)
PATCH 1/1 gpio: Replace license and copyright boilerplate by SPDX identifiers
Converts the files that licensecheck can determine to be licensed under GPL-2.0-only or GPL-2.0-or-later and also convert the copyright statements to SPDX.
Signed-off-by Uwe Kleine-König <[email protected]>
--- drivers/gpio/gpio-74164.c | 15 ++++++------- drivers/gpio/gpio-ath79.c | 14 ++++++------ drivers/gpio/gpio-davinci.c | 14 +++++------- drivers/gpio/gpio-digic.c | 17 ++------------- drivers/gpio/gpio-dw.c | 18 +++------------- drivers/gpio/gpio-generic.c | 15 +++++-------- drivers/gpio/gpio-imx.c | 23 +++++--------------- drivers/gpio/gpio-jz4740.c | 18 ++++------------ drivers/gpio/gpio-libftdi1.c | 16 +++----------- drivers/gpio/gpio-malta-fpga-i2c.c | 18 ++-------------- drivers/gpio/gpio-mpc8xxx.c | 11 ++++------ drivers/gpio/gpio-mxs.c | 12 ++--------- drivers/gpio/gpio-omap.c | 34 +++++------------------------- drivers/gpio/gpio-orion.c | 13 ++---------- drivers/gpio/gpio-pca953x.c | 12 ++++------- drivers/gpio/gpio-pcf857x.c | 10 +++------ drivers/gpio/gpio-pl061.c | 9 +++----- drivers/gpio/gpio-stmpe.c | 17 ++------------- drivers/gpio/gpio-sx150x.c | 11 ++++------ drivers/gpio/gpio-tegra.c | 19 +++-------------- drivers/gpio/gpio-vf610.c | 16 +++----------- 21 files changed, 76 insertions(+), 256 deletions(-)
drivers/gpio/gpio-74164.c +6 -9
@@ -1,16 +1,13 @@ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: 2010 Gabor Juhos <[email protected]> +// SPDX-FileCopyrightText: 2010 Miguel Gaio <[email protected]> +/* * Generic serial-in/parallel-out 8-bits shift register GPIO driver * e.g. for 74x164 * -* Sebastian Hesselbarth <[email protected]> -* -* Based on Linux driver -* Copyright (C) 2010 Gabor Juhos <[email protected]> -* Copyright (C) 2010 Miguel Gaio <[email protected]> -* -* 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. +* Created by Sebastian Hesselbarth <[email protected]> +* based on the Linux driver for this hardware. */ #include <common.h>
drivers/gpio/gpio-ath79.c +6 -8
@@ -1,16 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: 2010-2011 Jaiganesh Narayanan <[email protected]> +// SPDX-FileCopyrightText: 2008-2011 Gabor Juhos <[email protected]> +// SPDX-FileCopyrightText: 2008 Imre Kaloz <[email protected]> +// SPDX-FileCopyrightText: 2015 Antony Pavlov <[email protected]> +/* * Atheros AR71XX/AR724X/AR913X GPIO API support * -* Copyright (C) 2010-2011 Jaiganesh Narayanan <[email protected]> -* Copyright (C) 2008-2011 Gabor Juhos <[email protected]> -* Copyright (C) 2008 Imre Kaloz <[email protected]> -* Copyright (C) 2015 Antony Pavlov <[email protected]> -* * Parts of this file are based on Atheros' 2.6.15/2.6.31 BSP * -* 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. */ #include <common.h>
drivers/gpio/gpio-davinci.c +5 -9
@@ -1,14 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: 2006-2007 David Brownell +// SPDX-FileCopyrightText: 2007 MontaVista Software, Inc. <[email protected]> +// SPDX-FileCopyrightText: 2014 Antony Pavlov <[email protected]> +/* * TI DaVinci GPIO Support -* -* Copyright (c) 2006-2007 David Brownell -* Copyright (c) 2007, MontaVista Software, Inc. <[email protected]> -* Copyright (c) 2014 Antony Pavlov <[email protected]> -* -* 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. */ #include <common.h>
drivers/gpio/gpio-digic.c +2 -15
@@ -1,18 +1,5 @@ -/* -* Copyright (C) 2013 Antony Pavlov <[email protected]> -* -* This file is part of barebox. -* -* 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. -* -* 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-only +// SPDX-FileCopyrightText: 2013 Antony Pavlov <[email protected]> #include <common.h> #include <malloc.h>
drivers/gpio/gpio-dw.c +3 -15
@@ -1,20 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: 2012 Altera +/* * Designware GPIO support functions -* -* Copyright (C) 2012 Altera -* -* 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, see <http://www.gnu.org/licenses/>. */ #include <common.h>
drivers/gpio/gpio-generic.c +5 -10
@@ -1,14 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: 2008 MontaVista Software, Inc. +// SPDX-FileCopyrightText: 2008,2010 Anton Vorontsov <[email protected]> +/* -* Generic driver for memory-mapped GPIO controllers. -* -* Based on linux driver by: -* Copyright 2008 MontaVista Software, Inc. -* Copyright 2008,2010 Anton Vorontsov <[email protected]> -* -* 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. +* Generic driver for memory-mapped GPIO controllers, based on the Linux driver. */ #include <init.h>
drivers/gpio/gpio-imx.c +5 -18
@@ -1,23 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: 2004 Sascha Hauer, Synertronixx GmbH +/* -* arch/arm/mach-imx/gpio.c -* -* author: Sascha Hauer -* Created: april 20th, 2004 -* Copyright: Synertronixx GmbH -* -* Common code for i.MX machines -* -* 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. -* +* arch/arm/mach-imx/gpio.c * +* Common code for i.MX machines */ #include <common.h>
drivers/gpio/gpio-jz4740.c +4 -14
@@ -1,19 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: 2013,2014 Antony Pavlov <[email protected]> +// SPDX-FileCopyrightText: 2009-2010 Lars-Peter Clausen <[email protected]> +/* -* Copyright (C) 2013, 2014 Antony Pavlov <[email protected]> -* * Based on Linux JZ4740 platform GPIO support: -* Copyright (C) 2009-2010, Lars-Peter Clausen <[email protected]> -* -* 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. -* */ #include <common.h>
drivers/gpio/gpio-libftdi1.c +3 -13
@@ -1,18 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: 2016,2017 Antony Pavlov <[email protected]> +/* * libftdi1 sandbox barebox GPIO driver -* -* Copyright (C) 2016, 2017 Antony Pavlov <[email protected]> -* -* 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. -* */ #include <common.h>
drivers/gpio/gpio-malta-fpga-i2c.c +2 -16
@@ -1,19 +1,5 @@ -/* -* Copyright (C) 2014 Antony Pavlov <[email protected]> -* -* This file is part of barebox. -* -* 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-or-later +// SPDX-FileCopyrightText: 2014 Antony Pavlov <[email protected]> #include <common.h> #include <init.h>
drivers/gpio/gpio-mpc8xxx.c +4 -7
@@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: 2008 Peter Korsgaard <[email protected]> +// SPDX-FileCopyrightText: 2016 Freescale Semiconductor Inc. +/* * GPIOs on MPC512x/8349/8572/8610/QorIQ and compatible -* -* Copyright (C) 2008 Peter Korsgaard <[email protected]> -* Copyright (C) 2016 Freescale Semiconductor Inc. -* -* This file is licensed under the terms of the GNU General Public License -* version 2. This program is licensed "as is" without any warranty of any -* kind, whether express or implied. */ #include <common.h>
drivers/gpio/gpio-mxs.c +2 -10
@@ -1,15 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/* * Freescale MXS gpio support -* -* 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. */ #include <common.h>
drivers/gpio/gpio-omap.c +5 -29
@@ -1,35 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: 2009 Wind River Systems, Inc. (Tom Rix <[email protected]>) +// SPDX-FileCopyrightText: 2003-2005 Nokia Corporation (Juha Yrjölä <[email protected]>) +/* -* Copyright (c) 2009 Wind River Systems, Inc. -* Tom Rix <[email protected]> -* -* 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. -* -* -* This work is derived from the linux 2.6.27 kernel source -* To fetch, use the kernel repository -* git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git -* Use the v2.6.27 tag. -* -* Below is the original's header including its copyright -* -* linux/arch/arm/plat-omap/gpio.c -* * Support functions for OMAP GPIO * -* Copyright (C) 2003-2005 Nokia Corporation -* Written by Juha Yrjölä <[email protected]> -* -* 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. +* This work is derived from the omap GPIO driver in Linux 2.6.27. */ #include <common.h> #include <io.h>
drivers/gpio/gpio-orion.c +2 -11
@@ -1,18 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/* * Marvell Orion/MVEBU SoC GPIO driver * * Sebastian Hesselbarth <[email protected]> -* -* 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. -* */ #include <common.h>
drivers/gpio/gpio-pca953x.c +4 -8
@@ -1,16 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: 2005 Ben Gardner <[email protected]> +// SPDX-FileCopyrightText: 2007 Marvell International Ltd. +/* * PCA953x 4/8/16/24/40 bit I/O ports * * This code was ported from linux-3.15 kernel by Antony Pavlov. -* -* Copyright (C) 2005 Ben Gardner <[email protected]> -* Copyright (C) 2007 Marvell International Ltd. -* * Derived from drivers/i2c/chips/pca9539.c -* -* 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; version 2 of the License. */ #include <common.h>
drivers/gpio/gpio-pcf857x.c +3 -7
@@ -1,14 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: 2007 David Brownell +/* * Driver for pcf857x, pca857x, and pca967x I2C GPIO expanders * * This code was ported from linux-5.1 kernel by Michael Grzeschik. -* -* Copyright (C) 2007 David Brownell -* -* 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. */ #include <common.h>
drivers/gpio/gpio-pl061.c +3 -6
@@ -1,10 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: 2008,2009 Provigent Ltd. +/* -* Copyright (C) 2008, 2009 Provigent Ltd. -* -* 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. -* * Driver for the ARM PrimeCell(tm) General Purpose Input/Output (PL061) * * Data sheet: ARM DDI 0190B, September 2000
drivers/gpio/gpio-stmpe.c +2 -15
@@ -1,18 +1,5 @@ -/* -* Copyright (C) 2012 Pengutronix -* Steffen Trumtrar <[email protected]> -* -* 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-or-later +// SPDX-FileCopyrightText: 2012 Steffen Trumtrar <[email protected]>, Pengutronix #include <common.h> #include <errno.h>
drivers/gpio/gpio-sx150x.c +4 -7
@@ -1,19 +1,16 @@ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: 2016 BayLibre, SAS (Neil Armstrong <[email protected]>) +// SPDX-FileCopyrightText: 2010 Code Aurora Forum +/* * Driver for SX150x I2C GPIO expanders * * This code was ported from linux-4.9 kernel driver by * Andrey Smirnov <[email protected]>. * -* Orginal code with it's copyright info can be found in -* drivers/pinctrl/pinctrl-sx150x.c -* * Note: That although linux driver was converted from being a GPIO * subsystem to Pinctrl subsytem driver, due to Barebox's lack of * similar provisions this driver is still a GPIO driver. -* -* 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; version 2 of the License. */ #include <common.h>
drivers/gpio/gpio-tegra.c +3 -16
@@ -1,19 +1,6 @@ -/* * -* Copyright (C) 2010 Erik Gilling <[email protected]>, Google, Inc -* Copyright (C) 2013 Lucas Stach <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms and conditions of the GNU General Public License, -* version 2, as published by the Free Software Foundation. -* -* This program is distributed in the hope 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, see <http://www.gnu.org/licenses/>. -*/ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: 2010 Erik Gilling <[email protected]>, Google, Inc +// SPDX-FileCopyrightText: 2013 Lucas Stach <[email protected]> #include <common.h> #include <gpio.h>
drivers/gpio/gpio-vf610.c +3 -13
@@ -1,18 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: 2014 Toradex AG (Stefan Agner <[email protected]>) +/* * vf610 GPIO support through PORT and GPIO module -* -* Copyright (c) 2014 Toradex AG. -* -* Author: Stefan Agner <[email protected]>. -* -* 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. */ #include <common.h>
Signature · 7 lines
2.30.0 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Sascha Hauer
AppliedQuoted 20 lines · Uwe Kleine-König
Converts the files that licensecheck can determine to be licensed under GPL-2.0-only or GPL-2.0-or-later and also convert the copyright statements to SPDX.
Signed-off-by Uwe Kleine-König <[email protected]>--- drivers/gpio/gpio-74164.c | 15 ++++++------- drivers/gpio/gpio-ath79.c | 14 ++++++------ drivers/gpio/gpio-davinci.c | 14 +++++------- drivers/gpio/gpio-digic.c | 17 ++------------- drivers/gpio/gpio-dw.c | 18 +++------------- drivers/gpio/gpio-generic.c | 15 +++++-------- drivers/gpio/gpio-imx.c | 23 +++++--------------- drivers/gpio/gpio-jz4740.c | 18 ++++------------ drivers/gpio/gpio-libftdi1.c | 16 +++----------- drivers/gpio/gpio-malta-fpga-i2c.c | 18 ++-------------- drivers/gpio/gpio-mpc8xxx.c | 11 ++++------ drivers/gpio/gpio-mxs.c | 12 ++--------- drivers/gpio/gpio-omap.c | 34 +++++------------------------- drivers/gpio/gpio-orion.c | 13 ++----------
Quoted 8 lines
drivers/gpio/gpio-pca953x.c | 12 ++++------- drivers/gpio/gpio-pcf857x.c | 10 +++------ drivers/gpio/gpio-pl061.c | 9 +++----- drivers/gpio/gpio-stmpe.c | 17 ++------------- drivers/gpio/gpio-sx150x.c | 11 ++++------ drivers/gpio/gpio-tegra.c | 19 +++-------------- drivers/gpio/gpio-vf610.c | 16 +++----------- 21 files changed, 76 insertions(+), 256 deletions(-)
Applied, thanks
Sascha
Quoted 561 lines
drivers/gpio/gpio-74164.c +6
-9@@ -1,16 +1,13 @@ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: 2010 Gabor Juhos <[email protected]> +// SPDX-FileCopyrightText: 2010 Miguel Gaio <[email protected]> +/* * Generic serial-in/parallel-out 8-bits shift register GPIO driver * e.g. for 74x164 * -* Sebastian Hesselbarth <[email protected]> -* -* Based on Linux driver -* Copyright (C) 2010 Gabor Juhos <[email protected]> -* Copyright (C) 2010 Miguel Gaio <[email protected]> -* -* 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. +* Created by Sebastian Hesselbarth <[email protected]> +* based on the Linux driver for this hardware. */ #include <common.h> drivers/gpio/gpio-ath79.c +6
-8@@ -1,16 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: 2010-2011 Jaiganesh Narayanan <[email protected]> +// SPDX-FileCopyrightText: 2008-2011 Gabor Juhos <[email protected]> +// SPDX-FileCopyrightText: 2008 Imre Kaloz <[email protected]> +// SPDX-FileCopyrightText: 2015 Antony Pavlov <[email protected]> +/* * Atheros AR71XX/AR724X/AR913X GPIO API support * -* Copyright (C) 2010-2011 Jaiganesh Narayanan <[email protected]> -* Copyright (C) 2008-2011 Gabor Juhos <[email protected]> -* Copyright (C) 2008 Imre Kaloz <[email protected]> -* Copyright (C) 2015 Antony Pavlov <[email protected]> -* * Parts of this file are based on Atheros' 2.6.15/2.6.31 BSP * -* 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. */ #include <common.h> drivers/gpio/gpio-davinci.c +5
-9@@ -1,14 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: 2006-2007 David Brownell +// SPDX-FileCopyrightText: 2007 MontaVista Software, Inc. <[email protected]> +// SPDX-FileCopyrightText: 2014 Antony Pavlov <[email protected]> +/* * TI DaVinci GPIO Support -* -* Copyright (c) 2006-2007 David Brownell -* Copyright (c) 2007, MontaVista Software, Inc. <[email protected]> -* Copyright (c) 2014 Antony Pavlov <[email protected]> -* -* 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. */ #include <common.h> drivers/gpio/gpio-digic.c +2
-15@@ -1,18 +1,5 @@ -/* -* Copyright (C) 2013 Antony Pavlov <[email protected]> -* -* This file is part of barebox. -* -* 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. -* -* 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-only +// SPDX-FileCopyrightText: 2013 Antony Pavlov <[email protected]> #include <common.h> #include <malloc.h> drivers/gpio/gpio-dw.c +3
-15@@ -1,20 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: 2012 Altera +/* * Designware GPIO support functions -* -* Copyright (C) 2012 Altera -* -* 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, see <http://www.gnu.org/licenses/>. */ #include <common.h> drivers/gpio/gpio-generic.c +5
-10@@ -1,14 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: 2008 MontaVista Software, Inc. +// SPDX-FileCopyrightText: 2008,2010 Anton Vorontsov <[email protected]> +/* -* Generic driver for memory-mapped GPIO controllers. -* -* Based on linux driver by: -* Copyright 2008 MontaVista Software, Inc. -* Copyright 2008,2010 Anton Vorontsov <[email protected]> -* -* 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. +* Generic driver for memory-mapped GPIO controllers, based on the Linux driver. */ #include <init.h> drivers/gpio/gpio-imx.c +5
-18@@ -1,23 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: 2004 Sascha Hauer, Synertronixx GmbH +/* -* arch/arm/mach-imx/gpio.c -* -* author: Sascha Hauer -* Created: april 20th, 2004 -* Copyright: Synertronixx GmbH -* -* Common code for i.MX machines -* -* 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. -* +* arch/arm/mach-imx/gpio.c * +* Common code for i.MX machines */ #include <common.h> drivers/gpio/gpio-jz4740.c +4
-14@@ -1,19 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: 2013,2014 Antony Pavlov <[email protected]> +// SPDX-FileCopyrightText: 2009-2010 Lars-Peter Clausen <[email protected]> +/* -* Copyright (C) 2013, 2014 Antony Pavlov <[email protected]> -* * Based on Linux JZ4740 platform GPIO support: -* Copyright (C) 2009-2010, Lars-Peter Clausen <[email protected]> -* -* 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. -* */ #include <common.h> drivers/gpio/gpio-libftdi1.c +3
-13@@ -1,18 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: 2016,2017 Antony Pavlov <[email protected]> +/* * libftdi1 sandbox barebox GPIO driver -* -* Copyright (C) 2016, 2017 Antony Pavlov <[email protected]> -* -* 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. -* */ #include <common.h> drivers/gpio/gpio-malta-fpga-i2c.c +2
-16@@ -1,19 +1,5 @@ -/* -* Copyright (C) 2014 Antony Pavlov <[email protected]> -* -* This file is part of barebox. -* -* 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-or-later +// SPDX-FileCopyrightText: 2014 Antony Pavlov <[email protected]> #include <common.h> #include <init.h> drivers/gpio/gpio-mpc8xxx.c +4
-7@@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: 2008 Peter Korsgaard <[email protected]> +// SPDX-FileCopyrightText: 2016 Freescale Semiconductor Inc. +/* * GPIOs on MPC512x/8349/8572/8610/QorIQ and compatible -* -* Copyright (C) 2008 Peter Korsgaard <[email protected]> -* Copyright (C) 2016 Freescale Semiconductor Inc. -* -* This file is licensed under the terms of the GNU General Public License -* version 2. This program is licensed "as is" without any warranty of any -* kind, whether express or implied. */ #include <common.h> drivers/gpio/gpio-mxs.c +2
-10@@ -1,15 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/* * Freescale MXS gpio support -* -* 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. */ #include <common.h> drivers/gpio/gpio-omap.c +5
-29@@ -1,35 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: 2009 Wind River Systems, Inc. (Tom Rix <[email protected]>) +// SPDX-FileCopyrightText: 2003-2005 Nokia Corporation (Juha Yrjölä <[email protected]>) +/* -* Copyright (c) 2009 Wind River Systems, Inc. -* Tom Rix <[email protected]> -* -* 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. -* -* -* This work is derived from the linux 2.6.27 kernel source -* To fetch, use the kernel repository -* git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git -* Use the v2.6.27 tag. -* -* Below is the original's header including its copyright -* -* linux/arch/arm/plat-omap/gpio.c -* * Support functions for OMAP GPIO * -* Copyright (C) 2003-2005 Nokia Corporation -* Written by Juha Yrjölä <[email protected]> -* -* 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. +* This work is derived from the omap GPIO driver in Linux 2.6.27. */ #include <common.h> #include <io.h> drivers/gpio/gpio-orion.c +2
-11@@ -1,18 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/* * Marvell Orion/MVEBU SoC GPIO driver * * Sebastian Hesselbarth <[email protected]> -* -* 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. -* */ #include <common.h> drivers/gpio/gpio-pca953x.c +4
-8@@ -1,16 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: 2005 Ben Gardner <[email protected]> +// SPDX-FileCopyrightText: 2007 Marvell International Ltd. +/* * PCA953x 4/8/16/24/40 bit I/O ports * * This code was ported from linux-3.15 kernel by Antony Pavlov. -* -* Copyright (C) 2005 Ben Gardner <[email protected]> -* Copyright (C) 2007 Marvell International Ltd. -* * Derived from drivers/i2c/chips/pca9539.c -* -* 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; version 2 of the License. */ #include <common.h> drivers/gpio/gpio-pcf857x.c +3
-7@@ -1,14 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: 2007 David Brownell +/* * Driver for pcf857x, pca857x, and pca967x I2C GPIO expanders * * This code was ported from linux-5.1 kernel by Michael Grzeschik. -* -* Copyright (C) 2007 David Brownell -* -* 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. */ #include <common.h> drivers/gpio/gpio-pl061.c +3
-6@@ -1,10 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: 2008,2009 Provigent Ltd. +/* -* Copyright (C) 2008, 2009 Provigent Ltd. -* -* 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. -* * Driver for the ARM PrimeCell(tm) General Purpose Input/Output (PL061) * * Data sheet: ARM DDI 0190B, September 2000 drivers/gpio/gpio-stmpe.c +2
-15@@ -1,18 +1,5 @@ -/* -* Copyright (C) 2012 Pengutronix -* Steffen Trumtrar <[email protected]> -* -* 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-or-later +// SPDX-FileCopyrightText: 2012 Steffen Trumtrar <[email protected]>, Pengutronix #include <common.h> #include <errno.h> drivers/gpio/gpio-sx150x.c +4
-7@@ -1,19 +1,16 @@ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: 2016 BayLibre, SAS (Neil Armstrong <[email protected]>) +// SPDX-FileCopyrightText: 2010 Code Aurora Forum +/* * Driver for SX150x I2C GPIO expanders * * This code was ported from linux-4.9 kernel driver by * Andrey Smirnov <[email protected]>. * -* Orginal code with it's copyright info can be found in -* drivers/pinctrl/pinctrl-sx150x.c -* * Note: That although linux driver was converted from being a GPIO * subsystem to Pinctrl subsytem driver, due to Barebox's lack of * similar provisions this driver is still a GPIO driver. -* -* 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; version 2 of the License. */ #include <common.h> drivers/gpio/gpio-tegra.c +3
-16@@ -1,19 +1,6 @@ -/* * -* Copyright (C) 2010 Erik Gilling <[email protected]>, Google, Inc -* Copyright (C) 2013 Lucas Stach <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms and conditions of the GNU General Public License, -* version 2, as published by the Free Software Foundation. -* -* This program is distributed in the hope 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, see <http://www.gnu.org/licenses/>. -*/ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: 2010 Erik Gilling <[email protected]>, Google, Inc +// SPDX-FileCopyrightText: 2013 Lucas Stach <[email protected]> #include <common.h> #include <gpio.h> drivers/gpio/gpio-vf610.c +3
-13@@ -1,18 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: 2014 Toradex AG (Stefan Agner <[email protected]>) +/* * vf610 GPIO support through PORT and GPIO module -* -* Copyright (c) 2014 Toradex AG. -* -* Author: Stefan Agner <[email protected]>. -* -* 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. */ #include <common.h> Signature · 7 lines
2.30.0 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox