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 v2 2/3] arm64: dts: qcom: add Monaco Draco AC SoM
Date: Tue, 24 Nov 2026 10:45:51 +0000 [thread overview]
Message-ID: <sashiko-outbox-230979@kernel.org> (raw)
In-Reply-To: <20261123-monaco-draco-v2-2-3ee3b2375f16@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 d1bc5b3f248fc85ab6c6aeca044fd1cc52fd4aa5
Author: Faruque Ansari <faruque.ansari@oss.qualcomm.com>
arm64: dts: qcom: add Monaco Draco AC SoM
This commit adds the device tree include for the QCS8300-based Monaco Draco
AC SoM, configuring RPMH regulators, remoteprocs, storage, UART, USB, PCIe
PHYs, and the Adreno 623 GPU.
> 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..85ca83ecfc9e6
> --- /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 the dt-bindings/sound/qcom,q6afe.h include needed here? This file defines
no sound nodes or audio macros, 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";
[Severity: Low]
Should vreg_s2s use a generic regulator-s2s node name instead of vreg-s2s?
Documentation/devicetree/bindings/regulator/fixed-regulator.yaml marks node
names that do not match 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]
Should vdda-qref-supply and vdda-refgen-supply be dropped from 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 defined in
Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-pcie-phy.yaml, which
does not permit vdda-refgen-supply and causes dtbs_check to fail on boards
including this SoM 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 consumed at runtime.
[ ... ]
> +&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_qmpphy {
> + vdda-phy-supply = <&vreg_l7a>;
> + vdda-pll-supply = <&vreg_l5a>;
> +
> + status = "okay";
> +};
> +
> +&usb_2 {
> + status = "okay";
> +};
[Severity: Low]
Is usb_2 intentionally enabled in the SoM dtsi without a dr_mode or connector
endpoint, and should the carrier-specific UART and USB controller settings
live in the carrier board dts instead?
In monaco.dtsi, usb_2 defines usb-role-switch and an unlinked usb_2_dwc3_hs
port endpoint. Enabling usb_2 here without setting dr_mode or linking
usb_2_dwc3_hs to a connector leaves dwc3_setup_role_switch() defaulting to
device mode with no role-switch provider attached and without the VBUS
override that dwc3_qcom_probe() configures when dr_mode is explicitly
peripheral. In addition, aliases, chosen stdout-path, uart6, uart7, usb_1
dr_mode, and usb_2 enablement depend on how the carrier board routes those
interfaces, whereas sibling monaco-monza-som.dtsi keeps only the on-SoM USB
PHY supply hookups in the SoM dtsi.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261123-monaco-draco-v2-0-3ee3b2375f16@oss.qualcomm.com?part=2
next prev parent reply other threads:[~2026-11-24 10:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 10:45 [PATCH v2 0/3] arm64: dts: qcom: add Monaco Draco EVK board support Faruque Ansari
2026-11-23 10:45 ` [PATCH v2 1/3] dt-bindings: arm: qcom: add Monaco Draco EVK board Faruque Ansari
2026-11-23 10:45 ` [PATCH v2 2/3] arm64: dts: qcom: add Monaco Draco AC SoM Faruque Ansari
2026-11-24 10:45 ` sashiko-bot [this message]
2026-11-23 10:45 ` [PATCH v2 3/3] arm64: dts: qcom: add Monaco Draco EVK board Faruque Ansari
2026-11-23 20:27 ` Andrew Lunn
2026-11-24 10:45 ` 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-230979@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.