From: sashiko-bot@kernel.org
To: "Haoning Cheng" <Haoning.CHENG@cn.bosch.com>
Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, robh@kernel.org,
conor+dt@kernel.org, Frank.Li@kernel.org
Subject: Re: [PATCH 07/10] ARM: dts: imx6ulz: Add BSH SMM-M2B board support
Date: Wed, 04 Nov 2026 07:44:59 +0000 [thread overview]
Message-ID: <sashiko-outbox-196815@kernel.org> (raw)
In-Reply-To: <20261104-add-bsh-smm-m2-v1-7-369f0a77e021@cn.bosch.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] ARM: dts: imx6ulz: orphaned usdhc2_pwrseq claims GPIO2_IO21 on SMM-M2B
--
commit c962f6331220298bd138ac7db3207348f699e289
Author: Qiu Guochang <guochang.qiu@cn.bosch.com>
ARM: dts: imx6ulz: Add BSH SMM-M2B board support
This commit adds device tree support for the BSH SMM-M2B SystemMaster board by
including the common imx6ulz-bsh-smm-m2-common.dtsi definitions and setting
the board model and compatible strings.
> diff --git a/arch/arm/boot/dts/nxp/imx/imx6ulz-bsh-smm-m2b.dts b/arch/arm/boot/dts/nxp/imx/imx6ulz-bsh-smm-m2b.dts
> new file mode 100644
> index 0000000000000..9dc92da6ace97
> --- /dev/null
> +++ b/arch/arm/boot/dts/nxp/imx/imx6ulz-bsh-smm-m2b.dts
> @@ -0,0 +1,13 @@
> +// SPDX-License-Identifier: (GPL-2.0 OR MIT)
> +/*
> + * Copyright (C) 2021 BSH Hausgeraete GmbH
> + */
> +
> +/dts-v1/;
> +
> +#include "imx6ulz-bsh-smm-m2-common.dtsi"
> +
> +/ {
> + model = "BSH SMM M2B";
> + compatible = "bsh,imx6ulz-bsh-smm-m2b", "fsl,imx6ull", "fsl,imx6ulz";
> +};
[Severity: Medium]
Does including imx6ulz-bsh-smm-m2-common.dtsi leave an active usdhc2_pwrseq
platform device on the BSH SMM-M2B that claims and drives GPIO2_IO21 even
though usdhc2 and its pinmux are not present on this variant?
In arch/arm/boot/dts/nxp/imx/imx6ulz-bsh-smm-m2-common.dtsi, the root node
unconditionally defines:
usdhc2_pwrseq: usdhc2-pwrseq {
compatible = "mmc-pwrseq-simple";
reset-gpios = <&gpio2 21 GPIO_ACTIVE_LOW>;
};
However, the consumer &usdhc2 node and the pinctrl_wlan group that muxes
MX6UL_PAD_SD1_DATA3__GPIO2_IO21 only exist in
arch/arm/boot/dts/nxp/imx/imx6ulz-bsh-smm-m2.dts:
pinctrl_wlan: wlangrp {
fsl,pins = <
...
/* WL_REG_ON */
MX6UL_PAD_SD1_DATA3__GPIO2_IO21 0x3029
When booting with imx6ulz-bsh-smm-m2b.dtb, the platform bus still populates
/usdhc2-pwrseq and drivers/mmc/core/pwrseq_simple.c:mmc_pwrseq_simple_probe()
executes:
pwrseq->reset_gpios = devm_gpiod_get_array(dev, "reset",
GPIOD_OUT_HIGH);
This requests GPIO2_IO21 and drives it low as an active-low reset output
without its pad being muxed to GPIO2_IO21 and with no enabled usdhc2 consumer.
Should usdhc2_pwrseq be moved into imx6ulz-bsh-smm-m2.dts alongside &usdhc2
and pinctrl_wlan, or disabled/deleted in imx6ulz-bsh-smm-m2b.dts?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261104-add-bsh-smm-m2-v1-0-369f0a77e021@cn.bosch.com?part=7
next prev parent reply other threads:[~2026-11-04 7:45 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-04 7:35 [PATCH 00/10] Update BSH SystemMaster device trees and add SMM-M2B support Haoning Cheng
2026-11-04 7:35 ` [PATCH 01/10] dt-bindings: arm: fsl: Add BSH SMM-M2B board Haoning Cheng
2026-11-04 7:35 ` [PATCH 02/10] dts: imx: Use minimum NAND ECC strength on BSH boards Haoning Cheng
2026-11-04 7:49 ` sashiko-bot
2026-11-04 7:35 ` [PATCH 03/10] ARM: dts: imx6ulz: Enable RNGB on BSH SMM-M2 Haoning Cheng
2026-11-04 7:45 ` sashiko-bot
2026-11-04 7:35 ` [PATCH 04/10] ARM: dts: imx6ulz: Adjust BSH SMM-M2 Wi-Fi and Bluetooth pin settings Haoning Cheng
2026-11-04 7:35 ` [PATCH 05/10] ARM: dts: imx6ulz: Fix BSH SMM-M2 WLAN host wake configuration Haoning Cheng
2026-11-04 7:35 ` [PATCH 06/10] ARM: dts: imx6ulz: Factor out BSH SMM-M2 common device tree Haoning Cheng
2026-11-04 7:35 ` [PATCH 07/10] ARM: dts: imx6ulz: Add BSH SMM-M2B board support Haoning Cheng
2026-11-04 7:44 ` sashiko-bot [this message]
2026-11-04 7:35 ` [PATCH 08/10] ARM: dts: imx6ulz: Configure UART2 pins on BSH SMM-M2 variants Haoning Cheng
2026-11-04 7:35 ` [PATCH 09/10] dts: imx: Enable USB OTG mode on BSH SMM-M2 and SMM-S2 Haoning Cheng
2026-11-04 7:35 ` [PATCH 10/10] ARM: dts: imx6ulz: Add SPI display and touch overlay for BSH SMM-M2 Haoning Cheng
2026-11-04 7:55 ` 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=sashiko-outbox-196815@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=Frank.Li@kernel.org \
--cc=Haoning.CHENG@cn.bosch.com \
--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