From: sashiko-bot@kernel.org
To: "Rahul Samana" <rahul.samana@oss.qualcomm.com>
Cc: devicetree@vger.kernel.org, linux-pci@vger.kernel.org,
robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v2 6/6] arm64: dts: qcom: rb3gen2: add Industrial BT UART overlay
Date: Mon, 27 Jul 2026 16:03:24 +0000 [thread overview]
Message-ID: <20260727160325.16FE41F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260727-rb3-industrial-bt-uart-v2-6-2d100f30e202@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider:
- [High] The overlay fails to delete the existing default PCIe child node (`usb-controller@0,0`) under the M.2 E-key slot (`&pcie0_m2_e`), causing a devfn collision and erroneous OF node binding.
- [High] The `m2-e-connector` node uses a dummy, uncontrolled regulator for the 3.3V supply rather than the actual GPIO-controlled rail powering the slot.
- [Medium] Missing `/delete-property/ interrupts;` when adding `interrupts-extended` to `&uart4`.
--
--- Patch [6]: [PATCH v2 6/6] arm64: dts: qcom: rb3gen2: add Industrial BT UART overlay ---
commit 978523089bf29d9bf8d8d86680d9cc1d3d558116
Author: Rahul Samana <rahul.samana@oss.qualcomm.com>
arm64: dts: qcom: rb3gen2: add Industrial BT UART overlay
The reworked RB3 Gen 2 Industrial mezzanine routes QCC2072 Bluetooth over
UART4 instead of the default Bluetooth-over-USB path. This patch adds a new
overlay that models the M.2 E-key connector graph endpoints for PCIe and UART,
and disables the on-board WCN6750 PMU and UART7 path.
> diff --git a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2-industrial-mezzanine-bt-uart.dtso b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2-industrial-mezzanine-bt-uart.dtso
> new file mode 100644
> index 0000000000000..67577d6f279f4
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2-industrial-mezzanine-bt-uart.dtso
> @@ -0,0 +1,129 @@
> +// SPDX-License-Identifier: BSD-3-Clause
> +/*
> + * Copyright (c) 2026 Qualcomm Innovation Center, Inc. All rights reserved.
> + */
> +
> +/dts-v1/;
> +/plugin/;
> +
> +#include <dt-bindings/gpio/gpio.h>
> +#include <dt-bindings/interrupt-controller/arm-gic.h>
> +
> +&{/} {
> + vreg_wcn_3p3: regulator-wcn-3p3 {
> + compatible = "regulator-fixed";
> + regulator-name = "VREG_WCN_3P3";
> + regulator-min-microvolt = <3300000>;
> + regulator-max-microvolt = <3300000>;
> +
> + regulator-boot-on;
> + };
> +
> + m2-e-connector {
> + compatible = "pcie-m2-e-connector";
> + vpcie3v3-supply = <&vreg_wcn_3p3>;
[Severity: High]
Does this dummy regulator break hardware power sequencing for the M.2 slot?
The base board's M.2 E-key slot is powered by the vreg_pcie0_3p3 regulator
(controlled by PMIC GPIO 1), but this assigns a dummy vreg_wcn_3p3 fixed
regulator with no GPIO hardware control. This could cause the power sequencing
driver to blindly toggle a software dummy state instead of the actual hardware
power rail.
Should this use vpcie3v3-supply = <&vreg_pcie0_3p3>; and drop the dummy
vreg_wcn_3p3 definition so the power sequencing logic works properly?
[ ... ]
> +&pcie0_m2_e {
> + port {
> + pcie0_m2_e_ep: endpoint {
> + remote-endpoint = <&m2_e_pcie_ep>;
> + };
> + };
> +};
[Severity: High]
Does this overlay need to delete the existing default usb-controller@0,0 child
node from the base board's pcie0_m2_e slot?
Since the QCC2072 PCI device enumerates dynamically on this slot, it will share
the same bus address. The PCI subsystem might incorrectly assign the
usb-controller@0,0 DT node to the Wi-Fi device, which would apply the USB
controller's default pinctrl and regulator dependencies to the Wi-Fi card,
leading to hardware state corruption.
Can this be resolved by adding a /delete-node/ usb-controller@0,0; under
&pcie0_m2_e?
> +
> +&uart4 {
> + interrupts-extended = <&intc GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>,
> + <&tlmm 19 IRQ_TYPE_EDGE_FALLING>;
[Severity: Medium]
Does this node also need to explicitly delete the inherited interrupts property?
The &uart4 node inherits the interrupts property from the base SoC devicetree.
Adding interrupts-extended without a /delete-property/ interrupts; results in
both properties being present, which violates DT schema and causes dtbs_check
validation warnings.
[ ... ]
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260727-rb3-industrial-bt-uart-v2-0-2d100f30e202@oss.qualcomm.com?part=6
prev parent reply other threads:[~2026-07-27 16:03 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-27 15:45 [PATCH v2 0/6] Bluetooth: qca: enable QCC2072 on RB3 Gen 2 Industrial Rahul Samana
2026-07-27 15:45 ` [PATCH v2 1/6] dt-bindings: bluetooth: qca: add QCC2072 Rahul Samana
2026-07-27 15:55 ` sashiko-bot
2026-07-27 16:32 ` Bluetooth: qca: enable QCC2072 on RB3 Gen 2 Industrial bluez.test.bot
2026-07-27 15:45 ` [PATCH v2 2/6] Bluetooth: qca: add QCC2072 support Rahul Samana
2026-07-27 15:56 ` sashiko-bot
2026-07-27 15:45 ` [PATCH v2 3/6] power: sequencing: pwrseq-pcie-m2: add QCC2072 Rahul Samana
2026-07-27 15:51 ` sashiko-bot
2026-07-27 15:45 ` [PATCH v2 4/6] arm64: dts: qcom: qcs6490-rb3gen2: label BT PMU and M.2 PCI node Rahul Samana
2026-07-27 15:50 ` sashiko-bot
2026-07-27 15:45 ` [PATCH v2 5/6] arm64: dts: qcom: kodiak: mark PCIe root port as bridge Rahul Samana
2026-07-27 15:57 ` Rahul Samana
2026-07-27 15:59 ` sashiko-bot
2026-07-27 15:45 ` [PATCH v2 6/6] arm64: dts: qcom: rb3gen2: add Industrial BT UART overlay Rahul Samana
2026-07-27 16:03 ` 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=20260727160325.16FE41F000E9@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=rahul.samana@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.