Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Alexander Stein" <alexander.stein@ew.tq-group.com>
Cc: Frank.Li@kernel.org, imx@lists.linux.dev,
	wsa+renesas@sang-engineering.com, devicetree@vger.kernel.org,
	conor+dt@kernel.org, robh@kernel.org
Subject: Re: [PATCH v4 2/4] arm64: dts: freescale: add initial device tree for TQMa8MPQS with i.MX8MP
Date: Wed, 03 Jun 2026 10:05:59 +0000	[thread overview]
Message-ID: <20260603100559.6E7E21F00893@smtp.kernel.org> (raw)
In-Reply-To: <20260603093621.2504490-2-alexander.stein@ew.tq-group.com>

Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [High] Incorrect `reset-gpios` polarity on `dp_bridge` will permanently disable the device.
- [Medium] Missing `interrupts` property for the DisplayPort bridge despite hardware routing.
--

commit ec4a92e3f2baae5d65ed787df020c8a40c851231
Author: Paul Gerber <paul.gerber@tq-group.com>

arm64: dts: freescale: add initial device tree for TQMa8MPQS with i.MX8MP

This adds support for TQMa8MPQS module on MB-SMARC-2 board.

> diff --git a/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpqs.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpqs.dtsi
> new file mode 100644
> --- /dev/null
> +++ b/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpqs.dtsi

[ ... ]

> +&i2c3 {
> +	clock-frequency = <384000>;
> +	pinctrl-names = "default", "gpio";
> +	pinctrl-0 = <&pinctrl_i2c3>;
> +	pinctrl-1 = <&pinctrl_i2c3_gpio>;
> +	scl-gpios = <&gpio5 18 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
> +	sda-gpios = <&gpio5 19 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
> +	status = "okay";
> +
> +	dp_bridge: dp-bridge@f {
> +		compatible = "toshiba,tc9595", "toshiba,tc358767";
> +		reg = <0xf>;
> +		pinctrl-names = "default";
> +		pinctrl-0 = <&pinctrl_tc9595>;
> +		clock-names = "ref";
> +		clocks = <&clk_dp>;

[Severity: Medium]
Is this node missing the interrupt properties for the Hot Plug Detect signal?

The pinctrl node pinctrl_tc9595 configures GPIO5_IO21 (DP_HPD_INT), but
without the interrupt-parent and interrupts properties here, the tc358767
driver won't be able to request the hardware IRQ.

Will this cause the driver to silently fall back to 10-second software
polling for HPD and link training events instead of using the hardware
interrupt?

> +		reset-gpios = <&expander0 4 GPIO_ACTIVE_HIGH>;

[Severity: High]
Will this reset-gpios polarity leave the device permanently held in reset?

The tc358767 driver initializes the reset GPIO to logical 0, pulses it to
logical 1 to assert, and returns it to logical 0 to deassert. Since this
is specified as GPIO_ACTIVE_HIGH, the final logical 0 maps to a physical
LOW signal.

If this pin controls the bridge's Enable or active-low Reset, won't holding
it physically LOW leave the bridge permanently disabled? Does this need to be
GPIO_ACTIVE_LOW so the driver's logical 0 maps to a physical HIGH instead?

> +		toshiba,hpd-pin = <0>;
> +		status = "disabled";
> +
> +		ports {

[ ... ]

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260603093621.2504490-1-alexander.stein@ew.tq-group.com?part=2

  reply	other threads:[~2026-06-03 10:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-03  9:36 [PATCH v4 1/4] dt-bindings: arm: fsl: add TQMa8MPxS board Alexander Stein
2026-06-03  9:36 ` [PATCH v4 2/4] arm64: dts: freescale: add initial device tree for TQMa8MPQS with i.MX8MP Alexander Stein
2026-06-03 10:05   ` sashiko-bot [this message]
2026-06-03 17:41     ` Frank Li
2026-06-03  9:36 ` [PATCH v4 3/4] arm64: dts: freescale: add LVDS overlays for TQMa8MPxS Alexander Stein
2026-06-03  9:36 ` [PATCH v4 4/4] arm64: dts: freescale: Add dual-channel LVDS overlay " Alexander Stein
2026-06-03 10:23   ` sashiko-bot
2026-06-03 12:56 ` [PATCH v4 1/4] dt-bindings: arm: fsl: add TQMa8MPxS board Wolfram Sang
2026-06-03 13:05   ` Geert Uytterhoeven

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=20260603100559.6E7E21F00893@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=Frank.Li@kernel.org \
    --cc=alexander.stein@ew.tq-group.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 \
    --cc=wsa+renesas@sang-engineering.com \
    /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