Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: vishnu.saini@oss.qualcomm.com
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH 3/7] arm64: dts: qcom: shikra-iqs-evk: Add AUO G133HAN01 LVDS panel overlay
Date: Wed, 21 Oct 2026 14:33:23 +0000	[thread overview]
Message-ID: <sashiko-outbox-180380@kernel.org> (raw)
In-Reply-To: <20261021-shikra_display_overlays-v1-3-adaea735999f@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [High] arm64: dts: qcom: missing status okay on i2c3 node in lvds overlay
- [Medium] arm64: dts: qcom: missing backlight property in panel-lvds node
--

commit b4b78d829d507a91f08f278892b57ecc12f421d2
Author: Anand Tiwari <anand.tiwari@oss.qualcomm.com>

arm64: dts: qcom: shikra-iqs-evk: Add AUO G133HAN01 LVDS panel overlay

This commit adds a device tree overlay for shikra-iqs-evk to support the
auo,g133han01 panel connected through a ti,sn65dsi84 bridge on i2c3, while
disabling the default hdmi bridge and connector.

> diff --git a/arch/arm64/boot/dts/qcom/shikra-iqs-evk-lvds-auo,g133han01.dtso b/arch/arm64/boot/dts/qcom/shikra-iqs-evk-lvds-auo,g133han01.dtso
> new file mode 100644
> index 0000000000000..80b9dcc920612
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/shikra-iqs-evk-lvds-auo,g133han01.dtso
> @@ -0,0 +1,127 @@

[ ... ]

> +&{/} {
> +	backlight {
> +		compatible = "gpio-backlight";
> +		gpios = <&pm8150_gpios 1 GPIO_ACTIVE_HIGH>;
> +		default-on;
> +		pinctrl-0 = <&backlight_pwm>;
> +		pinctrl-names = "default";
> +	};
> +
> +	panel-lvds {
> +		compatible = "auo,g133han01";
> +		power-supply = <&vreg_lvds_3p3>;

[Severity: Medium]
In arch/arm64/boot/dts/qcom/shikra-iqs-evk-lvds-auo,g133han01.dtso, the
backlight node is defined without a phandle label, and panel-lvds does not
have a backlight property referencing it.

When panel_simple_probe() in drivers/gpu/drm/panel/panel-simple.c probes
auo,g133han01, it looks up the panel backlight via drm_panel_of_backlight():

	err = drm_panel_of_backlight(&panel->base);
	if (err) {
		dev_err_probe(dev, err, "Could not find backlight\n");
		goto disable_pm_runtime;
	}

Because the backlight property is missing on panel-lvds,
panel->base.backlight remains unset, so drm_panel_enable() and
drm_panel_disable() will not control the gpio-backlight device during
display blanking or system suspend and resume.

Should the backlight node be given a label and referenced from panel-lvds
with backlight = <&backlight>;?

[ ... ]

> +&i2c3 {
> +	#address-cells = <1>;
> +	#size-cells = <0>;
> +
> +	bridge@2c {
> +		compatible = "ti,sn65dsi84";
> +		reg = <0x2c>;

[Severity: High]
In arch/arm64/boot/dts/qcom/shikra.dtsi, i2c3 is disabled by default:

	i2c3: i2c@4a8c000 {
		compatible = "qcom,geni-i2c";
		...
		status = "disabled";
	};

Neither shikra-iqs-som.dtsi, shikra-evk.dtsi, nor shikra-iqs-evk.dts
enables i2c3. In
arch/arm64/boot/dts/qcom/shikra-iqs-evk-lvds-auo,g133han01.dtso, &i2c3
populates the bridge@2c child node and &mdss_dsi0_out is redirected to
&sn65dsi84_in, but &i2c3 does not set status = "okay";.

When this overlay is applied, i2c3 stays disabled, the ti,sn65dsi84 bridge
at bridge@2c is never instantiated, and
msm_dsi_modeset_init() -> drm_of_find_panel_or_bridge() defers probe
indefinitely waiting for sn65dsi84_in.

Does &i2c3 need status = "okay"; here so that the parent controller and
bridge@2c can probe?

[ ... ]

> +&mdss_dsi0_out {
> +	remote-endpoint = <&sn65dsi84_in>;
> +};

[ ... ]

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261021-shikra_display_overlays-v1-0-adaea735999f@oss.qualcomm.com?part=3

  reply	other threads:[~2026-10-21 14:33 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-21 14:21 [PATCH 0/7] arm64: dts: qcom: shikra: Add display overlays for EVK boards vishnu.saini
2026-10-21 14:21 ` [PATCH 1/7] arm64: dts: qcom: shikra-cqm-evk, shikra-cqs-evk: Add HDMI overlay vishnu.saini
2026-10-21 14:37   ` sashiko-bot
2026-10-22  8:13   ` Konrad Dybcio
2026-10-21 14:21 ` [PATCH 2/7] arm64: dts: qcom: shikra-iqs-evk: Add DLC0697 panel overlay Vishnu Saini
2026-10-21 14:21 ` [PATCH 3/7] arm64: dts: qcom: shikra-iqs-evk: Add AUO G133HAN01 LVDS " vishnu.saini
2026-10-21 14:33   ` sashiko-bot [this message]
2026-10-21 14:21 ` [PATCH 4/7] arm64: defconfig: Enable RPi touchscreen V2 regulator and ILI9881C panel Vishnu Saini
2026-10-21 14:21 ` [PATCH 5/7] arm64: dts: qcom: shikra-iqs-evk: Add RPi 7-inch DSI panel overlay vishnu.saini
2026-10-21 14:21 ` [PATCH 6/7] arm64: defconfig: Enable Waveshare DSI panel and touch GPIO drivers Vishnu Saini
2026-10-21 14:21 ` [PATCH 7/7] arm64: dts: qcom: shikra-iqs-evk: Add Waveshare 8-inch DSI panel overlay vishnu.saini
2026-10-21 14:37   ` sashiko-bot
2026-10-22  8:14 ` [PATCH 0/7] arm64: dts: qcom: shikra: Add display overlays for EVK boards Konrad Dybcio

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-180380@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=vishnu.saini@oss.qualcomm.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