From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796295338; b=iemrizVm1m/CQijSTY4gKFqifzRGcIuRFZA4Y9WNpfZJSrF+PjPVAOsEAV0XsM9nWCpC /aP4byoxQBcV+1Bcd8nPDluBqLFmWJdVl7UAWOJKhHdCXtL27KlJa4d8rStoKqQzlg36S qZQsRMvO20rKU0gzifc9V7AqzhaIRSXZvlbH35Y23Jv4zQpkksFjrKFztTjBPPK8R8U79 SVdbCifB0tnnlCH1v8eVGoo+NGbvO0JPxCHxFxfj0eH3OnHRCPO+BbYDoAXQcPuNnAwQD 6Xnfc+giJhkA3hdzMc7iJekvixBAzIFQBVUHNJXl9gqSidwR/Rcbt01wVRK8y7RIWMA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796295338; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=ZxPgdxp28wpW14Cljz0a8yi2kMkmFEq+S/DslAXvTfM=; b=cTWIxTBM7h5W8FbCDTocK2LgoJZme8Io6h3kY92RlPkrByngFBzup9hCqd6IbPyVtGrO NSbpQ8e218Qgc5jgepCMoHUhfSoVC0RTkTm20d8ghI+MEScJ3ejAmGeZ23lPZpnJlmfc5 RuwHsIuZ6KkeaQRc2C5Fx10CCMy2IyD9q+dC1rw0lKCjIr2aksxongypUcIBbzhP/rRWK tiFUFXanygdQMjtXVIyWhDiDtTS/7CnkQwqYh6v87i+e8Jrc9T9dIAxjpuglPbXEEX9Ov lfazJAKOdfOeXx8E1xvVEuNoO/MO9Ol1JR4tH7fyWcdMb9GV1oJLZjCx9UGG4RDnjUw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b="kWp/Q48U"; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CF51B606A32C for ; Thu, 3 Dec 2026 10:55:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=kWp/Q48U Received: by smtp.kernel.org (Postfix) with ESMTPSA id 42AD71F000C1; Thu, 3 Dec 2026 10:55:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796295338; bh=ZxPgdxp28wpW14Cljz0a8yi2kMkmFEq+S/DslAXvTfM=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=kWp/Q48UMWSrvZaXYfbrHbZFijxumOpXqRbCAMKPnzqWz0R3eQLXa66gHJOYsEMRi T20uKG4JN9WIuRI9mnkG8vuqdmSSm2xQ2Gvgz/+dcnOQy/zhs9+2BeoigSBZbt06p/ fBe01aAq6OHXv/1Le81mcxlGgFDz25Gqy8c4fDxYnJMAFf4CgMpiXtxeae+WNGkWpL 9zALAxl83/svLD5Kp7Vyl4Xt2ZioZWDJtenS646/DQxhcvBCfo5YcV4i7ppj/mxC8X F4nxTzPluS9ZZBY77VEmaAteaDNALVmFjcKARWp9tvj2wEB0aa+YwJj25ktGdP3XDZ 9JkOH9f3D5rqA== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v4 03/10] dt-bindings: display/msm: Document Nord MDSS Reply-To: sashiko-reviews@lists.linux.dev To: "Nabige Aala" 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 In-Reply-To: <20261203-nord-drv-dt-v4-3-a899d23af07a@oss.qualcomm.com> References: <20261203-nord-drv-dt-v4-0-a899d23af07a@oss.qualcomm.com> <20261203-nord-drv-dt-v4-3-a899d23af07a@oss.qualcomm.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 03 Dec 2026 10:55:37 +0000 X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list 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 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 =3D "qcom,nord-mdss"; > + reg =3D <0x0ae00000 0x1000>; > + reg-names =3D "mdss"; > + > + power-domains =3D <&dispcc0 MDSS_DISP_CC_MDSS_CORE_GDSC>; > + clocks =3D <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>, > + <&nwgcc NW_GCC_DISP_0_HF_AXI_CLK>, > + <&dispcc0 MDSS_DISP_CC_MDSS_MDP_CLK>; > + clock-names =3D "iface", "bus", "core"; > + resets =3D <&dispcc0 MDSS_DISP_CC_MDSS_CORE_BCR>; > + > + interconnects =3D <&mmss_noc MASTER_MDP0 QCOM_ICC_TAG_ALWAYS > + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>, > + <&hscnoc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_O= NLY > + &config_noc SLAVE_DISPLAY_CFG QCOM_ICC_TAG_ACTI= VE_ONLY>; > + interconnect-names =3D "mdp0-mem", "cpu-cfg"; > + > + interrupts =3D ; > + interrupt-controller; > + #interrupt-cells =3D <1>; > + > + iommus =3D <&apps_smmu_1 0x3e0 0x2>; > + #address-cells =3D <1>; > + #size-cells =3D <1>; > + ranges; > + > + display-controller@ae01000 { > + compatible =3D "qcom,nord-dpu"; > + reg =3D <0x0ae01000 0x8f000>, > + <0x0aeb0000 0x3000>; > + reg-names =3D "mdp", "vbif"; > + > + clocks =3D <&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 =3D "nrt_bus", "iface", "lut", "core", "vsync"; > + > + assigned-clocks =3D <&dispcc0 MDSS_DISP_CC_MDSS_VSYNC_CLK>; > + assigned-clock-rates =3D <19200000>; > + > + operating-points-v2 =3D <&mdp_opp_table>; > + power-domains =3D <&rpmhpd RPMHPD_MMCX>; > + > + interrupt-parent =3D <&mdss>; > + interrupts =3D <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 =3D <&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 =3D "core_iface", "core_aux", > + "ctrl_link", "ctrl_link_iface", > + "stream_pixel", "stream_1_pixel", > + "stream_2_pixel", "stream_3_pixel"; > + > + assigned-clocks =3D <&dispcc0 MDSS_DISP_CC_MDSS_DPTX1_LINK_C= LK_SRC>, > + <&dispcc0 MDSS_DISP_CC_MDSS_DPTX1_PIXEL0_C= LK_SRC>, > + <&dispcc0 MDSS_DISP_CC_MDSS_DPTX1_PIXEL1_C= LK_SRC>; > + assigned-clock-parents =3D <&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 =3D "qcom,nord-dp-phy"; > + > + reg =3D <0xfc3a00 0x1d0>, > + <0xfc3200 0x128>, > + <0xfc3600 0x128>, > + <0xfc3000 0x200>; [ ... ] > + dp1_phy: phy@fc6a00 { > + compatible =3D "qcom,nord-dp-phy"; > + > + reg =3D <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. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261203-nord-drv-d= t-v4-0-a899d23af07a@oss.qualcomm.com?part=3D3