From: sashiko-bot@kernel.org
To: "Faruque Ansari" <faruque.ansari@oss.qualcomm.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v3 2/3] arm64: dts: qcom: add Monaco Draco AC SoM
Date: Fri, 27 Nov 2026 10:35:00 +0000 [thread overview]
Message-ID: <sashiko-outbox-237141@kernel.org> (raw)
In-Reply-To: <20261126-monaco-draco-v3-2-0b603afa1328@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 4 potential
issues to consider:
- [Medium] arm64: dts: qcom: invalid supply properties on pcie0_phy and
pcie1_phy
- [Low] arm64: dts: qcom: non-generic deprecated node name vreg-s2s
- [Low] arm64: dts: qcom: unused qcom,q6afe.h include in
monaco-draco-ac-som.dtsi
- [Low] arm64: dts: qcom: carrier-specific nodes and incomplete usb_2 in
Draco SoM
--
commit 1c0150a95b8a63dc6f41dc92e13b09d30745d0a6
Author: Faruque Ansari <faruque.ansari@oss.qualcomm.com>
arm64: dts: qcom: add Monaco Draco AC SoM
This commit adds the initial device tree include file for the
QCS8300-based Monaco Draco AC System-on-Module.
> diff --git a/arch/arm64/boot/dts/qcom/monaco-draco-ac-som.dtsi b/arch/arm64/boot/dts/qcom/monaco-draco-ac-som.dtsi
> new file mode 100644
> index 0000000000000..2016cdbb3ef02
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/monaco-draco-ac-som.dtsi
> @@ -0,0 +1,320 @@
> +// SPDX-License-Identifier: BSD-3-Clause
> +/*
> + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
> + */
> +
> +#include <dt-bindings/gpio/gpio.h>
> +#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
> +#include <dt-bindings/sound/qcom,q6afe.h>
[Severity: Low]
Is <dt-bindings/sound/qcom,q6afe.h> needed here? No audio nodes or macros
are used in this file, and monaco.dtsi already includes
<dt-bindings/sound/qcom,q6dsp-lpass-ports.h>.
> +
> +#include "monaco.dtsi"
> +#include "monaco-pmics.dtsi"
> +
> +/ {
> + aliases {
> + serial0 = &uart7;
> + serial2 = &uart6;
> + };
> +
> + chosen {
> + stdout-path = "serial0:115200n8";
> + };
> +
> + /* This comes from a PMIC handled within the SAIL domain */
> + vreg_s2s: vreg-s2s {
> + compatible = "regulator-fixed";
> + regulator-name = "vreg_s2s";
> +
> + regulator-min-microvolt = <1800000>;
> + regulator-max-microvolt = <1800000>;
> + };
> +};
[Severity: Low]
Should vreg_s2s use a generic regulator-s2s node name instead of vreg-s2s?
fixed-regulator.yaml marks node names not matching the regulator-* pattern
as deprecated.
[ ... ]
> +&pcie0_phy {
> + vdda-phy-supply = <&vreg_l6a>;
> + vdda-pll-supply = <&vreg_l5a>;
> + vdda-qref-supply = <&vreg_l4a>;
> + vdda-refgen-supply = <&vreg_l7a>;
> +
> + status = "okay";
> +};
> +
> +&pcie1_phy {
> + vdda-phy-supply = <&vreg_l6a>;
> + vdda-pll-supply = <&vreg_l5a>;
> + vdda-qref-supply = <&vreg_l4a>;
> + vdda-refgen-supply = <&vreg_l7a>;
> +
> + status = "okay";
> +};
[Severity: Medium]
Are vdda-qref-supply and vdda-refgen-supply valid on pcie0_phy and
pcie1_phy?
In monaco.dtsi, pcie0_phy uses qcom,qcs8300-qmp-gen4x2-pcie-phy and
pcie1_phy uses qcom,sa8775p-qmp-gen4x4-pcie-phy. Both bindings are
covered by qcom,sc8280xp-qmp-pcie-phy.yaml, which has additionalProperties:
false and does not allow vdda-refgen-supply, causing dtbs_check failures on
boards including this dtsi. In drivers/phy/qualcomm/phy-qcom-qmp-pcie.c,
both qcs8300_qmp_gen4x2_pciephy_cfg and sa8775p_qmp_gen4x4_pciephy_cfg use
qmp_phy_vreg_l, which only requests vdda-phy and vdda-pll, so neither
vdda-qref-supply nor vdda-refgen-supply is requested or enabled by the
driver.
[ ... ]
> +&uart6 {
> + status = "okay";
> +};
> +
> +&uart7 {
> + status = "okay";
> +};
[ ... ]
> +&usb_1 {
> + dr_mode = "peripheral";
> +
> + status = "okay";
> +};
> +
> +&usb_1_hsphy {
> + vdda-pll-supply = <&vreg_l7a>;
> + vdda18-supply = <&vreg_l7c>;
> + vdda33-supply = <&vreg_l9a>;
> +
> + status = "okay";
> +};
> +
> +&usb_2 {
> + status = "okay";
> +};
[Severity: Low]
How is usb_2's role configured when it is enabled here without dr_mode or a
remote connector endpoint?
In monaco.dtsi, usb_2 defines usb-role-switch and a usb_2_dwc3_hs port
endpoint without dr_mode. Enabling usb_2 without setting dr_mode or
linking usb_2_dwc3_hs to a connector causes dwc3_setup_role_switch() to
default the controller to device mode with no role-switch driver attached
and without dwc3_qcom_probe() enabling VBUS override.
More broadly, should carrier-dependent nodes and policies (serial aliases,
chosen stdout-path, uart6, uart7, usb_1 dr_mode, usb_2, and mdss_dp0_phy
status = "okay" while mdss and mdss_dp0 remain disabled) live in the
carrier board dts rather than the SoM dtsi, matching monaco-monza-som.dtsi?
Also, mdss_dp0_phy, pcie0_phy, pcie1_phy, and serdes0 are enabled in this
patch but not mentioned in the commit message.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261126-monaco-draco-v3-0-0b603afa1328@oss.qualcomm.com?part=2
next prev parent reply other threads:[~2026-11-27 10:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 10:34 [PATCH v3 0/3] arm64: dts: qcom: add Monaco Draco EVK board support Faruque Ansari
2026-11-26 10:34 ` [PATCH v3 1/3] dt-bindings: arm: qcom: add Monaco Draco EVK board Faruque Ansari
2026-11-26 10:34 ` [PATCH v3 2/3] arm64: dts: qcom: add Monaco Draco AC SoM Faruque Ansari
2026-11-27 10:35 ` sashiko-bot [this message]
2026-11-26 10:34 ` [PATCH v3 3/3] arm64: dts: qcom: add Monaco Draco EVK board Faruque Ansari
2026-11-27 10:35 ` sashiko-bot
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-237141@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=faruque.ansari@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.