From: sashiko-bot@kernel.org
To: "Prashanth Reddy Baddam" <prashanth.baddam@oss.qualcomm.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v3] arm64: dts: qcom: monza: add Precision AD HAT overlay
Date: Mon, 23 Nov 2026 05:31:58 +0000 [thread overview]
Message-ID: <sashiko-outbox-228719@kernel.org> (raw)
In-Reply-To: <20261123-ventuno-q-precision-hat-v3-1-fb96fd6b7887@qti.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [Medium] arm64: dts: qcom: monza: fake rohm,dh2228fv compatible and
spidev@0 node name
- [Medium] arm64: dts: qcom: monza: spi3 cs-gpios conflicts with
qup_spi3_cs on gpio28
--
commit 12190f9e8824425ba37639e1c8a7a3b6040d0713
Author: Prashanth Reddy Baddam <prashanth.baddam@oss.qualcomm.com>
arm64: dts: qcom: monza: add Precision AD HAT overlay
This commit adds a devicetree overlay and Makefile build rule for the
Waveshare High-Precision AD HAT (ADS1263) on the Monza 40-pin JHAT
connector.
> 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 0000000000000..e50b0c9560577
> --- /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>;
[Severity: Medium]
Does setting cs-gpios to gpio90 without overriding pinctrl-0 on &spi3
leave gpio28 (JHAT_P24_SPI_CE0) muxed to the hardware chip-select 0
function?
In monaco.dtsi, spi3 defaults to:
pinctrl-0 = <&qup_spi3_data_clk>, <&qup_spi3_cs>;
where qup_spi3_cs muxes gpio28 to function "qup0_se3". Because
spi-geni-qcom drives its internal CS 0 output in setup_spi_params() and
setup_gsi_xfer() on every reg = <0> transfer, the QUP engine will assert
gpio28 on pin 24 of the 40-pin header alongside the software-toggled
gpio90, while gpio90 itself has no pinctrl entry. Should &spi3 override
pinctrl-0 to decouple gpio28 (for example with qup_spi3_cs_gpio) and
configure gpio90?
> +
> + spidev@0 {
> + compatible = "rohm,dh2228fv";
> + reg = <0>;
> + spi-max-frequency = <8000000>;
> + spi-cpha;
> + };
> +};
[Severity: Medium]
Should this node describe the TI ADS1263 ADC with adc@0 and
compatible = "ti,ads1263", "ti,ads1262" instead of spidev@0 and
"rohm,dh2228fv"?
"rohm,dh2228fv" is a deprecated entry in
Documentation/devicetree/bindings/trivial-devices.yaml for a non-existent
Rohm DAC used to force spidev binding, which prevents the in-tree IIO
driver (drivers/iio/adc/ti-ads1262.c) from binding and violates the
generic node name requirement. In addition, trivial-devices.yaml sets
additionalProperties: false and does not permit spi-cpha, so this node
fails dtbs_check, whereas Documentation/devicetree/bindings/iio/adc/ti,ads1262.yaml
allows both spi-cpha and spi-max-frequency.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261123-ventuno-q-precision-hat-v3-1-fb96fd6b7887@qti.qualcomm.com?part=1
next prev parent reply other threads:[~2026-11-23 5:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 5:23 [PATCH v3] arm64: dts: qcom: monza: add Precision AD HAT overlay Prashanth Reddy Baddam
2026-11-23 5:31 ` sashiko-bot [this message]
2026-11-23 7:02 ` Krzysztof Kozlowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sashiko-outbox-228719@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=prashanth.baddam@oss.qualcomm.com \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.