fix: add DSI_INIT0 lane config to old panel init_sequence + fix mode_flags

This commit is contained in:
2026-06-13 18:49:36 -04:00
parent 6fac886598
commit 2c9136d1dc
2 changed files with 24 additions and 0 deletions

View File

@@ -101,6 +101,13 @@
boot.loader.raspberry-pi.bootloader = "kernel";
}
nixos-raspberrypi.nixosModules.nixpkgs-rpi
# Fix old panel init_sequence: add DSI_INIT0 lane config, remove contradictory BURST flag
({ lib, ... }: {
boot.kernelPatches = [{
name = "panel-cwu50-fix-lanes";
patch = ./patches/0008-panel-cwu50-fix-init-seq1.patch;
}];
})
nixos-raspberrypi.nixosModules.raspberry-pi-5.base
nixos-raspberrypi.lib.inject-overlays
nixos-raspberrypi.lib.inject-overlays-global