DMA Engine development
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Komal Bajaj" <komal.bajaj@oss.qualcomm.com>
Cc: Frank.Li@kernel.org, dmaengine@vger.kernel.org, vkoul@kernel.org,
	conor+dt@kernel.org, robh@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH RESEND v7 09/10] arm64: dts: qcom: shikra: Enable WiFi/BT on SoMs
Date: Mon, 03 Aug 2026 11:49:02 +0000	[thread overview]
Message-ID: <20260803114903.A59751F00A3A@smtp.kernel.org> (raw)
In-Reply-To: <20260803-shikra-dt-m1-v7-9-7fec8e777076@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [High] The 0.8V WiFi core voltage (VDD_CX_MX) and the 1.8V PMU IO voltage (VDDIO) are incorrectly assigned to the same regulator on both SoMs, causing severe overvoltage or undervoltage.
- [Low] The device tree uses undocumented compatible strings 'qcom,wcn3988-bt' and 'qcom,wcn3988-pmu'.
--

--- Patch [9]: [PATCH RESEND v7 09/10] arm64: dts: qcom: shikra: Enable WiFi/BT on SoMs ---
commit 30ae129f7cfc5fecf1be133f1d9e0c8ef423f904
Author: Komal Bajaj <komal.bajaj@oss.qualcomm.com>

arm64: dts: qcom: shikra: Enable WiFi/BT on SoMs

This patch enables WCN3988 WiFi and Bluetooth on Shikra SoM cards. It adds
the pmu, wifi, and bluetooth device tree nodes with their corresponding
regulator supplies and calibration data.

> diff --git a/arch/arm64/boot/dts/qcom/shikra-cqm-som.dtsi b/arch/arm64/boot/dts/qcom/shikra-cqm-som.dtsi
> index dc3861489f64d..2fff5fe9f6d2f 100644
> --- a/arch/arm64/boot/dts/qcom/shikra-cqm-som.dtsi
> +++ b/arch/arm64/boot/dts/qcom/shikra-cqm-som.dtsi
[ ... ]
> @@ -27,6 +31,42 @@ key-volume-up {
>  			linux,can-disable;
>  		};
>  	};
> +
> +	wcn3988-pmu {
> +		compatible = "qcom,wcn3988-pmu";
> +
> +		pinctrl-0 = <&sw_ctrl_default>;
> +		pinctrl-names = "default";
> +
> +		swctrl-gpios = <&tlmm 88 GPIO_ACTIVE_HIGH>;
> +
> +		vddio-supply = <&pm4125_l7>;

[Severity: High]
Will this cause a severe undervoltage for the IO domain?

The vddio-supply typically requires 1.8V. However, it is assigned here to
pm4125_l7, which is also mapped to the 0.8V vdd-0.8-cx-mx-supply in the wifi
node later in this file.

> +		vddxo-supply = <&pm4125_l13>;
> +		vddrf-supply = <&pm4125_l10>;
> +		vddch0-supply = <&pm4125_l22>;
[ ... ]
> +&uart8 {
> +	status = "okay";
> +
> +	bluetooth {
> +		compatible = "qcom,wcn3988-bt";

[Severity: Low]
This isn't a bug, but are the qcom,wcn3988-bt and qcom,wcn3988-pmu
compatibles missing from the dt-bindings?

They do not appear to be documented in Documentation/devicetree/bindings/,
which might trigger device tree schema validation warnings.

> +		max-speed = <3200000>;
> +
> +		vddio-supply = <&vreg_pmu_io>;
[ ... ]
> diff --git a/arch/arm64/boot/dts/qcom/shikra-iqs-som.dtsi b/arch/arm64/boot/dts/qcom/shikra-iqs-som.dtsi
> index 73945bf42112d..657a14ca96067 100644
> --- a/arch/arm64/boot/dts/qcom/shikra-iqs-som.dtsi
> +++ b/arch/arm64/boot/dts/qcom/shikra-iqs-som.dtsi
[ ... ]
> +	wcn3988-pmu {
> +		compatible = "qcom,wcn3988-pmu";
> +
> +		pinctrl-0 = <&sw_ctrl_default>;
> +		pinctrl-names = "default";
> +
> +		swctrl-gpios = <&tlmm 88 GPIO_ACTIVE_HIGH>;
> +
> +		vddio-supply = <&pm8150_s4>;
> +		vddxo-supply = <&pm8150_l12>;
> +		vddrf-supply = <&pm8150_l8>;
[ ... ]
> +&wifi {
> +	vdd-0.8-cx-mx-supply = <&pm8150_s4>;

[Severity: High]
Could this cause hardware damage by overvolting the 0.8V WiFi core logic?

This maps the 0.8V vdd-0.8-cx-mx-supply to pm8150_s4. However, in the
wcn3988-pmu node above, pm8150_s4 is mapped to the 1.8V vddio-supply.

If pm8150_s4 has a physical minimum of 1.08V (as is common for this 1.8V
buck), will the regulator framework fail to set the 0.8V request,
leaving the 0.8V core rail subjected to over 35% overvoltage?

> +	vdd-1.8-xo-supply = <&vreg_pmu_xo>;
> +	vdd-1.3-rfa-supply = <&vreg_pmu_rf>;
> +	vdd-3.3-ch0-supply = <&vreg_pmu_ch0>;

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260803-shikra-dt-m1-v7-0-7fec8e777076@oss.qualcomm.com?part=9

  reply	other threads:[~2026-08-03 11:49 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-03 11:26 [PATCH RESEND v7 00/10] arm64: dts: qcom: Extend Shikra device tree with peripheral and subsystem support Komal Bajaj
2026-08-03 11:26 ` [PATCH RESEND v7 01/10] arm64: dts: qcom: Add QUPv3 configuration for Shikra Komal Bajaj
2026-08-03 11:26 ` [PATCH RESEND v7 02/10] arm64: dts: qcom: shikra: Add DDR BWMON support Komal Bajaj
2026-08-03 11:26 ` [PATCH RESEND v7 03/10] arm64: dts: qcom: shikra: Add cpufreq-hw, EPSS L3 interconnect and OPP tables Komal Bajaj
2026-08-03 11:26 ` [PATCH RESEND v7 04/10] arm64: dts: qcom: shikra: Add SMP2P nodes Komal Bajaj
2026-08-03 11:26 ` [PATCH RESEND v7 05/10] arm64: dts: qcom: shikra: Add CDSP, LPAICP, MPSS remoteproc PAS nodes Komal Bajaj
2026-08-03 11:46   ` sashiko-bot
2026-08-03 11:26 ` [PATCH RESEND v7 06/10] arm64: dts: qcom: shikra: Enable CDSP, LPAICP and MPSS on EVK boards Komal Bajaj
2026-08-03 11:33   ` sashiko-bot
2026-08-03 11:26 ` [PATCH RESEND v7 07/10] arm64: dts: qcom: shikra: Enable TSENS and thermal zones Komal Bajaj
2026-08-03 11:26 ` [PATCH RESEND v7 08/10] arm64: dts: qcom: shikra: add WiFi node support Komal Bajaj
2026-08-03 11:26 ` [PATCH RESEND v7 09/10] arm64: dts: qcom: shikra: Enable WiFi/BT on SoMs Komal Bajaj
2026-08-03 11:49   ` sashiko-bot [this message]
2026-08-03 11:26 ` [PATCH RESEND v7 10/10] arm64: dts: qcom: shikra: Add gpio-reserved-ranges to tlmm Komal Bajaj
2026-08-03 11:43   ` sashiko-bot
2026-08-04 22:31 ` [PATCH RESEND v7 00/10] arm64: dts: qcom: Extend Shikra device tree with peripheral and subsystem support Bjorn Andersson

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=20260803114903.A59751F00A3A@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=Frank.Li@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmaengine@vger.kernel.org \
    --cc=komal.bajaj@oss.qualcomm.com \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=vkoul@kernel.org \
    /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