mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-27 06:39:51 +00:00
3a5584e0df
Adds latest 6.6 patches from the Raspberry Pi repository. These patches were generated from: https://github.com/raspberrypi/linux/commits/rpi-6.6.y/ With the following command: git format-patch -N v6.6.67..HEAD (HEAD -> 811ff707533bcd67cdcd368bbd46223082009b12) Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> (cherry picked from commit 692205305db14deeff1a2dc4a6d7f87e19fc418b)
47 lines
1.8 KiB
Diff
47 lines
1.8 KiB
Diff
From e442e5c1ab6bff5b5460b4fc949beb72aaf77970 Mon Sep 17 00:00:00 2001
|
|
From: eng33 <eng33@waveshare.com>
|
|
Date: Thu, 5 Dec 2024 18:11:26 +0800
|
|
Subject: [PATCH] arch:arm:boot:dts: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
|
|
@@ -5338,6 +5338,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";
|