* [PATCH v2] arm64: dts: qcom: monaco-arduino-monza: Add Waveshare 8" DSI touch overlay
@ 2026-11-14 9:13 Vishnu Saini
2026-11-14 9:43 ` sashiko-bot
0 siblings, 1 reply; 2+ messages in thread
From: Vishnu Saini @ 2026-11-14 9:13 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel, venkata.valluru,
Jessica Zhang, Shashank Maurya, Vishnu Saini
The JMEDIA carrier card can be mounted on the Qualcomm Monaco Arduino
Monza platform and provides a 22-pin DSI0 connector. Add an overlay to
enable the Waveshare 8" DSI TOUCH-A kit on DSI0: the Waveshare GPIO
expander for panel supplies, resets and backlight, the Goodix GT9271
touch controller, supply regulators and the JD9365DA-based panel.
The expander and touch controller are on the CCI0 I2C bus, so enable
cci0 for them.
DSI0 is shared with the on-board HDMI path, so disable adv7535, the HDMI
connector and the hdmi-mi2s-playback-dai-link sound node, which would
otherwise wait for the disabled adv7535 codec. HDMI audio is therefore
unavailable while the overlay is applied. Add the hdmi_connector and
hdmi_mi2s_playback_dai_link labels to the base DTS for this.
Co-developed-by: Shashank Maurya <shashank.maurya@oss.qualcomm.com>
Signed-off-by: Shashank Maurya <shashank.maurya@oss.qualcomm.com>
Signed-off-by: Vishnu Saini <vishnu.saini@oss.qualcomm.com>
---
Changes in v2:
- Corrected removed redundent mdss_dsi supplies [Sashiko AI]
- Updated commit msg as 22-pin connector is on JMEDIA carrier mounted on main board.
- Link to v1: https://lore.kernel.org/r/20261114-monza_waveshare_dtso-v1-1-4b7c80e90e08@oss.qualcomm.com
---
arch/arm64/boot/dts/qcom/Makefile | 5 ++
...naco-arduino-monza-waveshare-8-dsi-touch-a.dtso | 94 ++++++++++++++++++++++
arch/arm64/boot/dts/qcom/monaco-arduino-monza.dts | 4 +-
3 files changed, 101 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile
index 8329c06b60a3..331ae62494e5 100644
--- a/arch/arm64/boot/dts/qcom/Makefile
+++ b/arch/arm64/boot/dts/qcom/Makefile
@@ -83,6 +83,11 @@ dtb-$(CONFIG_ARCH_QCOM) += monaco-arduino-monza.dtb
monaco-arduino-monza-el2-dtbs := monaco-arduino-monza.dtb monaco-el2.dtbo
dtb-$(CONFIG_ARCH_QCOM) += monaco-arduino-monza-el2.dtb
+
+monaco-arduino-monza-waveshare-8-dsi-touch-a-dtbs := monaco-arduino-monza.dtb monaco-el2.dtbo monaco-arduino-monza-waveshare-8-dsi-touch-a.dtbo
+dtb-$(CONFIG_ARCH_QCOM) += monaco-arduino-monza-waveshare-8-dsi-touch-a.dtb
+dtb-$(CONFIG_ARCH_QCOM) += monaco-arduino-monza-waveshare-8-dsi-touch-a.dtbo
+
dtb-$(CONFIG_ARCH_QCOM) += monaco-ac-evk.dtb
dtb-$(CONFIG_ARCH_QCOM) += monaco-evk.dtb
diff --git a/arch/arm64/boot/dts/qcom/monaco-arduino-monza-waveshare-8-dsi-touch-a.dtso b/arch/arm64/boot/dts/qcom/monaco-arduino-monza-waveshare-8-dsi-touch-a.dtso
new file mode 100644
index 000000000000..67fbff063955
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/monaco-arduino-monza-waveshare-8-dsi-touch-a.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";
+ regulator-name = "panel-avdd";
+ gpios = <&wsgpio 0 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+ };
+
+ panel_iovcc: regulator-panel-iovcc {
+ compatible = "regulator-fixed";
+ regulator-name = "panel-iovcc";
+ gpios = <&wsgpio 4 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+ };
+
+ regulator-panel-vcc {
+ compatible = "regulator-fixed";
+ regulator-name = "panel-vcc";
+ gpios = <&wsgpio 8 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+ regulator-always-on;
+ };
+};
+
+&adv7535 {
+ status = "disabled";
+};
+
+&cci0 {
+ pinctrl-0 = <&cci0_0_default>;
+ pinctrl-1 = <&cci0_0_sleep>;
+ pinctrl-names = "default", "sleep";
+ status = "okay";
+};
+
+&cci0_i2c0 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ wsgpio: gpio@45 {
+ compatible = "waveshare,dsi-touch-gpio";
+ reg = <0x45>;
+ gpio-controller;
+ #gpio-cells = <2>;
+ };
+
+ touchscreen@5d {
+ compatible = "goodix,gt9271";
+ reg = <0x5d>;
+ reset-gpios = <&wsgpio 9 GPIO_ACTIVE_HIGH>;
+ };
+};
+
+&hdmi_connector {
+ status = "disabled";
+};
+
+&hdmi_mi2s_playback_dai_link {
+ status = "disabled";
+};
+
+&mdss_dsi0 {
+ #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 {
+ panel_in: endpoint {
+ remote-endpoint = <&mdss_dsi0_out>;
+ };
+ };
+ };
+};
+
+&mdss_dsi0_out {
+ remote-endpoint = <&panel_in>;
+};
diff --git a/arch/arm64/boot/dts/qcom/monaco-arduino-monza.dts b/arch/arm64/boot/dts/qcom/monaco-arduino-monza.dts
index 9ac2a04b302d..f518db091092 100644
--- a/arch/arm64/boot/dts/qcom/monaco-arduino-monza.dts
+++ b/arch/arm64/boot/dts/qcom/monaco-arduino-monza.dts
@@ -51,7 +51,7 @@ button-home {
};
};
- hdmi-connector {
+ hdmi_connector: hdmi-connector {
compatible = "hdmi-connector";
label = "hdmi";
type = "a";
@@ -113,7 +113,7 @@ platform {
};
};
- hdmi-mi2s-playback-dai-link {
+ hdmi_mi2s_playback_dai_link: hdmi-mi2s-playback-dai-link {
link-name = "HDMI Playback";
codec {
---
base-commit: aaa2f954c21b205a0bcd0961e5b2be4e82e58455
change-id: 20261112-monza_waveshare_dtso-9f9934f7aa77
Best regards,
--
Vishnu Saini <vishnu.saini@oss.qualcomm.com>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] arm64: dts: qcom: monaco-arduino-monza: Add Waveshare 8" DSI touch overlay
2026-11-14 9:13 [PATCH v2] arm64: dts: qcom: monaco-arduino-monza: Add Waveshare 8" DSI touch overlay Vishnu Saini
@ 2026-11-14 9:43 ` sashiko-bot
0 siblings, 0 replies; 2+ messages in thread
From: sashiko-bot @ 2026-11-14 9:43 UTC (permalink / raw)
To: Vishnu Saini; +Cc: devicetree, robh, conor+dt
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [High] arm64: dts: qcom: Makefile: monaco-el2.dtbo applied to non-EL2
Waveshare DTB
--
commit fb42e57888d978dabeca7a2682d11658ae75d3e6
Author: Vishnu Saini <vishnu.saini@oss.qualcomm.com>
arm64: dts: qcom: monaco-arduino-monza: Add Waveshare 8" DSI touch overlay
This commit adds a device tree overlay to support the Waveshare 8" DSI
TOUCH-A display and touchscreen on the Qualcomm Monaco Arduino Monza
platform via the JMEDIA carrier card.
> diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile
> index 8329c06b60a3f..331ae62494e57 100644
> --- a/arch/arm64/boot/dts/qcom/Makefile
> +++ b/arch/arm64/boot/dts/qcom/Makefile
> @@ -83,6 +83,11 @@ dtb-$(CONFIG_ARCH_QCOM) += monaco-arduino-monza.dtb
> monaco-arduino-monza-el2-dtbs := monaco-arduino-monza.dtb monaco-el2.dtbo
>
> dtb-$(CONFIG_ARCH_QCOM) += monaco-arduino-monza-el2.dtb
> +
> +monaco-arduino-monza-waveshare-8-dsi-touch-a-dtbs := monaco-arduino-monza.dtb monaco-el2.dtbo monaco-arduino-monza-waveshare-8-dsi-touch-a.dtbo
> +dtb-$(CONFIG_ARCH_QCOM) += monaco-arduino-monza-waveshare-8-dsi-touch-a.dtb
> +dtb-$(CONFIG_ARCH_QCOM) += monaco-arduino-monza-waveshare-8-dsi-touch-a.dtbo
[Severity: High]
Should monaco-arduino-monza-waveshare-8-dsi-touch-a-dtbs omit
monaco-el2.dtbo?
monaco-arduino-monza.dtb boots at EL1 under the Gunyah hypervisor by
default, whereas monaco-el2.dtbo is only for the explicit -el2 target.
Merging monaco-el2.dtbo into the non-EL2 composite DTB disables
gpu_zap_shader and iris and attaches EL2-only apps_smmu IOMMU stream
mappings to remoteproc_adsp, remoteproc_cdsp, and remoteproc_gpdsp:
arch/arm64/boot/dts/qcom/monaco-el2.dtso:
&gpu_zap_shader {
status = "disabled";
};
&iris {
status = "disabled";
};
&remoteproc_adsp {
iommus = <&apps_smmu 0x2000 0x0>;
};
When booting monaco-arduino-monza-waveshare-8-dsi-touch-a.dtb in the
default EL1 mode, GPU zap shader loading and Iris video acceleration are
disabled and the direct IOMMU mappings on the remoteprocs conflict with
Gunyah PAS management.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261114-monza_waveshare_dtso-v2-1-d35703f59832@oss.qualcomm.com?part=1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-14 9:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-14 9:13 [PATCH v2] arm64: dts: qcom: monaco-arduino-monza: Add Waveshare 8" DSI touch overlay Vishnu Saini
2026-11-14 9:43 ` sashiko-bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox