From: sashiko-bot@kernel.org
To: "Yepuri Siddu" <yepuri.siddu@oss.qualcomm.com>
Cc: devicetree@vger.kernel.org, conor+dt@kernel.org, robh@kernel.org
Subject: Re: [PATCH 3/4] arm64: dts: qcom: qcs6490-rb3gen2-industrial-mezzanine: Add QCC2072 Bluetooth M.2 overlay
Date: Sat, 30 May 2026 01:27:31 +0000 [thread overview]
Message-ID: <20260530012732.3817C1F00893@smtp.kernel.org> (raw)
In-Reply-To: <20260529180234.3373056-1-yepuri.siddu@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [High] The `sw_ctrl` pinctrl node is defined but never utilized, and the required GPIO binding is missing from the bluetooth node.
- [High] UART7 is unconditionally disabled in the base industrial mezzanine overlay instead of the M.2-specific overlay, breaking onboard Bluetooth for non-M.2 users.
--
commit 9cd1abaeac0567d92c13345a6a51b9b649ec7b1e
Author: Yepuri Siddu <yepuri.siddu@oss.qualcomm.com>
arm64: dts: qcom: qcs6490-rb3gen2-industrial-mezzanine: Add QCC2072 Bluetooth M.2 overlay
This commit adds a DTSO overlay for the QCS6490 RB3 Gen2 industrial
mezzanine board when the M.2 E-key slot is populated with a QCC2072
Bluetooth module. It configures UART4, sets sleep pin states, maps
host wakeup and power sequencing, and disables UART7 in the base overlay.
> diff --git a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2-industrial-mezzanine-m2-cologne.dtso b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2-industrial-mezzanine-m2-cologne.dtso
> new file mode 100644
> index 0000000000000..905a40f4b938f
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2-industrial-mezzanine-m2-cologne.dtso
[ ... ]
> + sw_ctrl: sw-ctrl-state {
> + pins = "gpio86";
> + function = "gpio";
> + bias-pull-down;
> + };
> +};
[ ... ]
> + bluetooth: bluetooth {
> + compatible = "qcom,qcc2072-bt";
> + max-speed = <3200000>;
> + };
> +};
[Severity: High]
The commit message mentions "SW_CTRL is mapped to gpio86 for power
sequencing." Are we missing a reference to the sw_ctrl pinctrl node here?
It looks like the bluetooth node is missing a GPIO assignment (such as
enable-gpios or swctrl-gpios) and the corresponding pinctrl properties to
utilize the sw_ctrl state. Without these, will the Bluetooth driver be
able to request gpio86 and perform the intended power sequencing?
> diff --git a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2-industrial-mezzanine.dtso b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2-industrial-mezzanine.dtso
> index 83908db335afa..c96c7f52ea7a0 100644
> --- a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2-industrial-mezzanine.dtso
> +++ b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2-industrial-mezzanine.dtso
[ ... ]
> @@ -288,3 +288,7 @@ pcie1_tc9563_resx_n: pcie1-tc9563-resx-state {
> &wifi {
> status = "disabled";
> };
> +
> +&uart7 {
> + status = "disabled";
> +};
[Severity: High]
Does unconditionally disabling uart7 in the base industrial mezzanine
overlay break the onboard Bluetooth for non-M.2 users?
The commit message states this is done "as it is not used when the M.2 slot
is populated". Should this &uart7 override be placed in the M.2-specific
qcs6490-rb3gen2-industrial-mezzanine-m2-cologne.dtso overlay instead, so
it only applies when the M.2 slot is actually populated?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260529180234.3373056-1-yepuri.siddu@oss.qualcomm.com?part=3
prev parent reply other threads:[~2026-05-30 1:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-29 18:02 [PATCH 3/4] arm64: dts: qcom: qcs6490-rb3gen2-industrial-mezzanine: Add QCC2072 Bluetooth M.2 overlay Yepuri Siddu
2026-05-30 1:27 ` 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=20260530012732.3817C1F00893@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=yepuri.siddu@oss.qualcomm.com \
/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