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 03/10] dt-bindings: display/msm: Document Nord MDSS
Date: Thu, 03 Dec 2026 10:55:37 +0000 [thread overview]
Message-ID: <sashiko-outbox-247624@kernel.org> (raw)
In-Reply-To: <20261203-nord-drv-dt-v4-3-a899d23af07a@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 4 potential
issues to consider:
- [Low] dt-bindings: display/msm: DP PHY nodes outside MDSS range and
out of order
- [Low] dt-bindings: display/msm: undersized legacy reg lengths on
dp1_phy in example
- [Low] dt-bindings: display/msm: missing DPTX1 pixel2/pixel3
assigned-clocks in example
- [Low] dt-bindings: display/msm: non-canonical property order in Nord
MDSS examples
--
commit 180d4ad6e7508a907641dabcccc1657ddfe1797d
Author: Mahadevan P <mahadevan.p@oss.qualcomm.com>
dt-bindings: display/msm: Document Nord MDSS
This commit adds the Device Tree binding schema for the Qualcomm Nord
display subsystem (MDSS 12.1) with DPU 1499A and two independent DP
controllers.
> diff --git a/Documentation/devicetree/bindings/display/msm/qcom,nord-mdss.yaml b/Documentation/devicetree/bindings/display/msm/qcom,nord-mdss.yaml
> new file mode 100644
> index 0000000000000..203678dae6836
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/msm/qcom,nord-mdss.yaml
[ ... ]
> + "^phy@[0-9a-f]+$":
> + type: object
> + additionalProperties: true
> + properties:
> + compatible:
> + const: qcom,nord-dp-phy
> + required:
> + - compatible
[Severity: Low]
Should qcom,nord-dp-phy be allowed as a child of display-subsystem@ae00000?
In the example, dp0_phy (phy@fc3a00) and dp1_phy (phy@fc6a00) sit at
0x00fcxxxx, outside the 0x0ae00000 MDSS aperture. Placing them after
displayport-controller@af5c000 also violates ascending child unit-address
order, which scripts/dtc/dt-check-style flags.
On sibling Qualcomm platforms with 0x00fxxxxx DP PHYs such as glymur.dtsi,
the PHYs sit under soc@0 as siblings of display-subsystem@ae00000. If Nord
has no in-MDSS PHYs, move them out of the MDSS node and drop this pattern;
otherwise order them before display-controller@ae01000.
[ ... ]
> + display-subsystem@ae00000 {
> + compatible = "qcom,nord-mdss";
> + reg = <0x0ae00000 0x1000>;
> + reg-names = "mdss";
> +
> + power-domains = <&dispcc0 MDSS_DISP_CC_MDSS_CORE_GDSC>;
> + clocks = <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>,
> + <&nwgcc NW_GCC_DISP_0_HF_AXI_CLK>,
> + <&dispcc0 MDSS_DISP_CC_MDSS_MDP_CLK>;
> + clock-names = "iface", "bus", "core";
> + resets = <&dispcc0 MDSS_DISP_CC_MDSS_CORE_BCR>;
> +
> + interconnects = <&mmss_noc MASTER_MDP0 QCOM_ICC_TAG_ALWAYS
> + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
> + <&hscnoc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
> + &config_noc SLAVE_DISPLAY_CFG QCOM_ICC_TAG_ACTIVE_ONLY>;
> + interconnect-names = "mdp0-mem", "cpu-cfg";
> +
> + interrupts = <GIC_SPI 930 IRQ_TYPE_LEVEL_HIGH>;
> + interrupt-controller;
> + #interrupt-cells = <1>;
> +
> + iommus = <&apps_smmu_1 0x3e0 0x2>;
> + #address-cells = <1>;
> + #size-cells = <1>;
> + ranges;
> +
> + display-controller@ae01000 {
> + compatible = "qcom,nord-dpu";
> + reg = <0x0ae01000 0x8f000>,
> + <0x0aeb0000 0x3000>;
> + reg-names = "mdp", "vbif";
> +
> + clocks = <&nwgcc NW_GCC_DISP_0_HF_AXI_CLK>,
> + <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>,
> + <&dispcc0 MDSS_DISP_CC_MDSS_MDP_LUT_CLK>,
> + <&dispcc0 MDSS_DISP_CC_MDSS_MDP_CLK>,
> + <&dispcc0 MDSS_DISP_CC_MDSS_VSYNC_CLK>;
> + clock-names = "nrt_bus", "iface", "lut", "core", "vsync";
> +
> + assigned-clocks = <&dispcc0 MDSS_DISP_CC_MDSS_VSYNC_CLK>;
> + assigned-clock-rates = <19200000>;
> +
> + operating-points-v2 = <&mdp_opp_table>;
> + power-domains = <&rpmhpd RPMHPD_MMCX>;
> +
> + interrupt-parent = <&mdss>;
> + interrupts = <0>;
[Severity: Low]
Can the properties in display-subsystem@ae00000 and
display-controller@ae01000 follow canonical DTS property order?
Both nodes place power-domains before interrupts (and before clocks in
display-subsystem@ae00000), and display-subsystem@ae00000 places ranges at
the end instead of right after reg and reg-names, which
scripts/dtc/dt-check-style flags.
[ ... ]
> + displayport-controller@af5c000 {
[ ... ]
> + clocks = <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>,
> + <&dispcc0 MDSS_DISP_CC_MDSS_DPTX1_AUX_CLK>,
> + <&dispcc0 MDSS_DISP_CC_MDSS_DPTX1_LINK_CLK>,
> + <&dispcc0 MDSS_DISP_CC_MDSS_DPTX1_LINK_INTF_CLK>,
> + <&dispcc0 MDSS_DISP_CC_MDSS_DPTX1_PIXEL0_CLK>,
> + <&dispcc0 MDSS_DISP_CC_MDSS_DPTX1_PIXEL1_CLK>,
> + <&dispcc0 MDSS_DISP_CC_MDSS_DPTX1_PIXEL2_CLK>,
> + <&dispcc0 MDSS_DISP_CC_MDSS_DPTX1_PIXEL3_CLK>;
> + clock-names = "core_iface", "core_aux",
> + "ctrl_link", "ctrl_link_iface",
> + "stream_pixel", "stream_1_pixel",
> + "stream_2_pixel", "stream_3_pixel";
> +
> + assigned-clocks = <&dispcc0 MDSS_DISP_CC_MDSS_DPTX1_LINK_CLK_SRC>,
> + <&dispcc0 MDSS_DISP_CC_MDSS_DPTX1_PIXEL0_CLK_SRC>,
> + <&dispcc0 MDSS_DISP_CC_MDSS_DPTX1_PIXEL1_CLK_SRC>;
> + assigned-clock-parents = <&dp1_phy 0>,
> + <&dp1_phy 1>,
> + <&dp1_phy 1>;
[Severity: Low]
Are MDSS_DISP_CC_MDSS_DPTX1_PIXEL2_CLK_SRC and
MDSS_DISP_CC_MDSS_DPTX1_PIXEL3_CLK_SRC missing from assigned-clocks here?
This node lists all four DPTX1 pixel clocks (and dispcc0-nord.c defines all
four RCG sources), yet assigned-clocks only parents PIXEL0 and PIXEL1.
Since msm_dp_ctrl_clk_init() relies on DT assigned-clock-parents, streams 2
and 3 would be left unparented if this example is copied into a DTSI.
[ ... ]
> + dp0_phy: phy@fc3a00 {
> + compatible = "qcom,nord-dp-phy";
> +
> + reg = <0xfc3a00 0x1d0>,
> + <0xfc3200 0x128>,
> + <0xfc3600 0x128>,
> + <0xfc3000 0x200>;
[ ... ]
> + dp1_phy: phy@fc6a00 {
> + compatible = "qcom,nord-dp-phy";
> +
> + reg = <0xfc6a00 0x200>,
> + <0xfc6200 0xd0>,
> + <0xfc6600 0xd0>,
> + <0xfc6000 0x1c8>;
[Severity: Low]
Are the reg window sizes on dp1_phy undersized for qcom,nord-dp-phy?
dp1_phy uses legacy SA8775P sizes (0x200, 0xd0, 0xd0, 0x1c8) instead of
dp0_phy's Nord sizes (0x1d0, 0x128, 0x128, 0x200). If copied into a DTSI,
the 0xd0 tx and 0x1c8 PLL windows truncate TX DCC (0xd0/0xe0) and QSERDES
v6 COM status registers (0x1d0/0x1f8), causing out-of-bounds MMIO accesses.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261203-nord-drv-dt-v4-0-a899d23af07a@oss.qualcomm.com?part=3
next prev parent reply other threads:[~2026-12-03 10:55 UTC|newest]
Thread overview: 19+ 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 [this message]
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 07/10] drm/msm: mdss: Add support for MDSS " Nabige Aala
2026-12-03 10:53 ` sashiko-bot
2026-12-03 10:36 ` [PATCH v4 08/10] drm/msm/dp: Add support for DP controllers " Nabige Aala
2026-12-03 10:54 ` 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
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-247624@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