Skip to content

Commit 5e3aed8

Browse files
committed
Corrected raspberrypi prefix, added overlays to make file & readme, ended files with newline and removed superfluous hat-name.
1 parent 02efea2 commit 5e3aed8

4 files changed

Lines changed: 16 additions & 10 deletions

File tree

arch/arm/boot/dts/overlays/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +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 \
250252
rpi-sense.dtbo \
251253
rpi-sense-v2.dtbo \
252254
rpi-tv.dtbo \

arch/arm/boot/dts/overlays/README

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4465,6 +4465,16 @@ Params: poe_fan_temp0 Temperature (in millicelcius) at which the fan
44654465
the firmware.
44664466

44674467

4468+
Name: rpi-power-hat-t
4469+
Info: Raspberry Pi Power HAT Top
4470+
Load: dtoverlay=rpi-power-hat-t
4471+
Params: <None>
4472+
4473+
Name: rpi-power-hat-b
4474+
Info: Raspberry Pi Power HAT Bottom
4475+
Load: dtoverlay=rpi-power-hat-b
4476+
Params: <None>
4477+
44684478
Name: rpi-proto
44694479
Info: This overlay has been renamed to proto-codec.
44704480
Load: <Deprecated>

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,18 +46,15 @@
4646
target-path = "/";
4747
__overlay__ {
4848
rpi_power_hat_b: rpi-power-hat-b {
49-
compatible = "Raspberry Pi,rpi-power-hat-b";
49+
compatible = "raspberrypi,rpi-power-hat-b";
5050
#address-cells = <1>;
5151
#size-cells = <0>;
5252

5353
// References to the I2C devices
5454
power-controller = <&power_control>;
5555
power1-monitor = <&pwr1_monitor>;
5656
power2-monitor = <&pwr2_monitor>;
57-
58-
// HAT metadata
59-
hat-name = "rpi-power-hat Bottom";
6057
};
6158
};
6259
};
63-
};
60+
};

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,18 +46,15 @@
4646
target-path = "/";
4747
__overlay__ {
4848
rpi_power_hat_t: rpi-power-hat-t {
49-
compatible = "Raspberry Pi,rpi-power-hat-t";
49+
compatible = "raspberrypi,rpi-power-hat-t";
5050
#address-cells = <1>;
5151
#size-cells = <0>;
5252

5353
// References to the I2C devices
5454
power-controller = <&power_control>;
5555
power1-monitor = <&pwr1_monitor>;
5656
power2-monitor = <&pwr2_monitor>;
57-
58-
// HAT metadata
59-
hat-name = "rpi-power-hat Top";
6057
};
6158
};
6259
};
63-
};
60+
};

0 commit comments

Comments
 (0)