Linux-PHY Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Nabige Aala" <nabige.aala@oss.qualcomm.com>
Cc: linux-phy@lists.infradead.org, devicetree@vger.kernel.org,
	dri-devel@lists.freedesktop.org, robh@kernel.org,
	conor+dt@kernel.org, vkoul@kernel.org, neil.armstrong@linaro.org,
	olteanv@gmail.com
Subject: Re: [PATCH v4 08/10] drm/msm/dp: Add support for DP controllers on Nord
Date: Thu, 03 Dec 2026 10:54:26 +0000	[thread overview]
Message-ID: <sashiko-outbox-247622@kernel.org> (raw)
In-Reply-To: <20261203-nord-drv-dt-v4-8-a899d23af07a@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] drm/msm/dp: Nord MDSS1 DP addresses conflated into
  msm_dp_desc_sa8775p
--

commit 6b66b87c7c0f8126edbb2e4884fc52558e35dbef
Author: Mahadevan P <mahadevan.p@oss.qualcomm.com>

drm/msm/dp: Add support for DP controllers on Nord

This commit appends the two Nord MDSS1 DisplayPort controller IO start
addresses (0x08d54000 and 0x08d5c000) to the existing msm_dp_desc_sa8775p
descriptor table.

> diff --git a/drivers/gpu/drm/msm/dp/dp_display.c b/drivers/gpu/drm/msm/dp/dp_display.c
> index c0c150e2c5758..eda3175b0406d 100644
> --- a/drivers/gpu/drm/msm/dp/dp_display.c
> +++ b/drivers/gpu/drm/msm/dp/dp_display.c
> @@ -115,6 +115,8 @@ static const struct msm_dp_desc msm_dp_desc_sa8775p[] = {
>  	{ .io_start = 0x0af5c000, .id = MSM_DP_CONTROLLER_1, .wide_bus_supported = true },
>  	{ .io_start = 0x22154000, .id = MSM_DP_CONTROLLER_0, .wide_bus_supported = true },
>  	{ .io_start = 0x2215c000, .id = MSM_DP_CONTROLLER_1, .wide_bus_supported = true },
> +	{ .io_start = 0x08d54000, .id = MSM_DP_CONTROLLER_0, .wide_bus_supported = true },
> +	{ .io_start = 0x08d5c000, .id = MSM_DP_CONTROLLER_1, .wide_bus_supported = true },
>  	{}
>  };

[Severity: Low]
Should Nord have its own msm_dp_desc_nord table and qcom,nord-dp entry in
msm_dp_dt_match instead of appending its MDSS1 addresses to
msm_dp_desc_sa8775p?

Every other table in dp_display.c covers a single SoC memory map, even when
SoCs share base addresses.  Since msm_dp_display_get_desc() matches strictly
on absolute res->start, an unmodified qcom,sa8775p-dp driver cannot probe
Nord MDSS1 anyway, so there is no compatibility gain from sharing the table.

Conflating the two SoCs leaves msm_dp_desc_sa8775p with non-SA8775P addresses
and risks regressions if per-SoC capabilities or address maps diverge later.
The DT binding already defines qcom,nord-dp ahead of qcom,sa8775p-dp.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261203-nord-drv-dt-v4-0-a899d23af07a@oss.qualcomm.com?part=8

-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

      parent reply	other threads:[~2026-12-03 10:54 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03 10:36 [PATCH v4 00/10] Add Qualcomm Nord display and eDP PHY support Nabige Aala
2026-12-03 10:36 ` [PATCH v4 01/10] dt-bindings: phy: qcom,edp-phy: Add DP PHY compatible for Nord Nabige Aala
2026-12-03 10:36 ` [PATCH v4 02/10] dt-bindings: display: msm: dp-controller: Document Nord DisplayPort Controller Nabige Aala
2026-12-03 10:36 ` [PATCH v4 03/10] dt-bindings: display/msm: Document Nord MDSS Nabige Aala
2026-12-03 10:55   ` sashiko-bot
2026-12-03 10:36 ` [PATCH v4 04/10] dt-bindings: display/msm: qcom,sm8650-dpu: Add Qualcomm Nord Soc Nabige Aala
2026-12-03 10:47   ` sashiko-bot
2026-12-03 10:36 ` [PATCH v4 05/10] drm/msm/dpu: Add missing INTF_9/INTF_10 interrupts Nabige Aala
2026-12-03 10:50   ` sashiko-bot
2026-12-03 10:36 ` [PATCH v4 06/10] drm/msm/dpu: Add support for DPU 12.1 on Nord Nabige Aala
2026-12-03 10:59   ` sashiko-bot
2026-12-03 10:36 ` [PATCH v4 09/10] phy: qcom: edp: Generalize power-on path for per-SoC overrides Nabige Aala
2026-12-03 11:03   ` sashiko-bot
2026-12-03 10:36 ` [PATCH v4 10/10] phy: qcom: edp: Add Nord DP PHY support Nabige Aala
2026-12-03 11:06   ` sashiko-bot
     [not found] ` <20261203-nord-drv-dt-v4-7-a899d23af07a@oss.qualcomm.com>
2026-12-03 10:53   ` [PATCH v4 07/10] drm/msm: mdss: Add support for MDSS on Nord sashiko-bot
     [not found] ` <20261203-nord-drv-dt-v4-8-a899d23af07a@oss.qualcomm.com>
2026-12-03 10:54   ` 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-247622@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-phy@lists.infradead.org \
    --cc=nabige.aala@oss.qualcomm.com \
    --cc=neil.armstrong@linaro.org \
    --cc=olteanv@gmail.com \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=vkoul@kernel.org \
    /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