Linux kernel and device drivers for NXP i.MX platforms
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Josua Mayer" <josua@solid-run.com>
Cc: Frank.Li@kernel.org, imx@lists.linux.dev, krzk+dt@kernel.org,
	devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v4 2/2] arm64: dts: imx8dxl: Add SolidRun SoM and HummingBoard
Date: Tue, 12 May 2026 23:05:19 +0000	[thread overview]
Message-ID: <20260512230520.CC642C2BCB0@smtp.kernel.org> (raw)
In-Reply-To: <20260511-imx8dxl-sr-som-v4-2-64381b3bf80d@solid-run.com>

Thank you for your contribution! Sashiko AI review found 4 potential issue(s) to consider:
- [High] USB OTG1 port is configured as peripheral but breaks out to a Type-A host connector.
- [High] Inconsistent and incorrect pad configurations for I2C2 and I2C3 GPIO recovery pins.
- [Medium] The 'reset-duration-us' property in the 'usb-device@1' node is undocumented, unparsed by any kernel driver, and will fail schema validation.
- [Low] Mismatch in the number of 100Base-T1 add-on ports between commit message and device tree.
--

commit f382c89d7dfc4938b73c73c681a3544f6363435e
Author: Josua Mayer <josua@solid-run.com>

arm64: dts: imx8dxl: Add SolidRun SoM and HummingBoard

This commit adds support for the SolidRun i.MX8DXL System-on-Module and its
HummingBoard Telematics carrier board. It configures various hardware
interfaces including ethernet, CAN, USB, a cellular modem, and I2C sensors.

> The multi-interface add-on board connector provides additional
> interfaces (4x 100Base-T1, 2x SGMII, USB 2.0 shared with the cellular
> modem, CAN, MDIO, SPI, UART, PCIe, I2C, and GPIO).

This isn't a bug, but there is a mismatch between the commit message and the
device tree. The message mentions 4x 100Base-T1 interfaces, but the code
defines 5 disabled ports (port@5 through port@9) and 5 corresponding PHYs
for the add-on connector. Could the commit message be updated to match the
implemented ports?

> diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-hummingboard-telematics.dts b/arch/arm64/boot/dts/freescale/imx8dxl-hummingboard-telematics.dts
> new file mode 100644
> index 0000000000000..7e822cbd7a528
> --- /dev/null
> +++ b/arch/arm64/boot/dts/freescale/imx8dxl-hummingboard-telematics.dts

[ ... ]

> +&usbotg1 {
> +	vbus-supply = <&vbus1>;
> +};

Since the base SoM device tree sets dr_mode to peripheral, and the carrier
board does not override it to host or otg, will this controller remain in
peripheral mode?

Because this port breaks out to a USB Type-A connector on the evaluation kit,
leaving it as a peripheral means it will not drive the VBUS regulator to
power attached devices. Should this be explicitly set to host mode here on
the carrier board?

[ ... ]

> +/* cellular modem */
> +&usbotg2 {

[ ... ]

> +	usb-device@1 {
> +		compatible = "usb2c7c,125";
> +		reg = <1>;
> +		reset-duration-us = <150000>;

Is this reset-duration-us property supported by any upstream driver or
documented in the device tree bindings?

Because it appears to be unparsed by any kernel driver, will its inclusion
cause schema validation warnings during the binding check?

[ ... ]

> diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-sr-som.dtsi b/arch/arm64/boot/dts/freescale/imx8dxl-sr-som.dtsi
> new file mode 100644
> index 0000000000000..93a0eb4d7f770
> --- /dev/null
> +++ b/arch/arm64/boot/dts/freescale/imx8dxl-sr-som.dtsi

[ ... ]

> +	i2c2_gpio_pins: pinctrl-i2c2-gpio-grp {
> +		fsl,pins = <
> +			/* io with pull-up and weak drive */
> +			IMX8DXL_SPI1_SCK_LSIO_GPIO3_IO00		0x00000021
> +			/* io with pull-up, weak drive, open-drain */
> +			IMX8DXL_SPI1_SDO_LSIO_GPIO3_IO01		0x02000021
> +		>;
> +	};

Do these GPIO values configure the pads correctly for I2C bus recovery?

The comments mention io with pull-up, but 0x00000021 and 0x02000021 both
lack the pull-up enable bits present in the active I2C configuration.

Additionally, does using 0x00000021 for SDA leave the open-drain bit unset?
Both lines generally must be open-drain during I2C bus recovery. If SDA is
actively driven high via push-pull while a stuck slave device pulls the line
low, can this cause an electrical short circuit on the bus?

[ ... ]

> +	i2c3_gpio_pins: pinctrl-i2c3-gpio-grp {
> +		fsl,pins = <
> +			/* io with pull-up and weak drive */
> +			IMX8DXL_SPI1_CS0_LSIO_GPIO3_IO03		0x00000021
> +			/* io with pull-up, weak drive, open-drain */
> +			IMX8DXL_SPI1_SDI_LSIO_GPIO3_IO02		0x02000021
> +		>;
> +	};

Does the same configuration issue apply to these I2C3 recovery pins as well?

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260511-imx8dxl-sr-som-v4-0-64381b3bf80d@solid-run.com?part=2

  parent reply	other threads:[~2026-05-12 23:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-11 10:11 [PATCH v4 0/2] arm64: dts: imx8dxl: Add SolidRun SoM and HummingBoard Josua Mayer
2026-05-11 10:11 ` [PATCH v4 1/2] dt-bindings: arm: fsl: Add SolidRun i.MX8DXL " Josua Mayer
2026-05-11 10:11 ` [PATCH v4 2/2] arm64: dts: imx8dxl: Add SolidRun " Josua Mayer
2026-05-11 11:24   ` Vladimir Oltean
2026-05-11 12:30     ` Josua Mayer
2026-05-11 12:50       ` Vladimir Oltean
2026-05-11 13:29     ` Andrew Lunn
2026-05-12 10:27       ` Josua Mayer
2026-05-12 23:05   ` sashiko-bot [this message]
2026-05-13  9:51     ` Josua Mayer

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=20260512230520.CC642C2BCB0@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=josua@solid-run.com \
    --cc=krzk+dt@kernel.org \
    --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