From 00c072417d688504974ea92cea7f35f869dc7dfe Mon Sep 17 00:00:00 2001 From: eng33 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 --- arch/arm/boot/dts/overlays/README | 2 ++ .../dts/overlays/vc4-kms-dsi-waveshare-panel-overlay.dts | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/overlays/README b/arch/arm/boot/dts/overlays/README index 733a6433f142e1..be4856d729312b 100644 --- a/arch/arm/boot/dts/overlays/README +++ b/arch/arm/boot/dts/overlays/README @@ -5378,6 +5378,8 @@ Params: 2_8_inch 2.8" 480x640 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 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 3b03ef09cdb9e8..46feb1434d856d 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 @@ -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";