From: Claude Code Review Bot <claude-review@example.com>
To: dri-devel-reviews@example.com
Subject: Claude review: drm/msm/hdmi & phy: use generic PHY framework
Date: Sun, 22 Mar 2026 04:56:09 +1000 [thread overview]
Message-ID: <review-overall-20260319-fd-hdmi-phy-v6-0-cefc08a55470@oss.qualcomm.com> (raw)
In-Reply-To: <20260319-fd-hdmi-phy-v6-0-cefc08a55470@oss.qualcomm.com>
Overall Series Review
Subject: drm/msm/hdmi & phy: use generic PHY framework
Author: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Patches: 5
Reviewed: 2026-03-22T04:56:09.000836
---
This series migrates the MSM HDMI PHY drivers from ad-hoc DRM subsystem integration to the Linux generic PHY framework, moving the PHY implementations from `drivers/gpu/drm/msm/hdmi/` to `drivers/phy/qualcomm/`. This is a well-motivated architectural change — it decouples the PHY hardware programming from the display driver, follows established kernel patterns, and enables PHY reuse across subsystems.
The series is structured logically: patch 1 does the bulk migration, patches 2-3 prepare shared register definitions, and patch 4 adds PLL support for MSM8974. The code is generally clean and well-organized.
**Critical issues:**
- **Missing compatible strings**: `qcom,hdmi-phy-8084` (was mapped to `msm_hdmi_phy_8x74_cfg`) and `qcom,hdmi-phy-8998` (was handled in old QMP code) are absent from the new driver match tables. This will break HDMI on APQ8084 and MSM8998 platforms.
- **Unit mismatch in patch 4**: `tmds_char_rate` in `struct phy_configure_opts_hdmi` is in Hz, but the PLL rate calculations and comparisons like `pixclk == 297000` appear to expect kHz.
**Minor issues:**
- Typos in Kconfig/MODULE_DESCRIPTION
- Code duplication of `write16`/`write24`/`read24` helpers
- Use of `of_device_get_match_data()` instead of the preferred `device_get_match_data()`
---
---
Generated by Claude Code Patch Reviewer
next prev parent reply other threads:[~2026-03-21 18:56 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-19 3:48 [PATCH v6 0/4] drm/msm/hdmi & phy: use generic PHY framework Dmitry Baryshkov
2026-03-19 3:48 ` [PATCH v6 1/4] drm/msm/hdmi: switch to generic PHY subsystem Dmitry Baryshkov
2026-03-21 18:56 ` Claude review: " Claude Code Review Bot
2026-03-19 3:48 ` [PATCH v6 2/4] phy: qcom: apq8064-sata: extract UNI PLL register defines Dmitry Baryshkov
2026-03-21 18:56 ` Claude review: " Claude Code Review Bot
2026-03-19 3:48 ` [PATCH v6 3/4] phy: qcom-uniphy: add more registers from display PHYs Dmitry Baryshkov
2026-03-21 18:56 ` Claude review: " Claude Code Review Bot
2026-03-19 3:48 ` [PATCH v6 4/4] phy: qualcomm: add MSM8974 HDMI PHY support Dmitry Baryshkov
2026-03-21 18:56 ` Claude review: " Claude Code Review Bot
2026-03-21 18:56 ` Claude Code Review Bot [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-03-23 22:56 [PATCH v7 0/4] drm/msm/hdmi & phy: use generic PHY framework Dmitry Baryshkov
2026-03-24 21:14 ` Claude review: " Claude Code Review Bot
2026-03-14 5:06 [PATCH v5 0/4] " Dmitry Baryshkov
2026-03-16 2:07 ` 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-overall-20260319-fd-hdmi-phy-v6-0-cefc08a55470@oss.qualcomm.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