Skip to content

Commit

Permalink
ARM: dts: Remove duplicate tags
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
pelwell committed Dec 3, 2024
1 parent b6b1268 commit 1993b45
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 28 deletions.
1 change: 0 additions & 1 deletion arch/arm/boot/dts/broadcom/bcm2711-rpi-400.dts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/dts-v1/;
#include "bcm2711-rpi-4-b.dts"

/ {
Expand Down
3 changes: 0 additions & 3 deletions arch/arm/boot/dts/overlays/i2c-sensor-common.dtsi
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
// Definitions for I2C based sensors using the Industrial IO or HWMON interface.
/dts-v1/;
/plugin/;

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

/ {
Expand Down
2 changes: 0 additions & 2 deletions arch/arm/boot/dts/overlays/imx290_327-overlay.dtsi
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
// Partial definitions for IMX290 or IMX327 camera module on VC I2C bus
// The compatible string should be set in an overlay that then includes this one
/dts-v1/;
/plugin/;

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

Expand Down
3 changes: 0 additions & 3 deletions arch/arm/boot/dts/overlays/pisound-pi5-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/

/dts-v1/;
/plugin/;

#include "pisound-overlay.dts"

&pisound_spi {
Expand Down
3 changes: 0 additions & 3 deletions arch/arm/boot/dts/overlays/vc4-fkms-v3d-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
* vc4-fkms-v3d-overlay.dts
*/

/dts-v1/;
/plugin/;

#include "cma-overlay.dts"

/ {
Expand Down
3 changes: 0 additions & 3 deletions arch/arm/boot/dts/overlays/vc4-fkms-v3d-pi4-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
* vc4-fkms-v3d-overlay.dts
*/

/dts-v1/;
/plugin/;

#include "cma-overlay.dts"

&frag0 {
Expand Down
3 changes: 0 additions & 3 deletions arch/arm/boot/dts/overlays/vc4-kms-v3d-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
* vc4-kms-v3d-overlay.dts
*/

/dts-v1/;
/plugin/;

#include <dt-bindings/clock/bcm2835.h>

#include "cma-overlay.dts"
Expand Down
3 changes: 0 additions & 3 deletions arch/arm/boot/dts/overlays/vc4-kms-v3d-pi4-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
* vc4-kms-v3d-pi4-overlay.dts
*/

/dts-v1/;
/plugin/;

#include <dt-bindings/clock/bcm2835.h>

#include "cma-overlay.dts"
Expand Down
3 changes: 0 additions & 3 deletions arch/arm/boot/dts/overlays/w1-gpio-pi5-overlay.dts
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/dts-v1/;
/plugin/;

#include "w1-gpio-overlay.dts"

/ {
Expand Down
3 changes: 0 additions & 3 deletions arch/arm/boot/dts/overlays/w1-gpio-pullup-pi5-overlay.dts
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/dts-v1/;
/plugin/;

#include "w1-gpio-pullup-overlay.dts"

/ {
Expand Down
1 change: 0 additions & 1 deletion arch/arm64/boot/dts/broadcom/bcm2712-rpi-cm5l.dtsi
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/dts-v1/;

#include "bcm2712-rpi-cm5.dtsi"

Expand Down

0 comments on commit 1993b45

Please sign in to comment.