Skip to content

Commit 492b567

Browse files
committed
Removed -overlay from make file.
Removed whitespaces and empty lines Added SPDX license identifier Signed-off-by: Lucas Hoffmann <[email protected]>
1 parent bf13fb8 commit 492b567

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

arch/arm/boot/dts/overlays/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,8 @@ dtbo-$(CONFIG_ARCH_BCM2835) += \
247247
rpi-fw-uart.dtbo \
248248
rpi-poe.dtbo \
249249
rpi-poe-plus.dtbo \
250-
rpi-power-hat-b-overlay.dtbo \
251-
rpi-power-hat-t-overlay.dtbo \
250+
rpi-power-hat-b.dtbo \
251+
rpi-power-hat-t.dtbo \
252252
rpi-sense.dtbo \
253253
rpi-sense-v2.dtbo \
254254
rpi-tv.dtbo \

arch/arm/boot/dts/overlays/rpi-power-hat-b-overlay.dts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/dts-v1/;
22
/plugin/;
33

4+
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
45
// Overlay for the Raspberry Pi Power Hat.
56
// 1 of 2 overlays required for top/bottom interchangeability
67

@@ -19,7 +20,7 @@
1920
compatible = "fcs,fxl6408";
2021
gpio-controller;
2122
#gpio-cells = <2>;
22-
gpio-line-names =
23+
gpio-line-names =
2324
"B1_PWR",
2425
"B2_PWR",
2526
"B3",
@@ -49,7 +50,7 @@
4950
compatible = "raspberrypi,rpi-power-hat-b";
5051
#address-cells = <1>;
5152
#size-cells = <0>;
52-
53+
5354
// References to the I2C devices
5455
power-controller = <&power_control>;
5556
power1-monitor = <&pwr1_monitor>;
@@ -58,3 +59,4 @@
5859
};
5960
};
6061
};
62+

arch/arm/boot/dts/overlays/rpi-power-hat-t-overlay.dts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
/dts-v1/;
22
/plugin/;
33

4+
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
45
// Overlay for the Raspberry Pi Power Hat.
5-
// 2 of 2 overlays required for top/bottom interchangeability
6+
// 2 of 2 overlays required for top/bottom interchangeability
67

78
/ {
89
compatible = "brcm,bcm2835";
910

1011
fragment@0 {
1112
target = <&i2c1>;
1213
__overlay__ {
13-
14+
1415
#address-cells = <1>;
1516
#size-cells = <0>;
1617

@@ -19,7 +20,7 @@
1920
compatible = "fcs,fxl6408";
2021
gpio-controller;
2122
#gpio-cells = <2>;
22-
gpio-line-names =
23+
gpio-line-names =
2324
"T1_PWR",
2425
"T2_PWR",
2526
"T3",
@@ -31,7 +32,7 @@
3132
};
3233

3334
pwr1_monitor: ina260@46 {
34-
reg = <0x46>;
35+
reg = <0x46>;
3536
compatible = "ti,ina260";
3637
};
3738

@@ -49,7 +50,7 @@
4950
compatible = "raspberrypi,rpi-power-hat-t";
5051
#address-cells = <1>;
5152
#size-cells = <0>;
52-
53+
5354
// References to the I2C devices
5455
power-controller = <&power_control>;
5556
power1-monitor = <&pwr1_monitor>;

0 commit comments

Comments
 (0)