[PATCH 7/7] arm64: dts: qcom: lemans-draco-evk: Add Waveshare 8-inch DSI panel overlay

From: mohit . dsor

Date: Fri Nov 13 2026 - 07:27:29 EST


From: Vishnu Saini <vishnu.saini@xxxxxxxxxxxxxxxx>

Add a DT overlay to enable Waveshare 8-inch DSI panel connected to
JDISP1 22pin connector on the carrier card.

DSI0 from SoC is routed through MUX which can be selected by DIP
switch for enabling this 22pin connector. Add the JD9365DA-H3 panel,
GPIO expander at I2C1 mux channel 0 address 0x45 for panel power,
reset and backlight, and the Goodix GT9271 touch controller. DIP Switch
SW2.4 need to be OFF for this to work.

Disable the default HDMI bridge and connector in favour of the
Waveshare DSI panel.

Signed-off-by: Vishnu Saini <vishnu.saini@xxxxxxxxxxxxxxxx>
Signed-off-by: Mohit Dsor <mohit.dsor@xxxxxxxxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/Makefile | 4 +
.../qcom/lemans-draco-evk-waveshare-dsi-8inch.dtso | 94 ++++++++++++++++++++++
2 files changed, 98 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile
index b100340e61d1..063b2aa4bca2 100644
--- a/arch/arm64/boot/dts/qcom/Makefile
+++ b/arch/arm64/boot/dts/qcom/Makefile
@@ -73,6 +73,10 @@ dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-lvds-auo,g133han01.dtbo
lemans-draco-evk-raspberrypi-dsi-7inch-dtbs := lemans-draco-evk.dtb lemans-draco-evk-raspberrypi-dsi-7inch.dtbo
dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-raspberrypi-dsi-7inch.dtb
dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-raspberrypi-dsi-7inch.dtbo
+
+lemans-draco-evk-waveshare-dsi-8inch-dtbs := lemans-draco-evk.dtb lemans-draco-evk-waveshare-dsi-8inch.dtbo
+dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-waveshare-dsi-8inch.dtb
+dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-waveshare-dsi-8inch.dtbo
dtb-$(CONFIG_ARCH_QCOM) += mahua-crd.dtb
dtb-$(CONFIG_ARCH_QCOM) += milos-fairphone-fp6.dtb
dtb-$(CONFIG_ARCH_QCOM) += milos-nothing-asteroids.dtb
diff --git a/arch/arm64/boot/dts/qcom/lemans-draco-evk-waveshare-dsi-8inch.dtso b/arch/arm64/boot/dts/qcom/lemans-draco-evk-waveshare-dsi-8inch.dtso
new file mode 100644
index 000000000000..31cd1a46c32b
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/lemans-draco-evk-waveshare-dsi-8inch.dtso
@@ -0,0 +1,94 @@
+// SPDX-License-Identifier: BSD-3-Clause
+/*
+ * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
+ */
+
+/dts-v1/;
+/plugin/;
+
+#include <dt-bindings/gpio/gpio.h>
+
+&{/} {
+ panel_avdd: regulator-panel-avdd {
+ compatible = "regulator-fixed";
+ gpios = <&wsgpio 0 GPIO_ACTIVE_HIGH>;
+ regulator-name = "panel-avdd";
+ enable-active-high;
+ };
+
+ panel_iovcc: regulator-panel-iovcc {
+ compatible = "regulator-fixed";
+ gpios = <&wsgpio 4 GPIO_ACTIVE_HIGH>;
+ regulator-name = "panel-iovcc";
+ enable-active-high;
+ };
+
+ panel_vcc: regulator-panel-vcc {
+ compatible = "regulator-fixed";
+ gpios = <&wsgpio 8 GPIO_ACTIVE_HIGH>;
+ regulator-name = "panel-vcc";
+ enable-active-high;
+ regulator-always-on;
+ };
+};
+
+&hdmi_bridge {
+ status = "disabled";
+};
+
+&hdmi_connector {
+ status = "disabled";
+};
+
+&i2c1 {
+ i2c-mux@70 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ i2c@0 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ wsgpio: gpio@45 {
+ compatible = "waveshare,dsi-touch-gpio";
+ reg = <0x45>;
+ gpio-controller;
+ #gpio-cells = <2>;
+ };
+
+ touch: goodix@5d {
+ compatible = "goodix,gt9271";
+ reg = <0x5d>;
+ reset-gpios = <&wsgpio 9 GPIO_ACTIVE_HIGH>;
+ };
+ };
+ };
+};
+
+&mdss0_dsi0 {
+ status = "okay";
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ panel@0 {
+ compatible = "waveshare,8.0-dsi-touch-a", "jadard,jd9365da-h3";
+ reg = <0>;
+
+ backlight = <&wsgpio>;
+ reset-gpios = <&wsgpio 1 GPIO_ACTIVE_LOW>;
+ vccio-supply = <&panel_iovcc>;
+ vdd-supply = <&panel_avdd>;
+
+ port {
+ panel0_in: endpoint {
+ remote-endpoint = <&mdss0_dsi0_out>;
+ };
+ };
+ };
+};
+
+&mdss0_dsi0_out {
+ remote-endpoint = <&panel0_in>;
+ data-lanes = <0 1 2 3>;
+};

--
2.34.1