From: sashiko-bot@kernel.org
To: "Stefano Radaelli" <stefano.radaelli21@gmail.com>
Cc: Frank.Li@kernel.org, devicetree@vger.kernel.org,
conor+dt@kernel.org, imx@lists.linux.dev, robh@kernel.org
Subject: Re: [PATCH v5 2/3] arm64: dts: freescale: Add support for Variscite VAR-SOM-MX8 QuadMax
Date: Wed, 15 Jul 2026 19:19:47 +0000 [thread overview]
Message-ID: <20260715191947.DB1281F000E9@smtp.kernel.org> (raw)
In-Reply-To: <0dab340bd29e1f4b1fab05a29532cad3177abc7f.1784142385.git.stefano.r@variscite.com>
Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider:
- [High] The `usdhc3` WiFi SDIO host is marked `non-removable` but assigns user-space WiFi initialization GPIOs to its pinctrl state, breaking initialization.
- [Medium] The statically defined `memory` node declares 1GB of RAM, but the `linux,cma` region is placed strictly outside this memory range.
- [Low] The audio regulator node is named `regulator-3p3v` but configured for 1.8V.
--
--- Patch [2]: [PATCH v5 2/3] arm64: dts: freescale: Add support for Variscite VAR-SOM-MX8 QuadMax ---
commit e6616ac5ca38d036f01cf07cc3cd9713d0d5a5cc
Author: Stefano Radaelli <stefano.r@variscite.com>
arm64: dts: freescale: Add support for Variscite VAR-SOM-MX8 QuadMax
Add device tree support for the Variscite VAR-SOM-MX8 QuadMax system
on module. The module includes an i.MX8 QuadMax processor, LPDDR4 memory,
eMMC, Ethernet, audio codec, and WiFi/Bluetooth connectivity.
Link: https://variscite.com/system-on-module-som/i-mx-8/i-mx-8-quadmax-quadplus/var-som-mx8/
> diff --git a/arch/arm64/boot/dts/freescale/imx8qm-var-som.dtsi b/arch/arm64/boot/dts/freescale/imx8qm-var-som.dtsi
> new file mode 100644
> index 0000000000000..28964de3b080a
> --- /dev/null
> +++ b/arch/arm64/boot/dts/freescale/imx8qm-var-som.dtsi
> @@ -0,0 +1,531 @@
[ ... ]
> + memory@80000000 {
> + device_type = "memory";
> + reg = <0x00000000 0x80000000 0 0x40000000>;
> + };
> +
> + reg_audio_supply: regulator-3p3v {
> + compatible = "regulator-fixed";
> + regulator-name = "wm8904-supply";
> + regulator-min-microvolt = <1800000>;
> + regulator-max-microvolt = <1800000>;
[Severity: Low]
This isn't a bug, but the node name specifies 3.3V while the configured
voltage is explicitly 1.8V. Should this node be named regulator-1p8v
instead?
> + regulator-always-on;
> + };
[ ... ]
> + /* global autoconfigured region for contiguous allocations */
> + linux,cma {
> + compatible = "shared-dma-pool";
> + /* VAR-SOM-MX8QM doesn't have 1GB variant */
> + alloc-ranges = <0 0xc0000000 0 0x3c000000>;
[Severity: Medium]
Does this CMA allocation succeed if the bootloader doesn't dynamically patch
the memory size?
The memory@80000000 node declares 1GB of RAM (ending at 0xBFFFFFFF), but
this CMA region is hardcoded to start at 0xC0000000, which falls outside
that default 1GB range.
> + size = <0 0x3c000000>;
> + linux,cma-default;
> + reusable;
> + };
> + };
[ ... ]
> +/* WIFI */
> +&usdhc3 {
> + #address-cells = <1>;
> + #size-cells = <0>;
> + pinctrl-names = "default", "state_100mhz", "state_200mhz";
> + pinctrl-0 = <&pinctrl_usdhc3>, <&pinctrl_wifi>;
> + pinctrl-1 = <&pinctrl_usdhc3_100mhz>, <&pinctrl_wifi>;
> + pinctrl-2 = <&pinctrl_usdhc3_200mhz>, <&pinctrl_wifi>;
> + bus-width = <4>;
> + non-removable;
[Severity: High]
Will this configuration prevent the WiFi module from initializing?
Since usdhc3 is marked non-removable, the MMC driver will attempt to probe
the SDIO bus immediately during boot. Because the pinctrl_wifi group
(containing the initialization GPIOs) is bound to the MMC driver here, user
space cannot claim or toggle these pins to power up the WiFi chip.
The probe may fail permanently since the chip is unpowered during the kernel
probe. Could this be modeled using mmc-pwrseq-simple so the kernel handles
the power sequence automatically before probing?
> + status = "okay";
> +
> + brcmf: wifi@1 {
> + compatible = "brcm,bcm4329-fmac";
> + reg = <1>;
> + };
> +};
--
Sashiko AI review · https://sashiko.dev/#/patchset/cover.1784142385.git.stefano.r@variscite.com?part=2
next prev parent reply other threads:[~2026-07-15 19:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-15 19:09 [PATCH v5 0/3] Add support for Variscite VAR-SOM-MX8QM and Symphony board Stefano Radaelli
2026-07-15 19:09 ` [PATCH v5 1/3] dt-bindings: arm: fsl: add Variscite VAR-SOM-MX8 QuadMax Boards Stefano Radaelli
2026-07-15 19:09 ` [PATCH v5 2/3] arm64: dts: freescale: Add support for Variscite VAR-SOM-MX8 QuadMax Stefano Radaelli
2026-07-15 19:19 ` sashiko-bot [this message]
2026-07-15 19:09 ` [PATCH v5 3/3] arm64: dts: imx8qm-var-som: Add support for Variscite Symphony board Stefano Radaelli
2026-07-15 19:31 ` sashiko-bot
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=20260715191947.DB1281F000E9@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=Frank.Li@kernel.org \
--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 \
--cc=stefano.radaelli21@gmail.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 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.