From: sashiko-bot@kernel.org
To: "Liu Yu" <f78fk@live.com>
Cc: robh@kernel.org, devicetree@vger.kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH 2/2] arm: dts: xilinx: Add support for MYIR MYS-7Z020-V2 board
Date: Fri, 19 Jun 2026 10:32:12 +0000 [thread overview]
Message-ID: <20260619103214.A63331F000E9@smtp.kernel.org> (raw)
In-Reply-To: <SY3PPF19552C607A65588339A2CED9E2AFDC7E22@SY3PPF19552C607.AUSP300.PROD.OUTLOOK.COM>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [High] Missing function multiplexing for SD card detect (CD) pin, causing SD card detection to fail.
--
commit d502783eb06999075d769495567d3ef9a776e3f7
Author: Liu Yu <f78fk@live.com>
arm: dts: xilinx: Add support for MYIR MYS-7Z020-V2 board
Add device tree support for the MYIR MYS-7Z020-V2 board based on
the Xilinx Zynq-7000 XC7Z020 SoC.
Link: https://www.myirtech.com/list.asp?id=708
> diff --git a/arch/arm/boot/dts/xilinx/zynq-mys-7z020-v2.dts b/arch/arm/boot/dts/xilinx/zynq-mys-7z020-v2.dts
> new file mode 100644
> index 0000000000000..39bd864ca358d
> --- /dev/null
> +++ b/arch/arm/boot/dts/xilinx/zynq-mys-7z020-v2.dts
[ ... ]
> +&pinctrl0 {
[ ... ]
> + pinctrl_sdhci0_default: sdhci0-default {
> + mux {
> + groups = "sdio0_2_grp";
> + function = "sdio0";
> + };
> + conf {
> + groups = "sdio0_2_grp";
> + slew-rate = <0>;
> + io-standard = <1>;
> + bias-disable;
> + };
> + conf-cd {
> + pins = "MIO46";
> + bias-pull-up;
> + slew-rate = <0>;
> + io-standard = <1>;
> + };
[Severity: High]
Does this pin configuration properly route the SD card detect signal to the
SDHCI controller?
The conf-cd block sets the electrical properties for MIO46, but it appears
to lack the required multiplexing configuration. In the Zynq pinctrl driver,
routing the SD card detect signal requires explicitly requesting the
sdio0_cd function.
Without defining a mux node (such as adding a mux-cd block with
groups = "gpio0_46_grp" and function = "sdio0_cd"), the Linux pinctrl
driver will not route the internal SDHCI controller's CD line to MIO46.
Unless the bootloader pre-configures this mux and the configuration
survives suspend and resume cycles, the SD controller will likely fail
to detect card insertion or removal.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260619102214.223121-1-f78fk@live.com?part=2
next prev parent reply other threads:[~2026-06-19 10:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20260619102214.223121-1-f78fk@live.com>
2026-06-19 10:22 ` [PATCH 1/2] dt-bindings: soc: xilinx: Add MYIR MYS-7Z020-V2 board Liu Yu
2026-06-19 10:22 ` [PATCH 2/2] arm: dts: xilinx: Add support for " Liu Yu
2026-06-19 10:32 ` sashiko-bot [this message]
2026-06-19 13:23 ` [PATCH v2 0/2] arm: dts: xilinx: Add MYIR MYS-7Z020-V2 board support Liu Yu
[not found] ` <20260619132355.1776-1-f78fk@live.com>
2026-06-19 13:23 ` [PATCH v2 1/2] dt-bindings: soc: xilinx: Add MYIR MYS-7Z020-V2 board Liu Yu
2026-06-19 13:23 ` [PATCH v2 2/2] arm: dts: xilinx: Add support for " Liu Yu
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=20260619103214.A63331F000E9@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=f78fk@live.com \
--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