Skip to content

Commit 6911f9d

Browse files
pelwellpopcornmix
authored andcommitted
ARM: dts: Remove duplicate tags
A dts file should have exactly one /dts-v1/ tag, and overlays should also have one /plugin/ tag. Through careless inclusion of other files, some Device Trees and overlays end up with duplicated tags - this commit removes them. The change is largely cosmetic, unless using an old version of dtc. Signed-off-by: Phil Elwell <phil@raspberrypi.com>
1 parent 1e8913e commit 6911f9d

11 files changed

+0
-28
lines changed

arch/arm/boot/dts/broadcom/bcm2711-rpi-400.dts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// SPDX-License-Identifier: GPL-2.0
2-
/dts-v1/;
32
#include "bcm2711-rpi-4-b.dts"
43

54
/ {

arch/arm/boot/dts/overlays/i2c-sensor-common.dtsi

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
// Definitions for I2C based sensors using the Industrial IO or HWMON interface.
2-
/dts-v1/;
3-
/plugin/;
4-
52
#include <dt-bindings/gpio/gpio.h>
63
#include <dt-bindings/interrupt-controller/irq.h>
74

arch/arm/boot/dts/overlays/imx290_327-overlay.dtsi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
// SPDX-License-Identifier: GPL-2.0-only
22
// Partial definitions for IMX290 or IMX327 camera module on VC I2C bus
33
// The compatible string should be set in an overlay that then includes this one
4-
/dts-v1/;
5-
/plugin/;
64

75
#include <dt-bindings/gpio/gpio.h>
86

arch/arm/boot/dts/overlays/pisound-pi5-overlay.dts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@
1717
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1818
*/
1919

20-
/dts-v1/;
21-
/plugin/;
22-
2320
#include "pisound-overlay.dts"
2421

2522
&pisound_spi {

arch/arm/boot/dts/overlays/vc4-fkms-v3d-overlay.dts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
* vc4-fkms-v3d-overlay.dts
33
*/
44

5-
/dts-v1/;
6-
/plugin/;
7-
85
#include "cma-overlay.dts"
96

107
/ {

arch/arm/boot/dts/overlays/vc4-fkms-v3d-pi4-overlay.dts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
* vc4-fkms-v3d-overlay.dts
33
*/
44

5-
/dts-v1/;
6-
/plugin/;
7-
85
#include "cma-overlay.dts"
96

107
&frag0 {

arch/arm/boot/dts/overlays/vc4-kms-v3d-overlay.dts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
* vc4-kms-v3d-overlay.dts
33
*/
44

5-
/dts-v1/;
6-
/plugin/;
7-
85
#include <dt-bindings/clock/bcm2835.h>
96

107
#include "cma-overlay.dts"

arch/arm/boot/dts/overlays/vc4-kms-v3d-pi4-overlay.dts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
* vc4-kms-v3d-pi4-overlay.dts
33
*/
44

5-
/dts-v1/;
6-
/plugin/;
7-
85
#include <dt-bindings/clock/bcm2835.h>
96

107
#include "cma-overlay.dts"

arch/arm/boot/dts/overlays/w1-gpio-pi5-overlay.dts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
/dts-v1/;
2-
/plugin/;
3-
41
#include "w1-gpio-overlay.dts"
52

63
/ {

arch/arm/boot/dts/overlays/w1-gpio-pullup-pi5-overlay.dts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
/dts-v1/;
2-
/plugin/;
3-
41
#include "w1-gpio-pullup-overlay.dts"
52

63
/ {

0 commit comments

Comments
 (0)