From: Stefano Radaelli <stefano.radaelli21@gmail.com>
To: sashiko-reviews@lists.linux.dev
Cc: conor+dt@kernel.org, imx@lists.linux.dev,
devicetree@vger.kernel.org, Frank.Li@kernel.org, robh@kernel.org
Subject: Re: [PATCH v5 2/3] ARM: dts: imx7d: add Variscite VAR-SOM-MX7 support
Date: Wed, 26 Aug 2026 10:35:24 +0200 [thread overview]
Message-ID: <ao6lTMiwplBt-4zm@GLaDOS.station> (raw)
In-Reply-To: <20260826083133.C97A21F000E9@smtp.kernel.org>
On Wed, Aug 26, 2026 at 08:31:32AM +0000, sashiko-bot@kernel.org wrote:
> > diff --git a/arch/arm/boot/dts/nxp/imx/imx7d-var-som-mx7customboard.dtsi b/arch/arm/boot/dts/nxp/imx/imx7d-var-som-mx7customboard.dtsi
> > index 0000000000000..aecc8c747f041
> > --- /dev/null
> > +++ b/arch/arm/boot/dts/nxp/imx/imx7d-var-som-mx7customboard.dtsi
> [ ... ]
> > +&usdhc1 {
> > + pinctrl-names = "default", "state_100mhz", "state_200mhz";
> > + pinctrl-0 = <&pinctrl_usdhc1>, <&pinctrl_usdhc1_gpio>;
> > + pinctrl-1 = <&pinctrl_usdhc1_100mhz>, <&pinctrl_usdhc1_gpio>;
> > + pinctrl-2 = <&pinctrl_usdhc1_200mhz>, <&pinctrl_usdhc1_gpio>;
> > + cd-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
> > + no-1-8-v;
>
> [Severity: Medium]
> Does including the no-1-8-v property here needlessly cap SD card performance
> by explicitly disabling all 1.8V capabilities and preventing UHS-I
> negotiation?
>
> The pinctrl configurations below for SD1_VSELECT prove the hardware supports
> 1.8V switching:
>
> > + pinctrl_usdhc1_gpio: usdhc1-gpiogrp {
> > + fsl,pins = <
> > + MX7D_PAD_SD1_CD_B__GPIO5_IO0 0x59
> > + MX7D_PAD_GPIO1_IO08__SD1_VSELECT 0x59
> > + >;
> > + };
>
> With no-1-8-v present, the MMC subsystem will never switch to 1.8V, rendering
> the UHS-I pinctrl states dead code and capping speeds at 50MHz.
This is intentional. The board does not support reliable 1.8V signaling
on this SD interface, so no-1-8-v is required despite the presence of
the VSELECT pinmux.
>
> > diff --git a/arch/arm/boot/dts/nxp/imx/imx7d-var-som.dtsi b/arch/arm/boot/dts/nxp/imx/imx7d-var-som.dtsi
> > index 0000000000000..158158afc3391
> > --- /dev/null
> > +++ b/arch/arm/boot/dts/nxp/imx/imx7d-var-som.dtsi
> [ ... ]
> > + codec_wm8904: sound {
> > + compatible = "simple-audio-card";
> > + simple-audio-card,bitclock-master = <&dailink_master>;
> > + simple-audio-card,format = "i2s";
> > + simple-audio-card,frame-master = <&dailink_master>;
> > + simple-audio-card,name = "wm8904-audio";
> > + simple-audio-card,routing =
> > + "Headphone Jack", "HPOUTL",
> > + "Headphone Jack", "HPOUTR",
> > + "IN2L", "Line In Jack",
> > + "IN2R", "Line In Jack",
> > + "IN1L", "Microphone Jack",
> > + "IN1R", "Microphone Jack",
> > + "Microphone Jack", "MICBIAS";
>
> [Severity: Medium]
> Does this routing contradict the configuration of IN1L as a digital input?
>
> The routing maps the analog Microphone Jack to IN1L. However, the wm8904
> node configures IN1L as a digital microphone input via wlf,in1l-as-dmicdat1:
>
> > + wm8904: audio-codec@1a {
> > + compatible = "wlf,wm8904";
> > + reg = <0x1a>;
> [ ... ]
> > + /* DMIC is connected to IN1L */
> > + wlf,in1l-as-dmicdat1;
> > + };
>
> Because IN1L is placed in digital mode, does this cause the analog signal
> from the Microphone Jack to be ignored and break analog audio capture?
This is intentional. IN1L is used as DMICDAT1, while the analog
microphone path is handled through the remaining codec input routing.
The current routing matches the board hardware configuration.
Stefano
next prev parent reply other threads:[~2026-08-26 8:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-26 8:15 [PATCH v5 0/3] Add support for Variscite VAR-SOM-MX7 and MX7CustomBoard Stefano Radaelli
2026-08-26 8:15 ` [PATCH v5 1/3] dt-bindings: arm: fsl: add Variscite VAR-SOM-MX7 boards Stefano Radaelli
2026-08-26 8:15 ` [PATCH v5 2/3] ARM: dts: imx7d: add Variscite VAR-SOM-MX7 support Stefano Radaelli
2026-08-26 8:31 ` sashiko-bot
2026-08-26 8:35 ` Stefano Radaelli [this message]
2026-08-26 15:59 ` Frank Li
2026-08-26 8:15 ` [PATCH v5 3/3] ARM: dts: imx7d: add Variscite MX7CustomBoard support 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=ao6lTMiwplBt-4zm@GLaDOS.station \
--to=stefano.radaelli21@gmail.com \
--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 \
/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