1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-03-09 15:40:20 +00:00
openmptcprouter/6.12/target/linux/bcm27xx/patches-6.12/950-0693-overlays-Added-waveshare-13.3inch-panel-support.patch
Ycarus (Yannick Chabanois) bdb9b0046f Add bcm27xx 6.12 test support
2024-12-20 14:17:26 +01:00

45 lines
1.8 KiB
Diff

From 09daedfa27b17fe577ee55ce9688e45d3ce7a6f8 Mon Sep 17 00:00:00 2001
From: eng33 <eng33@waveshare.com>
Date: Thu, 5 Dec 2024 18:11:26 +0800
Subject: [PATCH 693/697] overlays: Added waveshare 13.3inch panel support
Signed-off-by: eng33 <eng33@waveshare.com>
---
arch/arm/boot/dts/overlays/README | 2 ++
.../dts/overlays/vc4-kms-dsi-waveshare-panel-overlay.dts | 7 +++++++
2 files changed, 9 insertions(+)
--- a/arch/arm/boot/dts/overlays/README
+++ b/arch/arm/boot/dts/overlays/README
@@ -5380,6 +5380,8 @@ Params: 2_8_inch 2.8" 480
8_0_inch 8.0" 1280x800
10_1_inch 10.1" 1280x800
11_9_inch 11.9" 320x1480
+ 13_3_inch_4lane 13.3" 1920x1080 4lane
+ 13_3_inch_2lane 13.3" 1920x1080 2lane
i2c1 Use i2c-1 with jumper wires from GPIOs 2&3
disable_touch Disable the touch controller
rotation Set the panel orientation property
--- 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
@@ -51,6 +51,11 @@
reg = <0x14>;
compatible = "goodix,gt911";
};
+
+ touch2: ilitek@41 {
+ compatible = "ilitek,ili251x";
+ reg = <0x41>;
+ };
};
};
@@ -120,6 +125,8 @@
<&touch>, "touchscreen-inverted-x?",
<&touch>, "touchscreen-inverted-y?";
8_8_inch = <&panel>, "compatible=waveshare,8.8inch-panel";
+ 13_3_inch_4lane = <&panel>, "compatible=waveshare,13.3inch-4lane-panel";
+ 13_3_inch_2lane = <&panel>, "compatible=waveshare,13.3inch-2lane-panel";
i2c1 = <&i2c_frag>, "target:0=",<&i2c1>,
<0>, "-3-4+5";
disable_touch = <&touch>, "status=disabled";