raspberry-pi."4": add assertion and update some source comments

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
Florian Brandes
2023-05-12 17:57:39 +02:00
parent 1ffd9949ee
commit 40a9f0ed77
3 changed files with 13 additions and 4 deletions

View File

@@ -16,8 +16,9 @@ in
hardware.deviceTree = {
overlays = [
# This overlay was originally taken from:
# https://github.com/raspberrypi/linux/blob/rpi-5.15.y/arch/arm/boot/dts/overlays/rpi-backlight-overlay.dts
# https://github.com/raspberrypi/linux/blob/rpi-6.1.y/arch/arm/boot/dts/overlays/rpi-backlight-overlay.dts
# The only modification made was to change the compatible field to bcm2711
# this is the same as for the 5.15.y kernel
{
name = "rpi-backlight-overlay";
dtsText = ''