035b5b00492891860ed1116dbe67fddea7ddf621
[openwrt/staging/xback.git] /
1 From e89e7655a197d28df49da2be7e2003436cf52197 Mon Sep 17 00:00:00 2001
2 From: Ignacio Larrain <ilarrain@gmail.com>
3 Date: Tue, 22 Aug 2023 11:11:56 -0400
4 Subject: [PATCH] drm/panel: Fix default values for Waveshare 7.9 inch DSI
5 touchscreen (#5565)
6
7 This fixes touchscreen calibration, axis swapping and inversion.
8
9 As referenced in https://github.com/raspberrypi/linux/issues/5550
10 ---
11 .../dts/overlays/vc4-kms-dsi-waveshare-panel-overlay.dts | 6 +++---
12 1 file changed, 3 insertions(+), 3 deletions(-)
13
14 --- a/arch/arm/boot/dts/overlays/vc4-kms-dsi-waveshare-panel-overlay.dts
15 +++ b/arch/arm/boot/dts/overlays/vc4-kms-dsi-waveshare-panel-overlay.dts
16 @@ -93,10 +93,10 @@
17 <&touch>, "touchscreen-size-x:0=800",
18 <&touch>, "touchscreen-size-y:0=480";
19 7_9_inch = <&panel>, "compatible=waveshare,7.9inch-panel",
20 - <&touch>, "touchscreen-size-x:0=400",
21 - <&touch>, "touchscreen-size-y:0=1280",
22 + <&touch>, "touchscreen-size-x:0=4096",
23 + <&touch>, "touchscreen-size-y:0=4096",
24 <&touch>, "touchscreen-inverted-x?",
25 - <&touch>, "touchscreen-inverted-y?";
26 + <&touch>, "touchscreen-swapped-x-y?";
27 8_0_inch = <&panel>, "compatible=waveshare,8.0inch-panel",
28 <&touch>, "touchscreen-size-x:0=800",
29 <&touch>, "touchscreen-size-y:0=1280",