From: Claude Code Review Bot <claude-review@example.com>
To: dri-devel-reviews@example.com
Subject: Claude review: arm64: dts: qcom: lemans: add mdss1 display device nodes
Date: Fri, 27 Feb 2026 12:26:29 +1000 [thread overview]
Message-ID: <review-patch1-20260226111322.250176-2-quic_mkuntuma@quicinc.com> (raw)
In-Reply-To: <20260226111322.250176-2-quic_mkuntuma@quicinc.com>
Patch Review
This patch does three things: (1) moves the DP and MDP OPP tables from inside mdss0 child nodes to root level for sharing, (2) adds the full mdss1 node hierarchy, and (3) wires up the dispcc1 clock controller to use the new mdss1 PHY clocks and removes its `status = "disabled"`.
**OPP table refactoring (good)**
The OPP tables are moved out and renamed:
- `mdss0_mdp_opp_table` → `mdss_mdp_opp_table` (root level)
- `dp_opp_table` stays at root level (was inside mdss0_dp0)
- `dp1_opp_table` (was inside mdss0_dp1) is removed; mdss0_dp1 now shares `dp_opp_table`
This is clean. The OPP values are identical across all DP controllers and both MDPs, so sharing makes sense.
```
- operating-points-v2 = <&mdss0_mdp_opp_table>;
+ operating-points-v2 = <&mdss_mdp_opp_table>;
```
```
- operating-points-v2 = <&dp1_opp_table>;
+ operating-points-v2 = <&dp_opp_table>;
```
**mdss1 node structure (correct)**
The mdss1 node mirrors mdss0 closely:
- Base address `0x22000000` (vs mdss0's `0x0ae00000`)
- GIC_SPI 865 (vs mdss0's 92)
- IOMMU SID `0x1800` (vs mdss0's `0x1000`)
- Uses `dispcc1` (vs `dispcc0`), `GCC_DISP1_HF_AXI_CLK` (vs `GCC_DISP_HF_AXI_CLK`)
- Interconnect masters `MASTER_MDP_CORE1_0`/`MASTER_MDP_CORE1_1` (vs `MASTER_MDP0`/`MASTER_MDP1`)
The DPU, DP controllers, and PHY nodes all follow the mdss0 pattern with the correct address offsets for the second instance.
**PHY "ref" clock inconsistency**
The mdss1 PHY nodes include a third clock not present in the upstream mdss0 PHYs:
```
+ clocks = <&dispcc1 MDSS_DISP_CC_MDSS_DPTX0_AUX_CLK>,
+ <&dispcc1 MDSS_DISP_CC_MDSS_AHB_CLK>,
+ <&gcc GCC_EDP_REF_CLKREF_EN>;
+ clock-names = "aux",
+ "cfg_ahb",
+ "ref";
```
The current upstream mdss0 PHY nodes only have "aux" and "cfg_ahb". If the dependency series adds this "ref" clock to mdss0 PHYs as well, this is fine. If not, please either add it to mdss0 in this series or explain the difference.
**DPU port numbering (correct)**
```
+ port@0 {
+ reg = <0>;
+ dpu1_intf0_out: endpoint {
+ remote-endpoint = <&mdss1_dp0_in>;
+ };
+ };
+
+ port@1 {
+ reg = <1>;
+ dpu1_intf4_out: endpoint {
+ remote-endpoint = <&mdss1_dp1_in>;
+ };
+ };
```
Port 0 (intf0) → DP0 and port 1 (intf4) → DP1 matches the mdss0 DPU port numbering convention. Since mdss1 has no DSI, only ports 0 and 1 are defined.
**dispcc1 changes (correct)**
```
- <0>, <0>, <0>, <0>,
+ <&mdss1_dp0_phy 0>, <&mdss1_dp0_phy 1>,
+ <&mdss1_dp1_phy 0>, <&mdss1_dp1_phy 1>,
<0>, <0>, <0>, <0>;
```
Replacing the placeholder `<0>` entries for DP PHY clocks while leaving the DSI PHY clock slots as `<0>` (no DSI on mdss1) is correct. This matches how dispcc0 references mdss0 PHY clocks.
```
- status = "disabled";
```
Removing `status = "disabled"` from dispcc1 makes it consistent with dispcc0 (which has no status property and is implicitly enabled).
**Minor style nit**: There is an extra blank line before the closing `};` of the `mdss1_dp1` node that isn't present in the `mdss1_dp0` node or any of the mdss0 DP nodes:
```
+ };
+
+ };
+ };
```
This is cosmetic but inconsistent.
---
Generated by Claude Code Patch Reviewer
next prev parent reply other threads:[~2026-02-27 2:26 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-26 11:13 [PATCH v4 0/2] Enable mdss1 Display Port for Qualcomm lemans-ride platform Mani Chandana Ballary Kuntumalla
2026-02-26 11:13 ` [PATCH v4 1/2] arm64: dts: qcom: lemans: add mdss1 display device nodes Mani Chandana Ballary Kuntumalla
2026-02-26 14:43 ` Konrad Dybcio
2026-02-27 2:26 ` Claude Code Review Bot [this message]
2026-02-26 11:13 ` [PATCH v4 2/2] arm64: dts: qcom: lemans-ride: Enable mdss1 display Port Mani Chandana Ballary Kuntumalla
2026-02-26 14:37 ` Konrad Dybcio
2026-02-27 2:26 ` Claude review: " Claude Code Review Bot
2026-02-27 2:26 ` Claude review: Enable mdss1 Display Port for Qualcomm lemans-ride platform Claude Code Review 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=review-patch1-20260226111322.250176-2-quic_mkuntuma@quicinc.com \
--to=claude-review@example.com \
--cc=dri-devel-reviews@example.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