lede/target/linux/bcm27xx/patches-6.12/950-0941-overlays-Added-waveshare-7.0inch-h-dsi-screen-suppor.patch
=?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= d81c03f05e bcm27xx: add 6.12 patches from RPi repo
These patches were generated from:
https://github.com/raspberrypi/linux/commits/rpi-6.12.y
With the following command:
git format-patch -N v6.12.27..HEAD
(HEAD -> 8d3206ee456a5ecdf9ddbfd8e5e231e4f0cd716e)

Exceptions:
- (def)configs patches
- github workflows patches
- applied & reverted patches
- readme patches
- wireless patches

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2025-06-20 17:01:06 +08:00

34 lines
1.5 KiB
Diff

From 225891786565dbfabfeffa27328281525af43174 Mon Sep 17 00:00:00 2001
From: Waveshare_Team <support@waveshare.com>
Date: Tue, 1 Apr 2025 18:07:19 +0800
Subject: [PATCH] overlays: Added waveshare 7.0inch h dsi screen support
Signed-off-by: Waveshare_Team <support@waveshare.com>
---
arch/arm/boot/dts/overlays/README | 1 +
.../boot/dts/overlays/vc4-kms-dsi-waveshare-panel-overlay.dts | 3 +++
2 files changed, 4 insertions(+)
--- a/arch/arm/boot/dts/overlays/README
+++ b/arch/arm/boot/dts/overlays/README
@@ -5507,6 +5507,7 @@ Params: 2_8_inch 2.8" 480
6_25_inch 6.25" 720x1560
8_8_inch 8.8" 480x1920
7_0_inchC 7.0" C 1024x600
+ 7_0_inchH 7.0" H 1280x720
7_9_inch 7.9" 400x1280
8_0_inch 8.0" 1280x800
10_1_inch 10.1" 1280x800
--- 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
@@ -130,6 +130,9 @@
<&touch2>, "status=okay";
13_3_inch_2lane = <&panel>, "compatible=waveshare,13.3inch-2lane-panel",
<&touch2>, "status=okay";
+ 7_0_inchH = <&panel>, "compatible=waveshare,7.0inch-h-panel",
+ <&touch>, "touchscreen-swapped-x-y?",
+ <&touch>, "touchscreen-inverted-x?";
i2c1 = <&i2c_frag>, "target:0=",<&i2c1>,
<0>, "-3-4+5";
disable_touch = <&touch>, "status=disabled";