mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 23:42:43 +00:00
8c405cdccc
The patches were generated from the RPi repo with the following command: git format-patch v6.6.34..rpi-6.1.y Some patches needed rebasing and, as usual, the applied and reverted, wireless drivers, Github workflows, READMEs and defconfigs patches were removed. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
38 lines
1.2 KiB
Diff
38 lines
1.2 KiB
Diff
From 2e1864a052cd55c647be4c4d74643b961b1e4da2 Mon Sep 17 00:00:00 2001
|
|
From: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
Date: Mon, 23 Oct 2023 14:10:15 +0100
|
|
Subject: [PATCH 0692/1085] dt: Add drm_fbN_vc4 overrides for Pi0-4
|
|
|
|
Follows up '61b138adaead ("dt: Add overrides for drm framebuffer
|
|
allocations on Pi5")' with an equivalent for Pi0-4.
|
|
|
|
These will have no effect on most normal systems, but drm_fb0_vc4
|
|
will stop SPI displays jumping in and claiming /dev/fb0.
|
|
|
|
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
---
|
|
arch/arm/boot/dts/broadcom/bcm270x-rpi.dtsi | 5 ++++-
|
|
1 file changed, 4 insertions(+), 1 deletion(-)
|
|
|
|
--- a/arch/arm/boot/dts/broadcom/bcm270x-rpi.dtsi
|
|
+++ b/arch/arm/boot/dts/broadcom/bcm270x-rpi.dtsi
|
|
@@ -1,7 +1,7 @@
|
|
/* Downstream modifications to bcm2835-rpi.dtsi */
|
|
|
|
/ {
|
|
- aliases {
|
|
+ aliases: aliases {
|
|
aux = &aux;
|
|
sound = &sound;
|
|
soc = &soc;
|
|
@@ -30,6 +30,9 @@
|
|
fb = &fb;
|
|
thermal = &thermal;
|
|
axiperf = &axiperf;
|
|
+ drm_fb0_vc4 = <&aliases>, "drm-fb0=",&vc4;
|
|
+ drm_fb1_vc4 = <&aliases>, "drm-fb1=",&vc4;
|
|
+ drm_fb2_vc4 = <&aliases>, "drm-fb2=",&vc4;
|
|
};
|
|
|
|
/* Define these notional regulators for use by overlays */
|