db4ef5a21d81d1646525dbf2873b90ed2e5ab2f1
[openwrt/staging/linusw.git] /
1 From 26fee64a01dc8d809a3b06274440810a6d569175 Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.com>
3 Date: Mon, 26 Feb 2024 18:00:53 +0000
4 Subject: [PATCH 0912/1085] dtoverlays: Correct width/height on Waveshare 2.8"
5 panel
6
7 Width and height were swapped, so touch didn't work over the whole
8 panel.
9
10 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
11 ---
12 .../boot/dts/overlays/vc4-kms-dsi-waveshare-panel-overlay.dts | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15 --- a/arch/arm/boot/dts/overlays/vc4-kms-dsi-waveshare-panel-overlay.dts
16 +++ b/arch/arm/boot/dts/overlays/vc4-kms-dsi-waveshare-panel-overlay.dts
17 @@ -77,8 +77,8 @@
18
19 __overrides__ {
20 2_8_inch = <&panel>, "compatible=waveshare,2.8inch-panel",
21 - <&touch>, "touchscreen-size-x:0=640",
22 - <&touch>, "touchscreen-size-y:0=480",
23 + <&touch>, "touchscreen-size-x:0=480",
24 + <&touch>, "touchscreen-size-y:0=640",
25 <&touch>, "touchscreen-inverted-y?",
26 <&touch>, "touchscreen-swapped-x-y?";
27 3_4_inch = <&panel>, "compatible=waveshare,3.4inch-panel",