1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-02-15 04:42:02 +00:00
openmptcprouter/6.6/target/linux/bcm27xx/patches-6.6/0912-dtoverlays-Correct-width-height-on-Waveshare-2.8-pan.patch
Ycarus (Yannick Chabanois) 12de1d2995 Add RPI kernel 6.6 support
2024-04-05 20:55:33 +02:00

32 lines
1.3 KiB
Diff

From 26fee64a01dc8d809a3b06274440810a6d569175 Mon Sep 17 00:00:00 2001
From: Dave Stevenson <dave.stevenson@raspberrypi.com>
Date: Mon, 26 Feb 2024 18:00:53 +0000
Subject: [PATCH 0912/1002] dtoverlays: Correct width/height on Waveshare 2.8"
panel
Width and height were swapped, so touch didn't work over the whole
panel.
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
---
.../boot/dts/overlays/vc4-kms-dsi-waveshare-panel-overlay.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/overlays/vc4-kms-dsi-waveshare-panel-overlay.dts b/arch/arm/boot/dts/overlays/vc4-kms-dsi-waveshare-panel-overlay.dts
index a5686f4687b0..58d1f0a82a48 100644
--- a/arch/arm/boot/dts/overlays/vc4-kms-dsi-waveshare-panel-overlay.dts
+++ b/arch/arm/boot/dts/overlays/vc4-kms-dsi-waveshare-panel-overlay.dts
@@ -77,8 +77,8 @@ __dormant__ {
__overrides__ {
2_8_inch = <&panel>, "compatible=waveshare,2.8inch-panel",
- <&touch>, "touchscreen-size-x:0=640",
- <&touch>, "touchscreen-size-y:0=480",
+ <&touch>, "touchscreen-size-x:0=480",
+ <&touch>, "touchscreen-size-y:0=640",
<&touch>, "touchscreen-inverted-y?",
<&touch>, "touchscreen-swapped-x-y?";
3_4_inch = <&panel>, "compatible=waveshare,3.4inch-panel",
--
2.44.0