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 3/3] arm64: dts: qcom: add Monaco Draco EVK board
Date: Fri, 27 Nov 2026 10:35:01 +0000 [thread overview]
Message-ID: <sashiko-outbox-237142@kernel.org> (raw)
In-Reply-To: <20261126-monaco-draco-v3-3-0b603afa1328@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 7 potential
issues to consider:
- [High] arm64: dts: qcom: unmatched compatible and missing routing on
sound node
- [High] arm64: dts: qcom: missing enable-active-high on vreg_dp0_pwr
regulator
- [High] arm64: dts: qcom: non-routable hostname email in Signed-off-by
trailer
- [Medium] arm64: dts: qcom: lpass_tlmm redefinition and uppercase
codec@33F0000
- [Medium] arm64: dts: qcom: TC9563 Ethernet endpoints modeled as PCI
bridges
- [Low] arm64: dts: qcom: non-generic max98091@10 node name and
IRQ_TYPE_NONE
- [Low] arm64: dts: qcom: commit message mismatch for uart2 and pcie1
topology
--
commit 4a4aee471caca85b8295cf0f9cea819831b850fb
Author: Faruque Ansari <faruque.ansari@oss.qualcomm.com>
> arm64: dts: qcom: add Monaco Draco EVK board
>
> The Monaco Draco EVK pairs the Monaco Draco AC SoM with the Draco
> carrier board. Add its device tree, describing the board-specific
> peripherals layered on top of the SoM:
>
> - I2C GPIO expanders: 4x KTS1622 on i2c14 and 2x TCA9538 on i2c15
> - EEPROM with a MAC-address nvmem layout on i2c15
> - Native DisplayPort output (DP0)
> - Gigabit Ethernet (ethernet0, 2500base-x) over an HSGMII PHY, with
> the MAC address sourced from the EEPROM
> - Dual PCIe (pcie0/pcie1) behind an on-board TC9563 PCIe switch
> - ST33HTPM TPM over spi10
> - AMC6821 fan controller on i2c13
> - M.2 E-key slot connector and carrier debug UART (uart2)
[Severity: Low]
Does the commit message match the pcie1 and uart2 topology described in the
device tree?
In the device tree, only pcieport0 sits upstream of the TC9563 PCIe switch
while pcieport1 is an independent root port, and uart2 connects to port@3
of wifi-bt-connector as the M.2 Key E Bluetooth UART rather than a debug
UART (the console UART is uart7 in monaco-draco-ac-som.dtsi).
> - Audio Playback and Capture over max98091, Audio Capture over
> va_macro codec DMA.
>
> Also hook the board dtb into the Makefile, together with an EL2
> overlay variant that boots the kernel at EL2 for KVM.
>
> Co-developed-by: Vishnu Saini <vishnu.saini@oss.qualcomm.com>
> Signed-off-by: Vishnu Saini <vishnu.saini@oss.qualcomm.com>
> Co-developed-by: Khalid Faisal Ansari <khalid.ansari@oss.qualcomm.com>
> Signed-off-by: Khalid Faisal Ansari <khalid.ansari@oss.qualcomm.com>
> Co-developed-by: Dipa Mantre <dipa.mantre@oss.qualcomm.com>
> Signed-off-by: Dipa Mantre <dipa.mantre@oss.qualcomm.com>
> Co-developed-by: Sravani Tella <tella@hu-tella-hyd.qualcomm.com>
> Signed-off-by: Sravani Tella <tella@hu-tella-hyd.qualcomm.com>
[Severity: High]
These Co-developed-by and Signed-off-by trailers use an internal
workstation hostname (hu-tella-hyd.qualcomm.com) instead of a valid
routable email address.
[ ... ]
> diff --git a/arch/arm64/boot/dts/qcom/monaco-draco-evk.dts b/arch/arm64/boot/dts/qcom/monaco-draco-evk.dts
> new file mode 100644
> index 0000000000000..290ad62d5beac
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/monaco-draco-evk.dts
> @@ -0,0 +1,764 @@
[ ... ]
> + vreg_dp0_pwr: regulator-dp0-pwr {
> + compatible = "regulator-fixed";
> + regulator-name = "VREG_DP0_PWR_3P3";
> + regulator-min-microvolt = <3300000>;
> + regulator-max-microvolt = <3300000>;
> + gpio = <&expander1 7 GPIO_ACTIVE_HIGH>;
> + };
[Severity: High]
Should vreg_dp0_pwr include enable-active-high?
For regulator-fixed nodes, of_gpio_quirk_polarity() ignores GPIO_ACTIVE_HIGH
in the gpio property and forces active-low polarity unless
enable-active-high is present, which inverts the DisplayPort 3.3V power
enable line at runtime.
[ ... ]
> + sound {
> + compatible = "qcom,qcs8300-draco-sndcard";
> + model = "MONACO_DRACO_EVK";
> + pinctrl-names = "default";
> + pinctrl-0 = <&mi2s_mclk_a>, <&mi2s2_data0>, <&mi2s2_data1>,
> + <&mi2s2_sck>, <&mi2s2_ws>;
[Severity: High]
Can the sound node bind to a machine driver or power the DMIC bias supply
with this configuration?
"qcom,qcs8300-draco-sndcard" is neither documented in
Documentation/devicetree/bindings/sound/qcom,sm8250.yaml nor matched by any
driver in the kernel; sound/soc/qcom/sc8280xp.c matches
"qcom,qcs8275-sndcard" for QCS8300 boards using the MAX98090/MAX98091
codec. The sound node also omits audio-routing, so the vdd-micb DAPM
regulator supply widget on lpass_va_macro (backed by vreg_va_micb_1p8,
which is not always-on) and the MAX98091 codec widgets will not be routed
or enabled during capture and playback.
[ ... ]
> +&i2c12 {
> + status = "okay";
> +
> + max98091: max98091@10 {
> + compatible = "maxim,max98091";
> + reg = <0x10>;
> + #sound-dai-cells = <0>;
> + clock-names = "mclk";
> + clocks = <&q6prmcc LPASS_CLK_ID_MCLK_1 LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
> + assigned-clocks = <&q6prmcc LPASS_CLK_ID_MCLK_1 LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
> + assigned-clock-rates = <12288000>;
> + interrupt-parent = <&tlmm>;
> + interrupts = <51 IRQ_TYPE_NONE>;
> + pinctrl-names = "default";
> + pinctrl-0 = <&int_codec>;
> + };
> +};
[Severity: Low]
Will interrupts = <51 IRQ_TYPE_NONE> trigger a warning in
gic_irq_domain_translate() when the codec probes?
On QCS8300, TLMM GPIO 51 is wake-capable and routes through PDC pin 215 to
GICv3, where gic_irq_domain_translate() executes WARN_ON(*type ==
IRQ_TYPE_NONE). Also, per the Devicetree specification and
Documentation/devicetree/bindings/sound/maxim,max98090.yaml, the node name
should use the generic form audio-codec@10 rather than max98091@10.
[ ... ]
> + pcie@2,0 {
> + reg = <0x21000 0x0 0x0 0x0 0x0>;
> + #address-cells = <3>;
> + #size-cells = <2>;
> + device_type = "pci";
> + ranges;
> + bus-range = <0x4 0xff>;
> + };
> +
> + pcie@3,0 {
> + reg = <0x21800 0x0 0x0 0x0 0x0>;
> + #address-cells = <3>;
> + #size-cells = <2>;
> + device_type = "pci";
> + ranges;
> + bus-range = <0x5 0xff>;
> +
> + pcie@0,0 {
> + reg = <0x50000 0x0 0x0 0x0 0x0>;
> + #address-cells = <3>;
> + #size-cells = <2>;
> + device_type = "pci";
> + ranges;
> + };
> +
> + pcie@0,1 {
> + reg = <0x50100 0x0 0x0 0x0 0x0>;
> + #address-cells = <3>;
> + #size-cells = <2>;
> + device_type = "pci";
> + ranges;
> + };
> + };
[Severity: Medium]
Should the TC9563 integrated Ethernet endpoints under pcie@3,0 be
ethernet@0,0 and ethernet@0,1 without PCI bridge properties?
Modeling these endpoint functions as pcie@0,0 and pcie@0,1 with
device_type = "pci", #address-cells, #size-cells, and ranges violates
Documentation/devicetree/bindings/pci/toshiba,tc9563.yaml, triggers dtc
avoid_unnecessary_addr_size warnings, and causes PCI bridge walkers such as
qcom_pcie_parse_perst() to treat the endpoints as PCI-to-PCI bridges. The
downstream bridge nodes pcie@2,0 and pcie@3,0 are also missing compatible =
"pciclass,0604".
[ ... ]
> +&soc {
> + lpass_va_macro: codec@33F0000 {
> + compatible = "qcom,sc7280-lpass-va-macro";
> + reg = <0 0x33F0000 0 0x1000>;
> + pinctrl-names = "default";
> + pinctrl-0 = <&lpass_dmic01_clk>, <&lpass_dmic01_data>,
> + <&lpass_dmic23_clk>, <&lpass_dmic23_data>,
> + <&lpass_dmic45_clk>, <&lpass_dmic45_data>;
> + clocks = <&q6prmcc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
> + <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
> + <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
> + clock-names = "mclk", "macro", "dcodec";
> +
> + #clock-cells = <0>;
> + #sound-dai-cells = <1>;
> + status = "okay";
> + qcom,dmic-sample-rate = <4800000>;
> + vdd-micb-supply = <&vreg_va_micb_1p8>;
> + };
> +
> + lpass_tlmm: pinctrl@3440000 {
> + compatible = "qcom,sm8450-lpass-lpi-pinctrl";
> + reg = <0x0 0x03440000 0x0 0x20000>,
> + <0x0 0x034d0000 0x0 0x10000>;
> + clocks = <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
> + <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
> + clock-names = "core", "audio";
> + gpio-controller;
> + #gpio-cells = <2>;
> + gpio-ranges = <&lpass_tlmm 0 0 23>;
[Severity: Medium]
Does redefining lpass_tlmm under &soc overwrite the compatible string from
monaco.dtsi?
arch/arm64/boot/dts/qcom/monaco.dtsi already defines lpass_tlmm:
pinctrl@3440000 with compatible = "qcom,qcs8300-lpass-lpi-pinctrl",
"qcom,sm8450-lpass-lpi-pinctrl". Re-declaring the controller node here
instead of referencing &lpass_tlmm drops "qcom,qcs8300-lpass-lpi-pinctrl"
and violates
Documentation/devicetree/bindings/pinctrl/qcom,sm8450-lpass-lpi-pinctrl.yaml.
In addition, lpass_va_macro is an SoC-internal MMIO block that belongs in
monaco.dtsi rather than the board DTS, and its uppercase hex unit-address
(codec@33F0000 instead of codec@33f0000) triggers a dtc simple_bus_reg
warning.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261126-monaco-draco-v3-0-0b603afa1328@oss.qualcomm.com?part=3
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
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 [this message]
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-237142@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox