From: Claude Code Review Bot <claude-review@example.com>
To: dri-devel-reviews@example.com
Subject: Claude review: arm64: dts: qcom: sc8280xp: Add dsi nodes on SC8280XP
Date: Mon, 09 Mar 2026 07:56:46 +1000 [thread overview]
Message-ID: <review-patch4-20260308064835.479356-5-mitltlatltl@gmail.com> (raw)
In-Reply-To: <20260308064835.479356-5-mitltlatltl@gmail.com>
Patch Review
This is the main patch, adding 4 DSI controllers (2 per MDSS) and 4 DSI PHYs, plus wiring up the dispcc clock inputs and DPU output ports.
**Bug: `mdss1_dsi0` has mismatched `assigned-clock-parents`**
At lines 1054-1055 of the mbox (corresponding to sc8280xp.dtsi lines 6399-6400):
```dts
assigned-clock-parents = <&mdss1_dsi1_phy DSI_BYTE_PLL_CLK>,
<&mdss1_dsi0_phy DSI_PIXEL_PLL_CLK>;
```
The byte clock parent references `mdss1_dsi1_phy` but the pixel clock parent references `mdss1_dsi0_phy`. Comparing with all other DSI controller nodes in this patch:
- `mdss0_dsi0`: both from `mdss0_dsi0_phy` (consistent)
- `mdss0_dsi1`: both from `mdss0_dsi1_phy` (consistent)
- `mdss1_dsi1`: both from `mdss1_dsi1_phy` (consistent)
- `mdss1_dsi0`: **byte from `mdss1_dsi1_phy`, pixel from `mdss1_dsi0_phy`** (inconsistent)
This is almost certainly a copy-paste error. The byte clock parent should be `mdss1_dsi0_phy`, not `mdss1_dsi1_phy`:
```dts
assigned-clock-parents = <&mdss1_dsi0_phy DSI_BYTE_PLL_CLK>,
<&mdss1_dsi0_phy DSI_PIXEL_PLL_CLK>;
```
**Other observations (non-blocking):**
- The `dsi_opp_table` is defined inside `mdss0_dsi0` and referenced by all four DSI controllers including the mdss1 ones. This is a valid approach via phandle cross-referencing and was explicitly requested by Konrad in v2 review. It works but is slightly unusual to have mdss1 nodes reference a table nested inside an mdss0 child.
- The commit message honestly notes that "DSI won't work properly for now until we submit dispcc fixes" - this is good transparency, and the nodes default to `status = "disabled"`.
- The whitespace-only changes (adding blank lines between `reg` property and label in existing `port@` nodes) are reasonable DT style cleanup.
- The `#include <dt-bindings/clock/qcom,dsi-phy-28nm.h>` is correct despite the "28nm" in the name - this header simply defines the generic `DSI_BYTE_PLL_CLK`/`DSI_PIXEL_PLL_CLK` indices used across all DSI PHY generations.
---
Generated by Claude Code Patch Reviewer
next prev parent reply other threads:[~2026-03-08 21:56 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-08 6:48 [PATCH v4 0/4] Add DSI display support for SC8280XP Pengyu Luo
2026-03-08 6:48 ` [PATCH v4 1/4] dt-bindings: display: msm-dsi-phy-7nm: Add SC8280XP Pengyu Luo
2026-03-08 21:56 ` Claude review: " Claude Code Review Bot
2026-03-08 6:48 ` [PATCH v4 2/4] dt-bindings: display/msm: dsi-controller-main: " Pengyu Luo
2026-03-08 21:56 ` Claude review: " Claude Code Review Bot
2026-03-08 6:48 ` [PATCH v4 3/4] dt-bindings: display: msm: Document DSI controller and DSI PHY on SC8280XP Pengyu Luo
2026-03-08 21:56 ` Claude review: " Claude Code Review Bot
2026-03-08 6:48 ` [PATCH v4 4/4] arm64: dts: qcom: sc8280xp: Add dsi nodes " Pengyu Luo
2026-03-08 21:56 ` Claude Code Review Bot [this message]
2026-03-08 21:56 ` Claude review: Add DSI display support for SC8280XP Claude Code Review Bot
-- strict thread matches above, loose matches on Subject: below --
2026-02-28 14:17 [PATCH v3 0/4] " Pengyu Luo
2026-02-28 14:17 ` [PATCH v3 4/4] arm64: dts: qcom: sc8280xp: Add dsi nodes on SC8280XP Pengyu Luo
2026-03-03 4:16 ` Claude review: " Claude Code Review Bot
2026-02-28 10:19 [PATCH v2 0/4] Add DSI display support for SC8280XP Pengyu Luo
2026-02-28 10:19 ` [PATCH v2 4/4] arm64: dts: qcom: sc8280xp: Add dsi nodes on SC8280XP Pengyu Luo
2026-03-03 4:28 ` Claude review: " 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-patch4-20260308064835.479356-5-mitltlatltl@gmail.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