[PATCH v3] arm64: dts: qcom: monza: add Precision AD HAT overlay

Prashanth Reddy Baddam posted 1 patch 5 hours ago
arch/arm64/boot/dts/qcom/Makefile                  |  3 +++
.../qcom/monaco-arduino-monza-precision-hat.dtso   | 24 ++++++++++++++++++++++
2 files changed, 27 insertions(+)
[PATCH v3] arm64: dts: qcom: monza: add Precision AD HAT overlay
Posted by Prashanth Reddy Baddam 5 hours ago
Add a device tree overlay for the Waveshare High-Precision AD HAT,
based on the ADS1263, connected to the Monza 40-pin JHAT connector.

Configure SPI3 chip select 0 with TLMM GPIO90 as an active-low chip
select. Set the maximum SPI clock frequency to 8 MHz and select SPI
mode 1 for communication with the HAT through spidev.

Signed-off-by: Prashanth Reddy Baddam <prashanth.baddam@oss.qualcomm.com>
---
- Added overlay build entry and base DTB bundle in arch/arm64/boot/dts/qcom/Makefile.
---
 arch/arm64/boot/dts/qcom/Makefile                  |  3 +++
 .../qcom/monaco-arduino-monza-precision-hat.dtso   | 24 ++++++++++++++++++++++
 2 files changed, 27 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile
index 19310879349d..bdc455cfb388 100644
--- a/arch/arm64/boot/dts/qcom/Makefile
+++ b/arch/arm64/boot/dts/qcom/Makefile
@@ -93,6 +93,9 @@ dtb-$(CONFIG_ARCH_QCOM)	+= monaco-arduino-monza-el2.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= monaco-ac-evk.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= monaco-evk.dtb
 
+monaco-arduino-monza-precision-hat-dtbs := monaco-arduino-monza.dtb monaco-arduino-monza-precision-hat.dtbo
+dtb-$(CONFIG_ARCH_QCOM) += monaco-arduino-monza-precision-hat.dtb
+
 monaco-evk-camera-imx577-dtbs	:= monaco-evk.dtb monaco-evk-camera-imx577.dtbo
 dtb-$(CONFIG_ARCH_QCOM)	+= monaco-evk-camera-imx577.dtb
 
diff --git a/arch/arm64/boot/dts/qcom/monaco-arduino-monza-precision-hat.dtso b/arch/arm64/boot/dts/qcom/monaco-arduino-monza-precision-hat.dtso
new file mode 100644
index 000000000000..e50b0c956057
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/monaco-arduino-monza-precision-hat.dtso
@@ -0,0 +1,24 @@
+// SPDX-License-Identifier: BSD-3-Clause
+/*
+ * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
+ *
+ * Device tree overlay for the Waveshare High-Precision AD HAT (ADS1263)
+ * connected to the Monza 40-pin JHAT connector.
+ */
+/dts-v1/;
+/plugin/;
+
+#include <dt-bindings/gpio/gpio.h>
+
+&spi3 {
+	#address-cells = <1>;
+	#size-cells = <0>;
+	cs-gpios = <&tlmm 90 GPIO_ACTIVE_LOW>;
+
+	spidev@0 {
+		compatible = "rohm,dh2228fv";
+		reg = <0>;
+		spi-max-frequency = <8000000>;
+		spi-cpha;
+	};
+};

---
base-commit: 7cfbf79c66c63e807ea452abf0546e6f6d6833a6
change-id: 20261118-ventuno-q-precision-hat-a71bb5549334

Best regards,
--  
Prashanth Reddy Baddam <praspras@qti.qualcomm.com>
Re: [PATCH v3] arm64: dts: qcom: monza: add Precision AD HAT overlay
Posted by Krzysztof Kozlowski 3 hours ago
On 23/11/2026 06:23, Prashanth Reddy Baddam wrote:
> +&spi3 {
> +	#address-cells = <1>;
> +	#size-cells = <0>;
> +	cs-gpios = <&tlmm 90 GPIO_ACTIVE_LOW>;
> +
> +	spidev@0 {
> +		compatible = "rohm,dh2228fv";

That's not true. Please show the part of schematics that confirms you
have dh2228fv. How is it even possible to mount dh2228fv? Really? Do you
know that it does not exist?


Best regards,
Krzysztof