From: sashiko-bot@kernel.org
To: "Andrej Picej" <andrej.picej@norik.com>
Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, robh@kernel.org,
conor+dt@kernel.org, Frank.Li@kernel.org
Subject: Re: [PATCH] arm64: dts: imx8mm-phyboard-polis-rdk: Keep WLAN powered in suspend
Date: Thu, 03 Dec 2026 13:18:34 +0000 [thread overview]
Message-ID: <sashiko-outbox-247841@kernel.org> (raw)
In-Reply-To: <20261203130049.2041041-1-andrej.picej@norik.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] arm64: dts: usdhc1 keep-power-in-suspend conflicts with
reg_nvcc_sd1 off
--
commit a1cd3759ba1984cab2e31a4a69fc9fbe91d3b37c
Author: Andrej Picej <andrej.picej@norik.com>
arm64: dts: imx8mm-phyboard-polis-rdk: Keep WLAN powered in suspend
This commit adds keep-power-in-suspend to the usdhc1 node so the WLAN card
is kept powered across suspend.
> diff --git a/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts b/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts
> index 6043e7d163069..e3e99485fae3e 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts
> +++ b/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts
> @@ -304,6 +304,7 @@ &usdhc1 {
> assigned-clocks = <&clk IMX8MM_CLK_USDHC1>;
> assigned-clock-rates = <200000000>;
> bus-width = <4>;
> + keep-power-in-suspend;
> mmc-pwrseq = <&usdhc1_pwrseq>;
> non-removable;
> no-1-8-v;
[Severity: Medium]
Does keep-power-in-suspend on usdhc1 conflict with reg_nvcc_sd1 being turned
off during suspend-to-RAM?
imx8mm-phycore-som.dtsi configures reg_nvcc_sd1 (ldo1) with
regulator-off-in-suspend under regulator-state-mem, and this board file does
not override it. During suspend-to-RAM, regulator_suspend() calls
pf8x00_suspend_disable() and powers down the NVCC_SD1 I/O rail.
Both the usdhc1 SDIO pins (pinctrl_usdhc1) and the usdhc1_pwrseq reset GPIO
(SD1_DATA5 in pinctrl_wlan) sit in the NVCC_SD1 bank. Dropping NVCC_SD1
either resets the WLAN card, causing -110 on resume when reinitialization is
skipped, or leaves 3.3V SDIO pins driving unpowered SoC pads.
Should reg_nvcc_sd1 be overridden with regulator-on-in-suspend here, or
should usdhc1 set cap-power-off-card so brcmfmac powers the card off via
usdhc1_pwrseq instead?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261203130049.2041041-1-andrej.picej@norik.com?part=1
next prev parent reply other threads:[~2026-12-03 13:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 13:00 [PATCH] arm64: dts: imx8mm-phyboard-polis-rdk: Keep WLAN powered in suspend Andrej Picej
2026-12-03 13:18 ` sashiko-bot [this message]
2026-12-04 9:17 ` Andrej Picej
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-247841@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=Frank.Li@kernel.org \
--cc=andrej.picej@norik.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=imx@lists.linux.dev \
--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.