From: sashiko-bot@kernel.org
To: "Stefan Wahren" <wahrenst@gmx.net>
Cc: imx@lists.linux.dev, "Oliver Hartkopp" <socketcan@hartkopp.net>,
"Oleksij Rempel" <o.rempel@pengutronix.de>,
vkoul@kernel.org, olteanv@gmail.com, devicetree@vger.kernel.org,
conor+dt@kernel.org, Frank.Li@kernel.org,
"Marc Kleine-Budde" <mkl@pengutronix.de>,
linux-can@vger.kernel.org, neil.armstrong@linaro.org,
"Vincent Mailhol" <mailhol@kernel.org>,
robh@kernel.org, linux-phy@lists.infradead.org
Subject: Re: [PATCH RFC 4/4] arm64: dts: freescale: Add chargebyte Charge Control Y
Date: Tue, 18 Aug 2026 09:31:47 +0000 [thread overview]
Message-ID: <20260818093147.E556C1F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260818091701.6441-5-wahrenst@gmx.net>
Thank you for your contribution! Sashiko AI review found 4 potential issue(s) to consider:
- [Medium] The LAN8651 ethernet device is missing its hardware reset configuration, leaving the `X_nRST_LAN` pin unmanaged.
- [Medium] The SD card slot power/reset pin (`SD2_nRESET`) is named in `gpio-line-names` but is not associated with any regulator or reset control.
- [Low] The GPIO label `X_LAN_nCS` is incorrectly placed at index 0 of `&gpio2`'s `gpio-line-names` array, but the `lan8651` chip select is actually wired to index 8.
- [Low] The `ti,leds-polarity` property used in both Ethernet PHY nodes is undocumented, invalid, and will cause `dtbs_check` validation errors.
--
--- Patch [4]: [PATCH RFC 4/4] arm64: dts: freescale: Add chargebyte Charge Control Y ---
commit a177a5e0acba62156876ea6dc84457789786bfb8
Author: Stefan Wahren <wahrenst@gmx.net>
arm64: dts: freescale: Add chargebyte Charge Control Y
This commit adds support for the chargebyte Charge Control Y, an EVSE
for MCS charging stations based on the phyCORE-i.MX 93 ARM SoM. It
adds the devicetree for the board, including ethernet interfaces, CAN,
SPI, and SD card configurations.
> 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
> --- /dev/null
> +++ b/arch/arm64/boot/dts/freescale/imx93-charge-control-y.dts
> @@ -0,0 +1,387 @@
[ ... ]
> +/* Ethernet 1 PHY */
> +ðphy1 {
> + ti,leds-polarity = <1>; // active-high
> +};
[Severity: Low]
Is ti,leds-polarity supported by the devicetree bindings? It does not
appear to be documented in the schema and might cause dtbs_check validation
errors.
[ ... ]
> +&gpio2 {
> + gpio-line-names = "X_LAN_nCS", "", "", "", "",
> + "", "", "X_LAN_nIRQ", "", "",
[Severity: Low]
Should the X_LAN_nCS label be placed at index 8 instead of index 0? The
lpspi3 node below configures the cs-gpios using index 8 on this bank.
[ ... ]
> +/* MCS Ethernet SPI */
> +&lpspi3 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_lpspi3>;
> + num-cs = <1>;
> + cs-gpios = <&gpio2 8 GPIO_ACTIVE_LOW>;
> + status = "okay";
> +
> + lan8651: ethernet@0 {
> + compatible = "microchip,lan8651", "microchip,lan8650";
> + reg = <0>;
> + interrupt-parent = <&gpio2>;
> + interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
> + spi-max-frequency = <25000000>;
> +
> + nvmem-cells = <ð2_mac_address 0>;
> + nvmem-cell-names = "mac-address";
> + };
> +};
[Severity: Medium]
The pin X_nRST_LAN is labeled in the gpio1 node, but this ethernet node
doesn't seem to configure a reset mechanism. Does the LAN8651 need a reset
control or gpio-hog to ensure the pin is driven and not left floating?
[ ... ]
> +/* 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>;
> + reset-assert-us = <30>;
> + reset-deassert-us = <50000>;
> + ti,leds-polarity = <1>; // active-high
> + };
> +};
[Severity: Low]
Similar to the ethernet 1 PHY above, is this ti,leds-polarity property
supported by the devicetree bindings?
> +
> +/* SD */
> +&usdhc2 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_usdhc2_default>, <&pinctrl_usdhc2_cd>;
> + cd-gpios = <&gpio3 00 GPIO_ACTIVE_LOW>;
> + bus-width = <4>;
> + disable-wp;
> + no-sdio;
> + no-mmc;
> + no-1-8-v;
> + status = "okay";
> +};
[Severity: Medium]
The SD2_nRESET pin is labeled in the gpio3 node, but does this usdhc2 node
need a vmmc-supply using that pin as a fixed regulator to ensure the SD
card slot is reliably powered?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260818091701.6441-1-wahrenst@gmx.net?part=4
--
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy
WARNING: multiple messages have this Message-ID (diff)
From: sashiko-bot@kernel.org
To: "Stefan Wahren" <wahrenst@gmx.net>
Cc: imx@lists.linux.dev, "Oliver Hartkopp" <socketcan@hartkopp.net>,
"Oleksij Rempel" <o.rempel@pengutronix.de>,
vkoul@kernel.org, olteanv@gmail.com, devicetree@vger.kernel.org,
conor+dt@kernel.org, Frank.Li@kernel.org,
"Marc Kleine-Budde" <mkl@pengutronix.de>,
linux-can@vger.kernel.org, neil.armstrong@linaro.org,
"Vincent Mailhol" <mailhol@kernel.org>,
robh@kernel.org, linux-phy@lists.infradead.org
Subject: Re: [PATCH RFC 4/4] arm64: dts: freescale: Add chargebyte Charge Control Y
Date: Tue, 18 Aug 2026 09:31:47 +0000 [thread overview]
Message-ID: <20260818093147.E556C1F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260818091701.6441-5-wahrenst@gmx.net>
Thank you for your contribution! Sashiko AI review found 4 potential issue(s) to consider:
- [Medium] The LAN8651 ethernet device is missing its hardware reset configuration, leaving the `X_nRST_LAN` pin unmanaged.
- [Medium] The SD card slot power/reset pin (`SD2_nRESET`) is named in `gpio-line-names` but is not associated with any regulator or reset control.
- [Low] The GPIO label `X_LAN_nCS` is incorrectly placed at index 0 of `&gpio2`'s `gpio-line-names` array, but the `lan8651` chip select is actually wired to index 8.
- [Low] The `ti,leds-polarity` property used in both Ethernet PHY nodes is undocumented, invalid, and will cause `dtbs_check` validation errors.
--
--- Patch [4]: [PATCH RFC 4/4] arm64: dts: freescale: Add chargebyte Charge Control Y ---
commit a177a5e0acba62156876ea6dc84457789786bfb8
Author: Stefan Wahren <wahrenst@gmx.net>
arm64: dts: freescale: Add chargebyte Charge Control Y
This commit adds support for the chargebyte Charge Control Y, an EVSE
for MCS charging stations based on the phyCORE-i.MX 93 ARM SoM. It
adds the devicetree for the board, including ethernet interfaces, CAN,
SPI, and SD card configurations.
> 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
> --- /dev/null
> +++ b/arch/arm64/boot/dts/freescale/imx93-charge-control-y.dts
> @@ -0,0 +1,387 @@
[ ... ]
> +/* Ethernet 1 PHY */
> +ðphy1 {
> + ti,leds-polarity = <1>; // active-high
> +};
[Severity: Low]
Is ti,leds-polarity supported by the devicetree bindings? It does not
appear to be documented in the schema and might cause dtbs_check validation
errors.
[ ... ]
> +&gpio2 {
> + gpio-line-names = "X_LAN_nCS", "", "", "", "",
> + "", "", "X_LAN_nIRQ", "", "",
[Severity: Low]
Should the X_LAN_nCS label be placed at index 8 instead of index 0? The
lpspi3 node below configures the cs-gpios using index 8 on this bank.
[ ... ]
> +/* MCS Ethernet SPI */
> +&lpspi3 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_lpspi3>;
> + num-cs = <1>;
> + cs-gpios = <&gpio2 8 GPIO_ACTIVE_LOW>;
> + status = "okay";
> +
> + lan8651: ethernet@0 {
> + compatible = "microchip,lan8651", "microchip,lan8650";
> + reg = <0>;
> + interrupt-parent = <&gpio2>;
> + interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
> + spi-max-frequency = <25000000>;
> +
> + nvmem-cells = <ð2_mac_address 0>;
> + nvmem-cell-names = "mac-address";
> + };
> +};
[Severity: Medium]
The pin X_nRST_LAN is labeled in the gpio1 node, but this ethernet node
doesn't seem to configure a reset mechanism. Does the LAN8651 need a reset
control or gpio-hog to ensure the pin is driven and not left floating?
[ ... ]
> +/* 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>;
> + reset-assert-us = <30>;
> + reset-deassert-us = <50000>;
> + ti,leds-polarity = <1>; // active-high
> + };
> +};
[Severity: Low]
Similar to the ethernet 1 PHY above, is this ti,leds-polarity property
supported by the devicetree bindings?
> +
> +/* SD */
> +&usdhc2 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_usdhc2_default>, <&pinctrl_usdhc2_cd>;
> + cd-gpios = <&gpio3 00 GPIO_ACTIVE_LOW>;
> + bus-width = <4>;
> + disable-wp;
> + no-sdio;
> + no-mmc;
> + no-1-8-v;
> + status = "okay";
> +};
[Severity: Medium]
The SD2_nRESET pin is labeled in the gpio3 node, but does this usdhc2 node
need a vmmc-supply using that pin as a fixed regulator to ensure the SD
card slot is reliably powered?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260818091701.6441-1-wahrenst@gmx.net?part=4
next prev parent reply other threads:[~2026-08-18 9:31 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-18 9:16 [PATCH RFC 0/4] arm64: dts: freescale: Add chargebyte Charge Control Y Stefan Wahren
2026-08-18 9:16 ` Stefan Wahren
2026-08-18 9:16 ` [PATCH RFC 1/4] dt-bindings: arm: fsl: " Stefan Wahren
2026-08-18 9:16 ` Stefan Wahren
2026-08-18 9:16 ` [PATCH RFC 2/4] dt-bindings: phy: ti,tcan104x-can: Document Microchip MCP2542 Stefan Wahren
2026-08-18 9:16 ` Stefan Wahren
2026-08-18 9:24 ` sashiko-bot
2026-08-18 9:24 ` sashiko-bot
2026-08-18 9:26 ` [PATCH RFC 2/4] dt-bindings: phy: ti, tcan104x-can: " Marc Kleine-Budde
2026-08-18 9:26 ` Marc Kleine-Budde
2026-08-18 16:23 ` [PATCH RFC 2/4] dt-bindings: phy: ti,tcan104x-can: " Frank Li
2026-08-18 16:23 ` Frank Li
2026-08-18 9:17 ` [PATCH RFC 3/4] phy: phy-can-transceiver: Add support for " Stefan Wahren
2026-08-18 9:17 ` Stefan Wahren
2026-08-18 9:27 ` Marc Kleine-Budde
2026-08-18 9:27 ` Marc Kleine-Budde
2026-08-18 9:17 ` [PATCH RFC 4/4] arm64: dts: freescale: Add chargebyte Charge Control Y Stefan Wahren
2026-08-18 9:17 ` Stefan Wahren
2026-08-18 9:31 ` sashiko-bot [this message]
2026-08-18 9:31 ` sashiko-bot
2026-08-18 13:40 ` Stefan Wahren
2026-08-18 13:40 ` Stefan Wahren
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=20260818093147.E556C1F000E9@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=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 \
--cc=wahrenst@gmx.net \
/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.