mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-26 22:29:33 +00:00
3a5584e0df
Adds latest 6.6 patches from the Raspberry Pi repository. These patches were generated from: https://github.com/raspberrypi/linux/commits/rpi-6.6.y/ With the following command: git format-patch -N v6.6.67..HEAD (HEAD -> 811ff707533bcd67cdcd368bbd46223082009b12) Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> (cherry picked from commit 692205305db14deeff1a2dc4a6d7f87e19fc418b)
32 lines
1.4 KiB
Diff
32 lines
1.4 KiB
Diff
From fa6ad4bcad4e8db18493a4af640b4b5c95434e70 Mon Sep 17 00:00:00 2001
|
|
From: Just a nerd <157698061+foonerd@users.noreply.github.com>
|
|
Date: Wed, 20 Nov 2024 14:08:48 +0000
|
|
Subject: [PATCH] overlays: Enable Raspberry Touch 2 rotation with overlay
|
|
|
|
See: https://github.com/raspberrypi/linux/pull/6480
|
|
Signed-off-by: foonerd <foonerd@github.com>
|
|
---
|
|
arch/arm/boot/dts/overlays/README | 1 +
|
|
arch/arm/boot/dts/overlays/vc4-kms-dsi-ili9881-7inch-overlay.dts | 1 +
|
|
2 files changed, 2 insertions(+)
|
|
|
|
--- a/arch/arm/boot/dts/overlays/README
|
|
+++ b/arch/arm/boot/dts/overlays/README
|
|
@@ -5249,6 +5249,7 @@ Params: sizex Touchscr
|
|
invy Touchscreen inverted y axis
|
|
swapxy Touchscreen swapped x y axis
|
|
disable_touch Disables the touch screen overlay driver
|
|
+ rotation Display rotation {0,90,180,270} (default 0)
|
|
dsi0 Use DSI0 and i2c_csi_dsi0 (rather than
|
|
the default DSI1 and i2c_csi_dsi).
|
|
|
|
--- a/arch/arm/boot/dts/overlays/vc4-kms-dsi-ili9881-7inch-overlay.dts
|
|
+++ b/arch/arm/boot/dts/overlays/vc4-kms-dsi-ili9881-7inch-overlay.dts
|
|
@@ -118,5 +118,6 @@
|
|
invy = <0>, "+11";
|
|
swapxy = <>911>,"touchscreen-swapped-x-y?";
|
|
disable_touch = <>911>, "status=disabled";
|
|
+ rotation = <&dsi_panel>, "rotation:0";
|
|
};
|
|
};
|