From: sashiko-bot@kernel.org
To: "Krzysztof Kozlowski" <krzysztof.kozlowski@oss.qualcomm.com>,
devicetree@vger.kernel.org
Cc: robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH] arm64: dts: qcom: eliza-evk: Add DSI2HDMI bridge and HDMI output
Date: Tue, 01 Dec 2026 08:34:44 +0000 [thread overview]
Message-ID: <sashiko-outbox-242850@kernel.org> (raw)
In-Reply-To: <20261201081953.140894-2-krzysztof.kozlowski@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 4 potential
issues to consider:
- [High] arm64: dts: qcom: undocumented lontium,lt9611uxd compatible on
hdmi-bridge@41
- [High] arm64: dts: qcom: unconditional mdss_dsi0 enablement for
optional hat breaks DP
- [Medium] arm64: dts: qcom: undocumented mdss_dp0 enablement with
unused sleep pinctrl
- [Medium] arm64: dts: qcom: swapped vdd-supply and vcc-supply on
hdmi-bridge@41
--
commit 112b7af67ee52eaeb64d1fa1291687875a1db87c
Author: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
arm64: dts: qcom: eliza-evk: Add DSI2HDMI bridge and HDMI output
This commit adds the Lontium DSI2HDMI bridge on i2c8, the HDMI connector,
and the MDSS DSI0 and DP0 configurations for the Eliza EVK board.
> diff --git a/arch/arm64/boot/dts/qcom/eliza-evk.dtsi b/arch/arm64/boot/dts/qcom/eliza-evk.dtsi
> index 02e58a4bc91d4..069df6e0044b1 100644
> --- a/arch/arm64/boot/dts/qcom/eliza-evk.dtsi
> +++ b/arch/arm64/boot/dts/qcom/eliza-evk.dtsi
[ ... ]
> @@ -209,6 +220,81 @@ gpio_expander1: gpio@3c {
> };
> };
>
> +&i2c8 {
> + clock-frequency = <400000>;
> +
> + status = "okay";
> +
> + lt9611_codec: hdmi-bridge@41 {
> + compatible = "lontium,lt9611uxd";
> + reg = <0x41>;
[Severity: High]
Is "lontium,lt9611uxd" a typo in the compatible string for lt9611_codec?
Documentation/devicetree/bindings/display/bridge/lontium,lt9611.yaml and
the in-tree bridge drivers only define "lontium,lt9611" and
"lontium,lt9611uxc", and the patch note below the tearline refers to
lt9611c bindings rather than lt9611uxd. With no matching driver or
fallback compatible, hdmi-bridge@41 never probes or calls
mipi_dsi_attach(), which also prevents mdss_dsi0 from registering its DRM
component in dsi_host_attach() and blocks mdss_mdp from binding the
display subsystem.
> +
> + interrupts-extended = <&tlmm 13 IRQ_TYPE_EDGE_FALLING>;
> + reset-gpios = <&tlmm 16 GPIO_ACTIVE_HIGH>;
> +
> + vdd-supply = <&vph_pwr>;
> + vcc-supply = <&vreg_l7b>;
[Severity: Medium]
Are vdd-supply and vcc-supply swapped on lt9611_codec?
According to Documentation/devicetree/bindings/display/bridge/lontium,lt9611.yaml,
vdd-supply is the 1.8V MIPI PHY power supply and vcc-supply is the 3.3V IO
power supply, whereas in arch/arm64/boot/dts/qcom/eliza-cqs-som.dtsi
vph_pwr is 3.7V and vreg_l7b is the 1.8V RPMh LDO. Besides reversing the
power-on sequence between the two rails, lt9611_regulator_init() and
lt9611uxc_regulator_init() only call regulator_set_load() on "vdd", so the
load vote is applied as a no-op to the fixed vph_pwr rail instead of
vreg_l7b.
[ ... ]
> +&mdss_dp0 {
> + pinctrl-0 = <&usb_dp_sw_active>;
> + pinctrl-1 = <&usb_dp_sw_sleep>;
> + pinctrl-names = "default", "sleep";
> +
> + status = "okay";
> +};
> +
> +&mdss_dp0_out {
> + link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
> +};
[Severity: Medium]
Should the mdss_dp0 enablement and USB/DP switch pinctrl configuration be
described in the commit message or split into a separate patch, and will
usb_dp_sw_sleep ever be selected?
The commit message only describes adding the DSI2HDMI bridge and HDMI
output. In addition, the MSM DisplayPort driver
(drivers/gpu/drm/msm/dp/dp_display.c) never calls
pinctrl_pm_select_sleep_state() or pinctrl_pm_select_default_state(), so
pinctrl_bind_pins() selects usb_dp_sw_active once at probe and permanently
drives gpio178 (usb-dp-sw-sel-pins) high.
> +
> +&mdss_dsi0 {
> + vdda-supply = <&vreg_l4b>;
> +
> + status = "okay";
> +};
> +
> +&mdss_dsi0_out {
> + remote-endpoint = <<9611_a>;
> + data-lanes = <0 1 2 3>;
> +};
[Severity: High]
Does unconditionally enabling mdss_dsi0 and i2c8 in eliza-evk.dtsi rather
than in a Devicetree overlay break the display subsystem when the optional
DSI2HDMI hat is absent or when TZ firmware does not configure GENIQUP8 for
I2C?
During DRM master setup, add_mdp_components() in
drivers/gpu/drm/msm/msm_drv.c adds every available MDP interface (both
mdss_dp0 and mdss_dsi0) to the component match list, while mdss_dsi0 only
registers its component in dsi_host_attach() when the downstream DSI
bridge attaches. If i2c8 fails to initialize or the hat is not connected
on I2C, the bridge driver fails to probe before calling mipi_dsi_attach(),
leaving mdss_dsi0 unbound and preventing mdss_mdp (including DisplayPort
on mdss_dp0) from binding.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261201081953.140894-2-krzysztof.kozlowski@oss.qualcomm.com?part=1
prev parent reply other threads:[~2026-12-01 8:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-01 8:19 [PATCH] arm64: dts: qcom: eliza-evk: Add DSI2HDMI bridge and HDMI output Krzysztof Kozlowski
2026-12-01 8:34 ` sashiko-bot [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=sashiko-outbox-242850@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski@oss.qualcomm.com \
--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