From: Stefano Radaelli <stefano.radaelli21@gmail.com>
To: sashiko-reviews@lists.linux.dev
Cc: robh@kernel.org, devicetree@vger.kernel.org, conor+dt@kernel.org,
imx@lists.linux.dev, Frank.Li@kernel.org
Subject: Re: [PATCH v6 2/3] ARM: dts: imx7d: add Variscite VAR-SOM-MX7 support
Date: Thu, 27 Aug 2026 20:14:24 +0200 [thread overview]
Message-ID: <apB-gMzH2cQNtv_Z@GLaDOS.station> (raw)
In-Reply-To: <20260827174206.8A4B61F000E9@smtp.kernel.org>
On Thu, Aug 27, 2026 at 05:42:06PM +0000, sashiko-bot@kernel.org wrote:
> [ ... ]
>
> > +&i2c2 {
> > + wm8731: audio-codec@1a {
> > + compatible = "wlf,wm8731";
> > + reg = <0x1a>;
> > + #sound-dai-cells = <0>;
> > + AVDD-supply = <&vgen6_reg>;
> > + DBVDD-supply = <&vgen6_reg>;
> > + DCVDD-supply = <&vgen6_reg>;
> > + HPVDD-supply = <&vgen6_reg>;
> > + clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_DIV>;
> > + clock-names = "mclk";
>
> [ ... ]
>
> > +&sai1 {
> > + assigned-clock-rates = <0>, <36864000>;
> > + /delete-property/ fsl,sai-mclk-direction-output;
> > +};
>
> [Severity: High]
> Does removing the 'fsl,sai-mclk-direction-output' property break the master
> clock for the WM8731 codec?
>
> The wm8731 node configures the codec to expect an internal SoC master clock
> by setting clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_DIV>.
>
> By deleting the 'fsl,sai-mclk-direction-output' property from the sai1
> node, the SAI1_MCLK pad is configured as an input instead of driving the
> clock out to the codec.
>
> Will this prevent the WM8731 codec from functioning on this board variant
> because it never receives a clock?
>
The WM8731 MCLK is provided by the configured audio clock root and this
setup has been validated on hardware.
Removing fsl,sai-mclk-direction-output is intentional for this board
variant.
> > diff --git a/arch/arm/boot/dts/nxp/imx/imx7d-var-som.dtsi b/arch/arm/boot/dts/nxp/imx/imx7d-var-som.dtsi
> > new file mode 100644
> > index 0000000000000..158158afc3391
> > --- /dev/null
> > +++ b/arch/arm/boot/dts/nxp/imx/imx7d-var-som.dtsi
>
> [ ... ]
>
> > +&iomuxc {
> > + /* GPIO Used in User Space init script */
> > + pinctrl_bt: btgrp {
> > + fsl,pins = <
> > + MX7D_PAD_GPIO1_IO14__GPIO1_IO14 0x80000000
> > + >;
> > + };
>
> [Severity: Medium]
> Are these Bluetooth power sequences improperly delegated to user-space
> scripts instead of kernel device drivers?
>
> The pinctrl_bt node defines the BT_REG_ON (GPIO1_IO14) pin strictly as a
> pinctrl definition with no corresponding power sequencer or regulator
> binding.
>
> Since the comment explicitly notes it is used in a user space init script,
> will this prevent the kernel from autonomously enumerating the UART Bluetooth
> device during boot?
>
> [ ... ]
>
> > +&iomuxc_lpsr {
>
> [ ... ]
>
> > + /* GPIO Used in User Space init script */
> > + pinctrl_wlan: wlangrp {
> > + fsl,pins = <
> > + MX7D_PAD_LPSR_GPIO1_IO04__GPIO1_IO4 0x09
> > + >;
> > + };
>
> [Severity: Medium]
> Is this Wi-Fi power sequence improperly delegated to user-space scripts
> instead of an MMC power sequence?
>
> The pinctrl_wlan node defines the WL_REG_ON (GPIO1_IO4) pin strictly as a
> pinctrl definition without a corresponding power sequencer or regulator
> binding.
>
> Will this prevent the kernel from autonomously enumerating the SDIO Wi-Fi
> device during boot?
>
Both Bluetooth and Wi-Fi are intentionally handled in userspace,
as on our other platforms
Stefano
next prev parent reply other threads:[~2026-08-27 18:14 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-27 17:28 [PATCH v6 0/3] Add support for Variscite VAR-SOM-MX7 and MX7CustomBoard Stefano Radaelli
2026-08-27 17:28 ` [PATCH v6 1/3] dt-bindings: arm: fsl: add Variscite VAR-SOM-MX7 boards Stefano Radaelli
2026-08-27 17:28 ` [PATCH v6 2/3] ARM: dts: imx7d: add Variscite VAR-SOM-MX7 support Stefano Radaelli
2026-08-27 17:42 ` sashiko-bot
2026-08-27 18:14 ` Stefano Radaelli [this message]
2026-08-27 19:32 ` Frank Li
2026-08-27 17:28 ` [PATCH v6 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=apB-gMzH2cQNtv_Z@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