From: Stefan Wahren <wahrenst@gmx.net>
To: sashiko-reviews@lists.linux.dev, Frank.Li@kernel.org
Cc: robh@kernel.org, devicetree@vger.kernel.org, imx@lists.linux.dev,
Oliver Hartkopp <socketcan@hartkopp.net>,
Vincent Mailhol <mailhol@kernel.org>,
Oleksij Rempel <o.rempel@pengutronix.de>,
neil.armstrong@linaro.org, conor+dt@kernel.org,
linux-can@vger.kernel.org, Marc Kleine-Budde <mkl@pengutronix.de>,
olteanv@gmail.com, linux-phy@lists.infradead.org,
vkoul@kernel.org
Subject: Re: [PATCH V4 4/4] arm64: dts: freescale: Add chargebyte Charge Control Y
Date: Fri, 4 Sep 2026 15:27:20 +0200 [thread overview]
Message-ID: <721b375c-327f-4938-95ad-4d2ba6f0f1b9@gmx.net> (raw)
In-Reply-To: <20260903082122.A777C1F000E9@smtp.kernel.org>
Hi,
Am 03.09.26 um 10:21 schrieb sashiko-bot@kernel.org:
> Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider:
> - [Medium] Mismatched drive strengths on USDHC2 data lines within the same interface speed mode.
> - [Medium] The reset GPIO polarity for the Ethernet PHY (DP83825) is configured as active-high, but the PHY natively requires an active-low reset.
> - [Low] Incorrect node name used in `/delete-node/` for heartbeat LED pinctrl.
> --
>
> commit 228da9fe4e969182ceef8105169e14b5de5949a5
> Author: Stefan Wahren <wahrenst@gmx.net>
>
> arm64: dts: freescale: Add chargebyte Charge Control Y
>
> This adds device tree support for the chargebyte Charge Control Y, an
> Electrical Vehicle Supply Equipment (EVSE) based on the phyCORE-i.MX 93
> SOM.
>
>> diff --git a/arch/arm64/boot/dts/freescale/imx93-charge-control-y.dts b/arch/arm64/boot/dts/freescale/imx93-charge-control-y.dts
>> new file mode 100644
>> index 0000000000000..ba240f528f9b9
>> --- /dev/null
>> +++ b/arch/arm64/boot/dts/freescale/imx93-charge-control-y.dts
> [ ... ]
>> +/* Ethernet 2 PHY */
>> +&mdio {
>> + ethphy2: ethernet-phy@2 {
>> + reg = <2>;
>> + compatible = "ethernet-phy-id2000.a140";
>> + clocks = <&clk IMX93_CLK_ENET_REF_PHY>;
>> + reset-gpios = <&gpio4 13 GPIO_ACTIVE_HIGH>;
> [Severity: Medium]
> Will this hold the Ethernet PHY in reset? The DP83825 PHY natively expects
> an active-low reset signal. By specifying GPIO_ACTIVE_HIGH here, the kernel
> will assert reset by driving the GPIO high, and normal operation will drive
> it low. This could potentially keep the PHY in reset permanently, preventing
> Ethernet link establishment, unless there is a physical hardware inverter
> between the GPIO and the PHY.
Ethernet-PHY and reset signal are not wired directly. There is a
transistor, which negative the signal.
>
>> + reset-assert-us = <30>;
>> + reset-deassert-us = <50000>;
>> + };
>> +};
> [ ... ]
>> +&iomuxc {
>> +
>> + // Heartbeat LED of phyCore is not populated
>> + /delete-node/ pinctrl_leds;
> [Severity: Low]
> Will the device tree compiler process this delete-node directive correctly?
> In imx93-phycore-som.dtsi, the node is defined with the name ledsgrp and
> the label pinctrl_leds.
>
> The delete-node syntax expects the exact node name, like:
> /delete-node/ ledsgrp;
>
> Or alternatively, using the phandle label at the root level:
> /delete-node/ &pinctrl_leds;
>
> Using just the label name inside &iomuxc might result in a "Node not found"
> compiler error or a silent failure that leaves unused pinmux data in the
> binary.
Nice catch. I'm surprised why make dtbs_check doesn't find it. I will
fix it.
>
>> +
>> + pinctrl_eqos: eqosgrp {
> [ ... ]
>> + /* need to config the SION for data and cmd pad, refer to ERR052021 */
>> + pinctrl_usdhc2_default: usdhc2grp {
>> + fsl,pins = <
>> + MX93_PAD_SD2_CLK__USDHC2_CLK 0x119e
>> + MX93_PAD_SD2_CMD__USDHC2_CMD 0x4000139e
>> + MX93_PAD_SD2_DATA0__USDHC2_DATA0 0x4000138e
>> + MX93_PAD_SD2_DATA1__USDHC2_DATA1 0x4000138e
>> + MX93_PAD_SD2_DATA2__USDHC2_DATA2 0x4000138e
>> + MX93_PAD_SD2_DATA3__USDHC2_DATA3 0x4000139e
> [Severity: Medium]
> Are these drive strength settings intended to be different across the data
> lines?
Yes, DSE can be optimized for electromagnetic compatibility
Best regards
>
> In this default mode configuration, DATA0-2 use 0x4000138e (DSE bit 4 = 0),
> while DATA3 uses 0x4000139e (DSE bit 4 = 1). Mismatched drive strengths on
> the same SDIO bus can introduce signal skew and degrade signal integrity.
>
>> + MX93_PAD_SD2_VSELECT__USDHC2_VSELECT 0x51e
>> + >;
>> + };
>> +
>> + /* need to config the SION for data and cmd pad, refer to ERR052021 */
>> + pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp {
>> + fsl,pins = <
>> + MX93_PAD_SD2_CLK__USDHC2_CLK 0x119e
>> + MX93_PAD_SD2_CMD__USDHC2_CMD 0x4000139e
>> + MX93_PAD_SD2_DATA0__USDHC2_DATA0 0x4000138e
>> + MX93_PAD_SD2_DATA1__USDHC2_DATA1 0x4000138e
>> + MX93_PAD_SD2_DATA2__USDHC2_DATA2 0x4000139e
>> + MX93_PAD_SD2_DATA3__USDHC2_DATA3 0x4000139e
> [Severity: Medium]
> Similarly, in the 100mhz configuration, DATA0-1 are set to 0x4000138e and
> DATA2-3 are set to 0x4000139e. Could this mismatch cause high-frequency
> enumeration or data corruption issues on the SD bus?
>
>> + MX93_PAD_SD2_VSELECT__USDHC2_VSELECT 0x51e
>> + >;
>> + };
--
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy
prev parent reply other threads:[~2026-09-04 13:28 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-03 8:04 [PATCH V4 0/4] arm64: dts: freescale: Add chargebyte Charge Control Y Stefan Wahren
2026-09-03 8:04 ` [PATCH V4 1/4] dt-bindings: phy: ti,tcan104x-can: Fix property constrains Stefan Wahren
2026-09-03 8:04 ` [PATCH V4 2/4] dt-bindings: arm: fsl: Add chargebyte Charge Control Y Stefan Wahren
2026-09-03 8:04 ` [PATCH V4 3/4] dt-bindings: phy: ti,tcan104x-can: Document Microchip MCP2542 Stefan Wahren
2026-09-03 8:04 ` [PATCH V4 4/4] arm64: dts: freescale: Add chargebyte Charge Control Y Stefan Wahren
2026-09-03 8:21 ` sashiko-bot
2026-09-04 13:27 ` Stefan Wahren [this message]
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=721b375c-327f-4938-95ad-4d2ba6f0f1b9@gmx.net \
--to=wahrenst@gmx.net \
--cc=Frank.Li@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=imx@lists.linux.dev \
--cc=linux-can@vger.kernel.org \
--cc=linux-phy@lists.infradead.org \
--cc=mailhol@kernel.org \
--cc=mkl@pengutronix.de \
--cc=neil.armstrong@linaro.org \
--cc=o.rempel@pengutronix.de \
--cc=olteanv@gmail.com \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=socketcan@hartkopp.net \
--cc=vkoul@kernel.org \
/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