mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
32 lines
1.4 KiB
Diff
32 lines
1.4 KiB
Diff
From 5fd5531d9d4aa8ddada1fc06fd283bfd9544a6ee 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 552/697] 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
|
|
@@ -5291,6 +5291,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";
|
|
};
|
|
};
|