openwrt/target/linux/bcm27xx/patches-6.6/950-0913-dtoverlays-rotate-override-needs-to-update-rotation-.patch
Álvaro Fernández Rojas 8c405cdccc bcm27xx: add 6.6 kernel patches
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>
2024-06-18 18:52:49 +02:00

28 lines
1.0 KiB
Diff

From 720bf06e82b3ef5156d3840dc4c0d3d691ec5a9d Mon Sep 17 00:00:00 2001
From: Dave Stevenson <dave.stevenson@raspberrypi.com>
Date: Wed, 28 Feb 2024 11:05:21 +0000
Subject: [PATCH 0913/1085] dtoverlays: rotate override needs to update
"rotation" for drm mode
Whilst the fbtft driver uses the DT property "rotate" to set the display
rotation, the tinydrm ili9486 driver uses "rotation". The overlay was
only updating "rotate" from the override, so add in "rotation".
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
---
arch/arm/boot/dts/overlays/piscreen-overlay.dts | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- a/arch/arm/boot/dts/overlays/piscreen-overlay.dts
+++ b/arch/arm/boot/dts/overlays/piscreen-overlay.dts
@@ -96,7 +96,8 @@
};
__overrides__ {
speed = <&piscreen>,"spi-max-frequency:0";
- rotate = <&piscreen>,"rotate:0";
+ rotate = <&piscreen>,"rotate:0",
+ <&piscreen>,"rotation:0";
fps = <&piscreen>,"fps:0";
debug = <&piscreen>,"debug:0";
xohms = <&piscreen_ts>,"ti,x-plate-ohms;0";