diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2019-06-04 04:11:33 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-06-19 11:09:55 -0400 |
commit | d2912cb15bdda8ba4a5dd73396ad62641af2f520 (patch) | |
tree | ff723089c8673e3f99df3ddcdaeae7a52bd6fdac /drivers/iio/adc | |
parent | 20c8ccb1975b8d5639789d1025ad6ada38bd6f48 (diff) |
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
Based on 2 normalized pattern(s):
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 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 #
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 4122 file(s).
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Enrico Weigelt <info@metux.net>
Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org>
Reviewed-by: Allison Randal <allison@lohutok.net>
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190604081206.933168790@linutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iio/adc')
-rw-r--r-- | drivers/iio/adc/ad799x.c | 6 | ||||
-rw-r--r-- | drivers/iio/adc/axp20x_adc.c | 5 | ||||
-rw-r--r-- | drivers/iio/adc/cc10001_adc.c | 6 | ||||
-rw-r--r-- | drivers/iio/adc/ep93xx_adc.c | 5 | ||||
-rw-r--r-- | drivers/iio/adc/fsl-imx25-gcq.c | 5 | ||||
-rw-r--r-- | drivers/iio/adc/lp8788_adc.c | 5 | ||||
-rw-r--r-- | drivers/iio/adc/lpc18xx_adc.c | 5 | ||||
-rw-r--r-- | drivers/iio/adc/ltc2485.c | 5 | ||||
-rw-r--r-- | drivers/iio/adc/max1027.c | 5 | ||||
-rw-r--r-- | drivers/iio/adc/max1363.c | 5 | ||||
-rw-r--r-- | drivers/iio/adc/mcp320x.c | 5 | ||||
-rw-r--r-- | drivers/iio/adc/sun4i-gpadc-iio.c | 5 | ||||
-rw-r--r-- | drivers/iio/adc/ti-adc081c.c | 5 | ||||
-rw-r--r-- | drivers/iio/adc/ti-adc084s021.c | 5 | ||||
-rw-r--r-- | drivers/iio/adc/ti-ads8688.c | 5 | ||||
-rw-r--r-- | drivers/iio/adc/ti-tlc4541.c | 5 |
16 files changed, 16 insertions, 66 deletions
diff --git a/drivers/iio/adc/ad799x.c b/drivers/iio/adc/ad799x.c index 7a5b5d00a87d..5a3ca5904ded 100644 --- a/drivers/iio/adc/ad799x.c +++ b/drivers/iio/adc/ad799x.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * iio/adc/ad799x.c | 3 | * iio/adc/ad799x.c |
3 | * Copyright (C) 2010-2011 Michael Hennerich, Analog Devices Inc. | 4 | * Copyright (C) 2010-2011 Michael Hennerich, Analog Devices Inc. |
@@ -11,15 +12,10 @@ | |||
11 | * based on linux/drivers/acron/char/pcf8583.c | 12 | * based on linux/drivers/acron/char/pcf8583.c |
12 | * Copyright (C) 2000 Russell King | 13 | * Copyright (C) 2000 Russell King |
13 | * | 14 | * |
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License version 2 as | ||
16 | * published by the Free Software Foundation. | ||
17 | * | ||
18 | * ad799x.c | 15 | * ad799x.c |
19 | * | 16 | * |
20 | * Support for ad7991, ad7995, ad7999, ad7992, ad7993, ad7994, ad7997, | 17 | * Support for ad7991, ad7995, ad7999, ad7992, ad7993, ad7994, ad7997, |
21 | * ad7998 and similar chips. | 18 | * ad7998 and similar chips. |
22 | * | ||
23 | */ | 19 | */ |
24 | 20 | ||
25 | #include <linux/interrupt.h> | 21 | #include <linux/interrupt.h> |
diff --git a/drivers/iio/adc/axp20x_adc.c b/drivers/iio/adc/axp20x_adc.c index 5be789269353..88059480da17 100644 --- a/drivers/iio/adc/axp20x_adc.c +++ b/drivers/iio/adc/axp20x_adc.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* ADC driver for AXP20X and AXP22X PMICs | 2 | /* ADC driver for AXP20X and AXP22X PMICs |
2 | * | 3 | * |
3 | * Copyright (c) 2016 Free Electrons NextThing Co. | 4 | * Copyright (c) 2016 Free Electrons NextThing Co. |
4 | * Quentin Schulz <quentin.schulz@free-electrons.com> | 5 | * Quentin Schulz <quentin.schulz@free-electrons.com> |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify it under | ||
7 | * the terms of the GNU General Public License version 2 as published by the | ||
8 | * Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | 7 | ||
11 | #include <linux/completion.h> | 8 | #include <linux/completion.h> |
diff --git a/drivers/iio/adc/cc10001_adc.c b/drivers/iio/adc/cc10001_adc.c index 707d8b24b072..f93f1d93b80d 100644 --- a/drivers/iio/adc/cc10001_adc.c +++ b/drivers/iio/adc/cc10001_adc.c | |||
@@ -1,10 +1,6 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2014-2015 Imagination Technologies Ltd. | 3 | * Copyright (c) 2014-2015 Imagination Technologies Ltd. |
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify it | ||
5 | * under the terms of the GNU General Public License version 2 as published by | ||
6 | * the Free Software Foundation. | ||
7 | * | ||
8 | */ | 4 | */ |
9 | 5 | ||
10 | #include <linux/clk.h> | 6 | #include <linux/clk.h> |
diff --git a/drivers/iio/adc/ep93xx_adc.c b/drivers/iio/adc/ep93xx_adc.c index 5036c392cb20..5c97e8a511f2 100644 --- a/drivers/iio/adc/ep93xx_adc.c +++ b/drivers/iio/adc/ep93xx_adc.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Driver for ADC module on the Cirrus Logic EP93xx series of SoCs | 3 | * Driver for ADC module on the Cirrus Logic EP93xx series of SoCs |
3 | * | 4 | * |
4 | * Copyright (C) 2015 Alexander Sverdlin | 5 | * Copyright (C) 2015 Alexander Sverdlin |
5 | * | 6 | * |
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | * | ||
10 | * The driver uses polling to get the conversion status. According to EP93xx | 7 | * The driver uses polling to get the conversion status. According to EP93xx |
11 | * datasheets, reading ADCResult register starts the conversion, but user is also | 8 | * datasheets, reading ADCResult register starts the conversion, but user is also |
12 | * responsible for ensuring that delay between adjacent conversion triggers is | 9 | * responsible for ensuring that delay between adjacent conversion triggers is |
diff --git a/drivers/iio/adc/fsl-imx25-gcq.c b/drivers/iio/adc/fsl-imx25-gcq.c index 929c617db364..df19ecae52f7 100644 --- a/drivers/iio/adc/fsl-imx25-gcq.c +++ b/drivers/iio/adc/fsl-imx25-gcq.c | |||
@@ -1,10 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2014-2015 Pengutronix, Markus Pargmann <mpa@pengutronix.de> | 3 | * Copyright (C) 2014-2015 Pengutronix, Markus Pargmann <mpa@pengutronix.de> |
3 | * | 4 | * |
4 | * This program is free software; you can redistribute it and/or modify it under | ||
5 | * the terms of the GNU General Public License version 2 as published by the | ||
6 | * Free Software Foundation. | ||
7 | * | ||
8 | * This is the driver for the imx25 GCQ (Generic Conversion Queue) | 5 | * This is the driver for the imx25 GCQ (Generic Conversion Queue) |
9 | * connected to the imx25 ADC. | 6 | * connected to the imx25 ADC. |
10 | */ | 7 | */ |
diff --git a/drivers/iio/adc/lp8788_adc.c b/drivers/iio/adc/lp8788_adc.c index 3bc4df916420..c1fc1b678e0f 100644 --- a/drivers/iio/adc/lp8788_adc.c +++ b/drivers/iio/adc/lp8788_adc.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * TI LP8788 MFD - ADC driver | 3 | * TI LP8788 MFD - ADC driver |
3 | * | 4 | * |
4 | * Copyright 2012 Texas Instruments | 5 | * Copyright 2012 Texas Instruments |
5 | * | 6 | * |
6 | * Author: Milo(Woogyom) Kim <milo.kim@ti.com> | 7 | * Author: Milo(Woogyom) Kim <milo.kim@ti.com> |
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 version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | */ | 8 | */ |
12 | 9 | ||
13 | #include <linux/delay.h> | 10 | #include <linux/delay.h> |
diff --git a/drivers/iio/adc/lpc18xx_adc.c b/drivers/iio/adc/lpc18xx_adc.c index 041dc4a3f66c..e400a95f553d 100644 --- a/drivers/iio/adc/lpc18xx_adc.c +++ b/drivers/iio/adc/lpc18xx_adc.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * IIO ADC driver for NXP LPC18xx ADC | 3 | * IIO ADC driver for NXP LPC18xx ADC |
3 | * | 4 | * |
4 | * Copyright (C) 2016 Joachim Eastwood <manabian@gmail.com> | 5 | * Copyright (C) 2016 Joachim Eastwood <manabian@gmail.com> |
5 | * | 6 | * |
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | * | ||
10 | * UNSUPPORTED hardware features: | 7 | * UNSUPPORTED hardware features: |
11 | * - Hardware triggers | 8 | * - Hardware triggers |
12 | * - Burst mode | 9 | * - Burst mode |
diff --git a/drivers/iio/adc/ltc2485.c b/drivers/iio/adc/ltc2485.c index b24c14037fd4..c418466d51fd 100644 --- a/drivers/iio/adc/ltc2485.c +++ b/drivers/iio/adc/ltc2485.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * ltc2485.c - Driver for Linear Technology LTC2485 ADC | 3 | * ltc2485.c - Driver for Linear Technology LTC2485 ADC |
3 | * | 4 | * |
4 | * Copyright (C) 2016 Alison Schofield <amsfield22@gmail.com> | 5 | * Copyright (C) 2016 Alison Schofield <amsfield22@gmail.com> |
5 | * | 6 | * |
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | * | ||
10 | * Datasheet: http://cds.linear.com/docs/en/datasheet/2485fd.pdf | 7 | * Datasheet: http://cds.linear.com/docs/en/datasheet/2485fd.pdf |
11 | */ | 8 | */ |
12 | 9 | ||
diff --git a/drivers/iio/adc/max1027.c b/drivers/iio/adc/max1027.c index 311c1a89c329..da84adfdb819 100644 --- a/drivers/iio/adc/max1027.c +++ b/drivers/iio/adc/max1027.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * iio/adc/max1027.c | 3 | * iio/adc/max1027.c |
3 | * Copyright (C) 2014 Philippe Reynes | 4 | * Copyright (C) 2014 Philippe Reynes |
@@ -6,10 +7,6 @@ | |||
6 | * Copyright 2011 Analog Devices Inc (from AD7923 Driver) | 7 | * Copyright 2011 Analog Devices Inc (from AD7923 Driver) |
7 | * Copyright 2012 CS Systemes d'Information | 8 | * Copyright 2012 CS Systemes d'Information |
8 | * | 9 | * |
9 | * This program is free software; you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License version 2 as | ||
11 | * published by the Free Software Foundation. | ||
12 | * | ||
13 | * max1027.c | 10 | * max1027.c |
14 | * | 11 | * |
15 | * Partial support for max1027 and similar chips. | 12 | * Partial support for max1027 and similar chips. |
diff --git a/drivers/iio/adc/max1363.c b/drivers/iio/adc/max1363.c index a8d35aebee80..5c2cc61b666e 100644 --- a/drivers/iio/adc/max1363.c +++ b/drivers/iio/adc/max1363.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * iio/adc/max1363.c | 3 | * iio/adc/max1363.c |
3 | * Copyright (C) 2008-2010 Jonathan Cameron | 4 | * Copyright (C) 2008-2010 Jonathan Cameron |
@@ -9,10 +10,6 @@ | |||
9 | * Copyright (C) 2000 Russell King | 10 | * Copyright (C) 2000 Russell King |
10 | * | 11 | * |
11 | * Driver for max1363 and similar chips. | 12 | * Driver for max1363 and similar chips. |
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 | ||
15 | * published by the Free Software Foundation. | ||
16 | */ | 13 | */ |
17 | 14 | ||
18 | #include <linux/interrupt.h> | 15 | #include <linux/interrupt.h> |
diff --git a/drivers/iio/adc/mcp320x.c b/drivers/iio/adc/mcp320x.c index a04856d8afdb..38bf10085696 100644 --- a/drivers/iio/adc/mcp320x.c +++ b/drivers/iio/adc/mcp320x.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2013 Oskar Andero <oskar.andero@gmail.com> | 3 | * Copyright (C) 2013 Oskar Andero <oskar.andero@gmail.com> |
3 | * Copyright (C) 2014 Rose Technology | 4 | * Copyright (C) 2014 Rose Technology |
@@ -34,10 +35,6 @@ | |||
34 | * http://ww1.microchip.com/downloads/en/DeviceDoc/21298c.pdf mcp3204/08 | 35 | * http://ww1.microchip.com/downloads/en/DeviceDoc/21298c.pdf mcp3204/08 |
35 | * http://ww1.microchip.com/downloads/en/DeviceDoc/21700E.pdf mcp3301 | 36 | * http://ww1.microchip.com/downloads/en/DeviceDoc/21700E.pdf mcp3301 |
36 | * http://ww1.microchip.com/downloads/en/DeviceDoc/21950D.pdf mcp3550/1/3 | 37 | * http://ww1.microchip.com/downloads/en/DeviceDoc/21950D.pdf mcp3550/1/3 |
37 | * | ||
38 | * This program is free software; you can redistribute it and/or modify | ||
39 | * it under the terms of the GNU General Public License version 2 as | ||
40 | * published by the Free Software Foundation. | ||
41 | */ | 38 | */ |
42 | 39 | ||
43 | #include <linux/err.h> | 40 | #include <linux/err.h> |
diff --git a/drivers/iio/adc/sun4i-gpadc-iio.c b/drivers/iio/adc/sun4i-gpadc-iio.c index 04d7147e0110..a09e7f5dd8f7 100644 --- a/drivers/iio/adc/sun4i-gpadc-iio.c +++ b/drivers/iio/adc/sun4i-gpadc-iio.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* ADC driver for sunxi platforms' (A10, A13 and A31) GPADC | 2 | /* ADC driver for sunxi platforms' (A10, A13 and A31) GPADC |
2 | * | 3 | * |
3 | * Copyright (c) 2016 Quentin Schulz <quentin.schulz@free-electrons.com> | 4 | * Copyright (c) 2016 Quentin Schulz <quentin.schulz@free-electrons.com> |
4 | * | 5 | * |
5 | * This program is free software; you can redistribute it and/or modify it under | ||
6 | * the terms of the GNU General Public License version 2 as published by the | ||
7 | * Free Software Foundation. | ||
8 | * | ||
9 | * The Allwinner SoCs all have an ADC that can also act as a touchscreen | 6 | * The Allwinner SoCs all have an ADC that can also act as a touchscreen |
10 | * controller and a thermal sensor. | 7 | * controller and a thermal sensor. |
11 | * The thermal sensor works only when the ADC acts as a touchscreen controller | 8 | * The thermal sensor works only when the ADC acts as a touchscreen controller |
diff --git a/drivers/iio/adc/ti-adc081c.c b/drivers/iio/adc/ti-adc081c.c index 405e3779c0c5..0235863ff77b 100644 --- a/drivers/iio/adc/ti-adc081c.c +++ b/drivers/iio/adc/ti-adc081c.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * TI ADC081C/ADC101C/ADC121C 8/10/12-bit ADC driver | 3 | * TI ADC081C/ADC101C/ADC121C 8/10/12-bit ADC driver |
3 | * | 4 | * |
4 | * Copyright (C) 2012 Avionic Design GmbH | 5 | * Copyright (C) 2012 Avionic Design GmbH |
5 | * Copyright (C) 2016 Intel | 6 | * Copyright (C) 2016 Intel |
6 | * | 7 | * |
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 | * Datasheets: | 8 | * Datasheets: |
12 | * http://www.ti.com/lit/ds/symlink/adc081c021.pdf | 9 | * http://www.ti.com/lit/ds/symlink/adc081c021.pdf |
13 | * http://www.ti.com/lit/ds/symlink/adc101c021.pdf | 10 | * http://www.ti.com/lit/ds/symlink/adc101c021.pdf |
diff --git a/drivers/iio/adc/ti-adc084s021.c b/drivers/iio/adc/ti-adc084s021.c index 25504640e126..bdedf456ee05 100644 --- a/drivers/iio/adc/ti-adc084s021.c +++ b/drivers/iio/adc/ti-adc084s021.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /** | 2 | /** |
2 | * Copyright (C) 2017 Axis Communications AB | 3 | * Copyright (C) 2017 Axis Communications AB |
3 | * | 4 | * |
4 | * Driver for Texas Instruments' ADC084S021 ADC chip. | 5 | * Driver for Texas Instruments' ADC084S021 ADC chip. |
5 | * Datasheets can be found here: | 6 | * Datasheets can be found here: |
6 | * http://www.ti.com/lit/ds/symlink/adc084s021.pdf | 7 | * http://www.ti.com/lit/ds/symlink/adc084s021.pdf |
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 version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | */ | 8 | */ |
12 | 9 | ||
13 | #include <linux/err.h> | 10 | #include <linux/err.h> |
diff --git a/drivers/iio/adc/ti-ads8688.c b/drivers/iio/adc/ti-ads8688.c index 8cb7a2034982..14fe7c320b52 100644 --- a/drivers/iio/adc/ti-ads8688.c +++ b/drivers/iio/adc/ti-ads8688.c | |||
@@ -1,9 +1,6 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2015 Prevas A/S | 3 | * Copyright (C) 2015 Prevas A/S |
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 as | ||
6 | * published by the Free Software Foundation. | ||
7 | */ | 4 | */ |
8 | 5 | ||
9 | #include <linux/device.h> | 6 | #include <linux/device.h> |
diff --git a/drivers/iio/adc/ti-tlc4541.c b/drivers/iio/adc/ti-tlc4541.c index 2290024c89fc..4965246808bd 100644 --- a/drivers/iio/adc/ti-tlc4541.c +++ b/drivers/iio/adc/ti-tlc4541.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * TI tlc4541 ADC Driver | 3 | * TI tlc4541 ADC Driver |
3 | * | 4 | * |
@@ -7,10 +8,6 @@ | |||
7 | * http://www.ti.com/lit/gpn/tlc3541 | 8 | * http://www.ti.com/lit/gpn/tlc3541 |
8 | * http://www.ti.com/lit/gpn/tlc4541 | 9 | * http://www.ti.com/lit/gpn/tlc4541 |
9 | * | 10 | * |
10 | * This program is free software; you can redistribute it and/or modify | ||
11 | * it under the terms of the GNU General Public License version 2 as | ||
12 | * published by the Free Software Foundation. | ||
13 | * | ||
14 | * The tlc4541 requires 24 clock cycles to start a transfer. | 11 | * The tlc4541 requires 24 clock cycles to start a transfer. |
15 | * Conversion then takes 2.94us to complete before data is ready | 12 | * Conversion then takes 2.94us to complete before data is ready |
16 | * Data is returned MSB first. | 13 | * Data is returned MSB first. |