Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Svyatoslav Ryhel" <clamor95@gmail.com>
Cc: krzk+dt@kernel.org, robh@kernel.org, devicetree@vger.kernel.org,
	conor+dt@kernel.org
Subject: Re: [PATCH v1 6/9 RESEND] ARM: tegra: transformers: Add connector node for common trees
Date: Tue, 12 May 2026 02:40:59 +0000	[thread overview]
Message-ID: <20260512024059.BD730C2BCF5@smtp.kernel.org> (raw)
In-Reply-To: <20260511074859.24930-7-clamor95@gmail.com>

Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [High] Migrating to the DRM bridge framework silently breaks HDMI CEC, audio, and AVI infoframes.
- [High] Strict removal of legacy `nvidia,hpd-gpio` and `nvidia,ddc-i2c-bus` breaks older kernels, while retaining them exposes a probe conflict.
--

commit fb3e359e4dd58d87afe7ba7cf548657a8457080f
Author: Svyatoslav Ryhel <clamor95@gmail.com>

ARM: tegra: transformers: Add connector node for common trees

This commit adds a micro-HDMI connector node to the ASUS Transformers
device trees to use the connector framework, now that Tegra HDMI has
bridge/connector support. It replaces the legacy hpd and ddc properties
with an endpoint connecting to the new hdmi-connector node.

> diff --git a/arch/arm/boot/dts/nvidia/tegra20-asus-transformer-common.dtsi b/arch/arm/boot/dts/nvidia/tegra20-asus-transformer-common.dtsi
> index b48f53c00efae..5b758aad8d150 100644
> --- a/arch/arm/boot/dts/nvidia/tegra20-asus-transformer-common.dtsi
> +++ b/arch/arm/boot/dts/nvidia/tegra20-asus-transformer-common.dtsi
> @@ -79,9 +79,11 @@ hdmi@54280000 {
>  			pll-supply = <&hdmi_pll_reg>;
>  			hdmi-supply = <&vdd_hdmi_en>;
>  
> -			nvidia,ddc-i2c-bus = <&hdmi_ddc>;
> -			nvidia,hpd-gpio = <&gpio TEGRA_GPIO(N, 7)
> -				GPIO_ACTIVE_HIGH>;

Does the removal of nvidia,hpd-gpio and nvidia,ddc-i2c-bus cause a regression
in device tree ABI backward compatibility for older kernels that lack
hdmi-connector bridge support?

If these legacy properties are retained to preserve compatibility, will
tegra_output_probe() unconditionally request the nvidia,hpd GPIO and conflict
with the display-connector driver requesting the same GPIO via hpd-gpios?

Since GPIOs are requested exclusively, this might result in an -EBUSY error
that fails the DRM probe entirely.

Does the DRM driver need to be patched to ignore legacy properties when a
bridge is present before applying this DT migration?

> +			port {
> +				hdmi_out: endpoint {
> +					remote-endpoint = <&hdmi_connector_in>;
> +				};
> +			};
>  		};
>  	};

Does migrating to the DRM bridge framework here cause a regression with HDMI
CEC, audio, and AVI infoframes?

When hdmi->output.bridge is used, tegra_hdmi_init() dynamically allocates a
connector, leaving the internal legacy hdmi->output.connector structure
zero-initialized.

Could this cause tegra_output_init() to skip CEC notifier registration because
connector_type evaluates to 0?

Additionally, does this cause tegra_output_is_hdmi() to return false (since
display_info.is_hdmi is 0), which would force DVI fallback mode in
tegra_hdmi_encoder_enable() by setting hdmi->dvi = true?

This fallback mode appears to bypass tegra_hdmi_setup_audio() and skip all
AVI and audio infoframe configurations.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260511074859.24930-1-clamor95@gmail.com?part=6

  reply	other threads:[~2026-05-12  2:41 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-11  7:48 [PATCH v1 0/9 RESEND] ARM: tegra: complete a few Tegra30 device trees Svyatoslav Ryhel
2026-05-11  7:48 ` [PATCH v1 1/9 RESEND] ARM: tegra: lg-x3: Complete video device graph Svyatoslav Ryhel
2026-05-12  0:47   ` sashiko-bot
2026-05-11  7:48 ` [PATCH v1 2/9 RESEND] ARM: tegra: lg-x3: Set PMIC's RTC address Svyatoslav Ryhel
2026-05-12  1:11   ` sashiko-bot
2026-05-11  7:48 ` [PATCH v1 3/9 RESEND] ARM: tegra: p880: Lower CPU thermal limit Svyatoslav Ryhel
2026-05-11  7:48 ` [PATCH v1 4/9 RESEND] ARM: tegra: grouper: Add support for front camera Svyatoslav Ryhel
2026-05-12  1:58   ` sashiko-bot
2026-05-11  7:48 ` [PATCH v1 5/9 RESEND] ARM: tegra: transformer: " Svyatoslav Ryhel
2026-05-12  2:23   ` sashiko-bot
2026-05-11  7:48 ` [PATCH v1 6/9 RESEND] ARM: tegra: transformers: Add connector node for common trees Svyatoslav Ryhel
2026-05-12  2:40   ` sashiko-bot [this message]
2026-05-11  7:48 ` [PATCH v1 7/9 RESEND] ARM: tegra: tf600t: Configure panel Svyatoslav Ryhel
2026-05-12  3:27   ` sashiko-bot
2026-05-11  7:48 ` [PATCH v1 8/9 RESEND] ARM: tegra: tf600t: Drop backlight regulator Svyatoslav Ryhel
2026-05-11  7:48 ` [PATCH v1 9/9 RESEND] ARM: tegra: tf600t: Invert accelerometer calibration matrix Svyatoslav Ryhel
2026-05-12  3:39   ` sashiko-bot

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=20260512024059.BD730C2BCF5@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=clamor95@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=robh@kernel.org \
    --cc=sashiko@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