Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Stefano Radaelli" <stefano.radaelli21@gmail.com>
Cc: conor+dt@kernel.org, Frank.Li@kernel.org, imx@lists.linux.dev,
	devicetree@vger.kernel.org, robh@kernel.org
Subject: Re: [PATCH v3 08/12] ARM: dts: imx6ul: Reuse Variscite DTSI files for Concerto
Date: Mon, 28 Sep 2026 12:57:38 +0000	[thread overview]
Message-ID: <20260928125738.E2BAD1F000FF@smtp.kernel.org> (raw)
In-Reply-To: <35b648b7e2b8440ddb9454bd33a441934a88e426.1790512621.git.stefano.r@variscite.com>

Thank you for your contribution! Sashiko AI review found 4 potential issue(s) to consider:
- [High] mmc: missing non-removable and no-1-8-v in SDIO Wi-Fi node
- [Medium] dt-bindings: removing Wi-Fi/BT hardware description for user-space management
- [Medium] mmc: missing high-speed pinctrl states for eMMC and SD card
- [Medium] ASoC: missing DAPM audio routing for the Microphone Jack
--

commit fe65cbeab7096b23be45d7585ae539a72bae3505
Author: Stefano Radaelli <stefano.r@variscite.com>

ARM: dts: imx6ul: Reuse Variscite DTSI files for Concerto

This commit converts the existing i.MX6UL and i.MX6ULL Concerto boards to
use shared module, option, and carrier DTSI files while maintaining the
existing DTB names and compatible strings. It replaces former components
with updated LCDIF display timings, userspace-managed Broadcom Wi-Fi
descriptions, and folds common resources into the shared configurations.

> The old Wi-Fi power sequence and Bluetooth nodes modeled enable and
> reset control in the kernel. On these SoMs those controls are handled
> in userspace, so use the shared Broadcom Wi-Fi description without the
> old kernel-managed nodes.

[Severity: Medium]
Device Tree is generally meant to describe the physical hardware topology
rather than software policy.

If these pins are physically wired to the enable lines, does removing the
physical Device Tree hardware description for the Wi-Fi reset
(usdhc1_pwrseq), power (reg_sd1_vmmc), and Bluetooth (shutdown-gpios)
break backward compatibility for older kernel versions expecting to
initialize the hardware?

> diff --git a/arch/arm/boot/dts/nxp/imx/imx6ul-var-som-common.dtsi b/arch/arm/boot/dts/nxp/imx/imx6ul-var-som-common.dtsi
> deleted file mode 100644
> --- a/arch/arm/boot/dts/nxp/imx/imx6ul-var-som-common.dtsi
> +++ /dev/null
[ ... ]
> -&usdhc2 {
> -	pinctrl-names = "default", "state_100mhz", "state_200mhz";
> -	pinctrl-0 = <&pinctrl_usdhc2>;
> -	pinctrl-1 = <&pinctrl_usdhc2_100mhz>;
> -	pinctrl-2 = <&pinctrl_usdhc2_200mhz>;

[Severity: Medium]
The original configuration files explicitly defined state_100mhz and
state_200mhz for the eMMC and SD card interfaces.

The i.MX ESDHC driver typically requires these states to adjust pin drive
strength and timing for higher-speed bus modes.

Does the newly introduced imx6ul-imx6ull-var-emmc.dtsi truncate the
pinctrl-names to just "default", which might artificially limit the SD and
eMMC performance to standard speeds?

> diff --git a/arch/arm/boot/dts/nxp/imx/imx6ul-var-som-concerto-full.dts b/arch/arm/boot/dts/nxp/imx/imx6ul-var-som-concerto-full.dts
> --- a/arch/arm/boot/dts/nxp/imx/imx6ul-var-som-concerto-full.dts
> +++ b/arch/arm/boot/dts/nxp/imx/imx6ul-var-som-concerto-full.dts
[ ... ]
> -#include "imx6ul-var-som-audio.dtsi"
> -#include "imx6ul-var-som-lvds-panel.dtsi"
> +#include "imx6ul-imx6ull-var-emmc.dtsi"
> +#include "imx6ul-imx6ull-var-wifi-brcm.dtsi"
> +#include "imx6ul-imx6ull-var-wm8904.dtsi"
> +#include "imx6ul-var-som-concerto-board.dtsi"

[Severity: Medium]
The newly included imx6ul-imx6ull-var-wm8904.dtsi defines a
simple-audio-card that lists "Microphone Jack" in its widgets.

Without a logical route connecting the Microphone Jack to the WM8904
codec's input pins, ALSA DAPM might not power up the microphone bias or
the ADC path, rendering the microphone input unusable on these boards.

Is the "Microphone Jack" missing from the simple-audio-card,routing list?

> diff --git a/arch/arm/boot/dts/nxp/imx/imx6ul-var-som-wifi.dtsi b/arch/arm/boot/dts/nxp/imx/imx6ul-var-som-wifi.dtsi
> deleted file mode 100644
> --- a/arch/arm/boot/dts/nxp/imx/imx6ul-var-som-wifi.dtsi
> +++ /dev/null
[ ... ]
> -&usdhc1 {
> -	#address-cells = <1>;
> -	#size-cells = <0>;
> -	pinctrl-names = "default", "state_100mhz", "state_200mhz";
> -	pinctrl-0 = <&pinctrl_usdhc1>, <&pinctrl_32k_clk>;
> -	pinctrl-1 = <&pinctrl_usdhc1_100mhz>, <&pinctrl_32k_clk>;
> -	pinctrl-2 = <&pinctrl_usdhc1_200mhz>, <&pinctrl_32k_clk>;
> -	no-1-8-v;
> -	non-removable;

[Severity: High]
Without non-removable and cd-gpios, the MMC core might wait for a card
detect state change and fail to probe the SDIO Wi-Fi device.

Furthermore, without no-1-8-v, the MMC core might attempt a 1.8V UHS
voltage switch on a 3.3V-only bus and cause communication errors.

By switching to the shared imx6ul-imx6ull-var-wifi-brcm.dtsi, does the new
SDIO Wi-Fi node omit the non-removable and no-1-8-v properties that were
present here?

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/cover.1790512621.git.stefano.r@variscite.com?part=8

  reply	other threads:[~2026-09-28 12:57 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-27 12:46 [PATCH v3 00/12] ARM: dts: imx6ul: Add Variscite VAR-SOM-6UL and DART-6UL Stefano Radaelli
2026-09-27 12:46 ` [PATCH v3 01/12] dt-bindings: arm: fsl: Document Variscite i.MX6UL boards Stefano Radaelli
2026-09-29  8:49   ` Krzysztof Kozlowski
2026-09-29  9:06     ` Stefano Radaelli
2026-09-29  9:32       ` Krzysztof Kozlowski
2026-09-29  9:41         ` Stefano Radaelli
2026-09-27 12:46 ` [PATCH v3 02/12] net: phy: micrel: Check RMII clock select property presence Stefano Radaelli
2026-09-27 12:46 ` [PATCH v3 03/12] dt-bindings: net: micrel: Fix RMII clock select property type Stefano Radaelli
2026-09-27 12:46 ` [PATCH v3 04/12] ARM: dts: imx6ul: Add Variscite SoM and DART base files Stefano Radaelli
2026-09-28 12:57   ` sashiko-bot
2026-09-27 12:46 ` [PATCH v3 05/12] ARM: dts: imx6ul: Add Variscite audio codec files Stefano Radaelli
2026-09-27 12:46 ` [PATCH v3 06/12] ARM: dts: imx6ul: Add Variscite storage and wireless files Stefano Radaelli
2026-09-28 12:57   ` sashiko-bot
2026-09-27 12:46 ` [PATCH v3 07/12] ARM: dts: imx6ul: Add Variscite carrier board files Stefano Radaelli
2026-09-28 12:57   ` sashiko-bot
2026-09-27 12:46 ` [PATCH v3 08/12] ARM: dts: imx6ul: Reuse Variscite DTSI files for Concerto Stefano Radaelli
2026-09-28 12:57   ` sashiko-bot [this message]
2026-09-27 12:46 ` [PATCH v3 09/12] ARM: dts: imx6ul: Add Variscite i.MX6UL board variants Stefano Radaelli
2026-09-28 12:57   ` sashiko-bot
2026-09-27 12:46 ` [PATCH v3 10/12] ARM: dts: imx6ull: Add Variscite i.MX6ULL " Stefano Radaelli
2026-09-28 12:57   ` sashiko-bot
2026-09-27 12:46 ` [PATCH v3 11/12] ARM: dts: imx6ulz: Add Variscite i.MX6ULZ " Stefano Radaelli
2026-09-28 12:57   ` sashiko-bot
2026-09-28 19:55   ` Frank Li
2026-09-27 12:46 ` [PATCH v3 12/12] ARM: dts: imx6ul: Enable Variscite i.MX6UL board DTBs Stefano Radaelli

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=20260928125738.E2BAD1F000FF@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox