From 774479f26a8de5ffa8f1a0d0152584e9859fa769 Mon Sep 17 00:00:00 2001
From: Waveshare_Team <support@waveshare.com>
Date: Wed, 20 May 2026 11:34:26 +0800
Subject: [PATCH] arch/arm/boot/dts/overlays : Add Waveshare 6.25inch B 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
@@ -5937,6 +5937,7 @@ Params: 2_8_inch                2.8" 480
         4_0_inchC               4.0" 720x720
         5_0_inch                5.0" 720x1280
         6_25_inch               6.25" 720x1560
+        6_25_inchB              6.25" B 720x1560
         8_8_inch                8.8" 480x1920
         7_0_inchC               7.0" C 1024x600
         7_0_inchH               7.0" H 1280x720
--- 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
@@ -125,6 +125,9 @@
 		6_25_inch = <&panel>, "compatible=waveshare,6.25inch-panel",
 				   <&touch>, "touchscreen-inverted-x?",
 				   <&touch>, "touchscreen-inverted-y?";
+		6_25_inchB = <&panel>, "compatible=waveshare,6.25inch-b-panel",
+				   <&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",
 				  <&touch2>, "status=okay";
