All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Stefano Radaelli" <stefano.radaelli21@gmail.com>
Cc: conor+dt@kernel.org, robh@kernel.org, devicetree@vger.kernel.org,
	Frank.Li@kernel.org, imx@lists.linux.dev
Subject: Re: [PATCH v2 05/11] ARM: dts: imx6ul: Add Variscite storage and wireless files
Date: Sun, 27 Sep 2026 11:06:19 +0000	[thread overview]
Message-ID: <20260927110620.12DE81F00898@smtp.kernel.org> (raw)
In-Reply-To: <656354d10e3adb6ac84fdc0c6fa2043db7320805.1790413032.git.stefano.r@variscite.com>

Thank you for your contribution! Sashiko AI review found 5 potential issue(s) to consider:
- [High] dts: missing hardware power and reset sequence for Broadcom Wi-Fi
- [High] dts: missing 'non-removable' property for Broadcom Wi-Fi SDIO interface
- [Low] dt-bindings: unnecessary #address-cells and #size-cells properties
- [Low] dts: 100% code duplication for DART and SOM DTSI variants
- [Low] dts: missing <dt-bindings/gpio/gpio.h> for GPIO_ACTIVE_LOW macro
--

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

    ARM: dts: imx6ul: Add Variscite storage and wireless files
    
    Add reusable DTSI files for eMMC, NAND, Broadcom Wi-Fi and NXP IW61x
    options on VAR-SOM-6UL and DART-6UL modules.
    
    Keep the module options independent of the carrier board so each
    board DTS can select its assembled storage and wireless devices.

> diff --git a/arch/arm/boot/dts/nxp/imx/imx6ul-imx6ull-var-dart-emmc.dtsi b/arch/arm/boot/dts/nxp/imx/imx6ul-imx6ull-var-dart-emmc.dtsi
> new file mode 100644
> index 0000000000000..26c8ca8f21a0c
> --- /dev/null
> +++ b/arch/arm/boot/dts/nxp/imx/imx6ul-imx6ull-var-dart-emmc.dtsi
> @@ -0,0 +1,32 @@
> +// SPDX-License-Identifier: GPL-2.0+

[Severity: Low]
Does this file need to be separate? It is a 100% exact duplicate of
imx6ul-imx6ull-var-som-emmc.dtsi.

Could these variants be extracted into a shared file like
imx6ul-imx6ull-var-common-emmc.dtsi to avoid duplication?

[ ... ]

> diff --git a/arch/arm/boot/dts/nxp/imx/imx6ul-imx6ull-var-dart-wifi-brcm.dtsi b/arch/arm/boot/dts/nxp/imx/imx6ul-imx6ull-var-dart-wifi-brcm.dtsi
> new file mode 100644
> index 0000000000000..d7952233a1ee9
> --- /dev/null
> +++ b/arch/arm/boot/dts/nxp/imx/imx6ul-imx6ull-var-dart-wifi-brcm.dtsi
> @@ -0,0 +1,42 @@
> +// SPDX-License-Identifier: GPL-2.0+
> +/*
> + * Copyright (C) 2026 Variscite Ltd. - https://www.variscite.com
> + */
> +
> +/ {
> +	reg_sd1_vmmc: regulator-sd1-vmmc {
> +		compatible = "regulator-fixed";
> +		regulator-name = "VSD_3V3";
> +		regulator-min-microvolt = <3300000>;
> +		regulator-max-microvolt = <3300000>;
> +	};

[Severity: High]
Does this regulator need a gpio property to drive WIFI_PWR_EN?

Without asserting WIFI_PWR_EN and providing an mmc-pwrseq to release
WIFI_RESET, the SDIO interface might fail to detect the Broadcom hardware.

Also, is the bluetooth node intended to be omitted here compared to the
IW61X configurations?

[ ... ]

> +&usdhc1 {
> +	#address-cells = <1>;
> +	#size-cells = <0>;
> +	pinctrl-names = "default", "state_100mhz", "state_200mhz";

[Severity: High]
Should this node include the 'non-removable' property?

Since the Broadcom Wi-Fi chip is physically soldered onto the module, does
the SDIO host controller need this property to properly initialize without
falling back to spurious polling?

[ ... ]

> diff --git a/arch/arm/boot/dts/nxp/imx/imx6ul-imx6ull-var-dart-wifi-iw61x.dtsi b/arch/arm/boot/dts/nxp/imx/imx6ul-imx6ull-var-dart-wifi-iw61x.dtsi
> new file mode 100644
> index 0000000000000..4d47cea982ec4
> --- /dev/null
> +++ b/arch/arm/boot/dts/nxp/imx/imx6ul-imx6ull-var-dart-wifi-iw61x.dtsi
> @@ -0,0 +1,45 @@
> +// SPDX-License-Identifier: GPL-2.0+

[ ... ]

> +	iw61x_pwrseq: mmc-pwrseq {
> +		compatible = "mmc-pwrseq-simple";
> +		post-power-on-delay-ms = <100>;
> +		power-off-delay-us = <10000>;
> +		reset-gpios = <&gpio5 6 GPIO_ACTIVE_LOW>, /* WIFI_RESET */
> +			      <&gpio5 2 GPIO_ACTIVE_LOW>; /* WIFI_PWR_EN */
> +	};

[Severity: Low]
Does this file need to explicitly include <dt-bindings/gpio/gpio.h>?

Since the GPIO_ACTIVE_LOW macro is used here, missing the header might cause
dtc build failures if a parent file does not implicitly include it.

[ ... ]

> +&usdhc1 {
> +	#address-cells = <1>;
> +	#size-cells = <0>;

[Severity: Low]
Are these properties necessary here?

Since there are no child nodes declared under usdhc1 for the iw61x variant,
having these properties might trigger the avoid_unnecessary_addr_size dtc
warning.

[ ... ]

> diff --git a/arch/arm/boot/dts/nxp/imx/imx6ul-imx6ull-var-som-wifi-brcm.dtsi b/arch/arm/boot/dts/nxp/imx/imx6ul-imx6ull-var-som-wifi-brcm.dtsi
> new file mode 100644
> index 0000000000000..d7952233a1ee9
> --- /dev/null
> +++ b/arch/arm/boot/dts/nxp/imx/imx6ul-imx6ull-var-som-wifi-brcm.dtsi
> @@ -0,0 +1,42 @@
> +// SPDX-License-Identifier: GPL-2.0+

[Severity: Low]
Does this file need to be separate? It is a 100% exact duplicate of
imx6ul-imx6ull-var-dart-wifi-brcm.dtsi.

Could these variants be extracted into a single shared file to avoid
code duplication?

[ ... ]

> +&usdhc1 {
> +	#address-cells = <1>;
> +	#size-cells = <0>;
> +	pinctrl-names = "default", "state_100mhz", "state_200mhz";

[Severity: High]
Should this node include the 'mmc-pwrseq' assignment to properly drive
WIFI_RESET, as well as the 'non-removable' property?

Since the Broadcom Wi-Fi chip is physically soldered onto the module,
omitting these might prevent proper initialization and hardware probing.

[ ... ]

> diff --git a/arch/arm/boot/dts/nxp/imx/imx6ul-imx6ull-var-som-wifi-iw61x.dtsi b/arch/arm/boot/dts/nxp/imx/imx6ul-imx6ull-var-som-wifi-iw61x.dtsi
> new file mode 100644
> index 0000000000000..4d47cea982ec4
> --- /dev/null
> +++ b/arch/arm/boot/dts/nxp/imx/imx6ul-imx6ull-var-som-wifi-iw61x.dtsi
> @@ -0,0 +1,45 @@
> +// SPDX-License-Identifier: GPL-2.0+

[ ... ]

> +&usdhc1 {
> +	#address-cells = <1>;
> +	#size-cells = <0>;

[Severity: Low]
Are these properties needed?

Without child nodes under this usdhc1 block, this might generate an
avoid_unnecessary_addr_size dtc warning.

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

  reply	other threads:[~2026-09-27 11:06 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-26 11:05 [PATCH v2 00/11] ARM: dts: imx6ul: Add Variscite VAR-SOM-6UL and DART-6UL Stefano Radaelli
2026-09-26 11:05 ` [PATCH v2 01/11] dt-bindings: arm: fsl: Document Variscite i.MX6UL boards Stefano Radaelli
2026-09-26 11:05 ` [PATCH v2 02/11] dt-bindings: net: micrel: Fix RMII clock select property type Stefano Radaelli
2026-09-26 11:05 ` [PATCH v2 03/11] ARM: dts: imx6ul: Add Variscite SoM and DART base files Stefano Radaelli
2026-09-27 11:06   ` sashiko-bot
2026-09-26 11:05 ` [PATCH v2 04/11] ARM: dts: imx6ul: Add Variscite audio codec files Stefano Radaelli
2026-09-26 11:05 ` [PATCH v2 05/11] ARM: dts: imx6ul: Add Variscite storage and wireless files Stefano Radaelli
2026-09-27 11:06   ` sashiko-bot [this message]
2026-09-26 11:05 ` [PATCH v2 06/11] ARM: dts: imx6ul: Add Variscite carrier board files Stefano Radaelli
2026-09-27 11:06   ` sashiko-bot
2026-09-26 11:05 ` [PATCH v2 07/11] ARM: dts: imx6ul: Reuse Variscite DTSI files for Concerto Stefano Radaelli
2026-09-27 11:06   ` sashiko-bot
2026-09-26 11:05 ` [PATCH v2 08/11] ARM: dts: imx6ul: Add Variscite i.MX6UL board variants Stefano Radaelli
2026-09-27 11:06   ` sashiko-bot
2026-09-26 11:05 ` [PATCH v2 09/11] ARM: dts: imx6ull: Add Variscite i.MX6ULL " Stefano Radaelli
2026-09-26 11:05 ` [PATCH v2 10/11] ARM: dts: imx6ulz: Add Variscite i.MX6ULZ " Stefano Radaelli
2026-09-27 11:06   ` sashiko-bot
2026-09-26 11:05 ` [PATCH v2 11/11] ARM: dts: imx6ul: Enable Variscite i.MX6UL board DTBs Stefano Radaelli
2026-09-27 11:06   ` 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=20260927110620.12DE81F00898@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.