From: Claude Code Review Bot <claude-review@example.com>
To: dri-devel-reviews@example.com
Subject: Claude review: drm/tidss: Add BeagleY-AI display support (and some more)
Date: Thu, 23 Apr 2026 09:45:56 +1000 [thread overview]
Message-ID: <review-overall-20260420-beagley-ai-display-v1-0-f628543dfd14@ideasonboard.com> (raw)
In-Reply-To: <20260420-beagley-ai-display-v1-0-f628543dfd14@ideasonboard.com>
Overall Series Review
Subject: drm/tidss: Add BeagleY-AI display support (and some more)
Author: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Patches: 16
Reviewed: 2026-04-23T09:45:56.852621
---
This is a well-structured 15-patch series that adds display support for TI AM62P/J722S/AM67A SoCs and the BeagleY-AI board. The series covers DT bindings, driver enhancements (DPI detection, signal edge config, DPIENABLE, OLDI polarity fixes), a significant OLDI-to-auxiliary-device conversion, AM62P device support, and board-level DTS for BeagleY-AI HDMI output.
The overall architecture is sound. The OLDI auxiliary bus conversion (patch 12) is the most complex change and is generally well done — it cleanly separates OLDI into a proper device model enabling per-OLDI power domain management. The DPI detection mechanism (patch 8) is pragmatic given the hardware constraints.
**Key concerns:**
1. **`WARN_ON(pm_runtime_get_sync())` in patch 12** — `pm_runtime_get_sync()` returns a positive value (1) on success when the device was already active. `WARN_ON()` treats any non-zero as true, so this will fire a spurious warning on every pre_enable after the first. Should use `pm_runtime_resume_and_get()` or check `< 0`.
2. **`syscon_regmap_lookup_by_compatible()` in patch 9** — This is a global lookup by compatible string rather than by phandle. On SoCs with two DSS instances (AM62P), both DSS instances would find the same syscon node. This happens to be correct if the register is shared, but it's fragile and not the usual pattern. The DT binding (patch 5) doesn't add a `ti,dpi-io-ctrl` phandle property to the DSS binding, though the DTS (patch 14) does reference it. Consider using `syscon_regmap_lookup_by_phandle()` for robustness.
3. **`dpi_output` stored redundantly** — The `dpi_output` flag is set per-call in `dispc_vp_setup()` via a parameter from `tcrtc->dpi_output`, stored into `dispc->vp_data[hw_videoport].dpi_output`. This value never changes after CRTC creation, so writing it on every `dispc_vp_setup()` call is unnecessary; it should be set once during init.
4. **Missing `of_node_put` for `oldi_tx` on success path in `for_each_available_child_of_node` loop** in patch 12's `tidss_oldi_create_devices()` — the loop's `oldi_tx` reference is put on error, but `of_node_put(oldi_tx)` is not called explicitly on a normal break/return. The `for_each_available_child_of_node` macro only puts the node automatically when the loop runs to completion, which it does here (falling through), so this is actually fine.
---
---
Generated by Claude Code Patch Reviewer
prev parent reply other threads:[~2026-04-22 23:45 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-20 12:54 [PATCH 00/15] drm/tidss: Add BeagleY-AI display support (and some more) Tomi Valkeinen
2026-04-20 12:54 ` [PATCH 01/15] dt-bindings: display: ti: Move ti,am62l-dss binding to a new binding file Tomi Valkeinen
2026-04-22 23:45 ` Claude review: " Claude Code Review Bot
2026-04-20 12:54 ` [PATCH 02/15] dt-bindings: display: ti,am65x-dss: Simplify binding Tomi Valkeinen
2026-04-22 23:45 ` Claude review: " Claude Code Review Bot
2026-04-20 12:54 ` [PATCH 03/15] dt-bindings: mfd: syscon: Add ti,am625-dss-dpi0-clk-ctrl compatible Tomi Valkeinen
2026-04-22 23:45 ` Claude review: " Claude Code Review Bot
2026-04-20 12:54 ` [PATCH 04/15] dt-bindings: display: ti,am625-oldi: Add optional power-domain for OLDI Tomi Valkeinen
2026-04-22 23:45 ` Claude review: " Claude Code Review Bot
2026-04-20 12:54 ` [PATCH 05/15] dt-bindings: display: ti,am65x-dss: Add AM62P DSS Tomi Valkeinen
2026-04-22 23:45 ` Claude review: " Claude Code Review Bot
2026-04-20 12:54 ` [PATCH 06/15] drm/tidss: Remove extra pm_runtime_mark_last_busy Tomi Valkeinen
2026-04-22 23:45 ` Claude review: " Claude Code Review Bot
2026-04-20 12:54 ` [PATCH 07/15] drm/tidss: oldi: Remove define for unused register OLDI_LB_CTRL Tomi Valkeinen
2026-04-22 23:45 ` Claude review: " Claude Code Review Bot
2026-04-20 12:54 ` [PATCH 08/15] drm/tidss: Add mechanism to detect DPI output Tomi Valkeinen
2026-04-22 23:45 ` Claude review: " Claude Code Review Bot
2026-04-20 12:54 ` [PATCH 09/15] drm/tidss: Add external data and sync signal edge configuration Tomi Valkeinen
2026-04-22 23:45 ` Claude review: " Claude Code Review Bot
2026-04-20 12:54 ` [PATCH 10/15] drm/tidss: Add support for DPIENABLE bit Tomi Valkeinen
2026-04-22 23:45 ` Claude review: " Claude Code Review Bot
2026-04-20 12:54 ` [PATCH 11/15] drm/tidss: oldi: Fix OLDI signal polarities Tomi Valkeinen
2026-04-22 23:45 ` Claude review: " Claude Code Review Bot
2026-04-20 12:54 ` [PATCH 12/15] drm/tidss: oldi: Convert OLDI to an aux driver Tomi Valkeinen
2026-04-22 23:45 ` Claude review: " Claude Code Review Bot
2026-04-20 12:54 ` [PATCH 13/15] drm/tidss: Add support for AM62P display subsystem Tomi Valkeinen
2026-04-22 23:46 ` Claude review: " Claude Code Review Bot
2026-04-20 12:54 ` [PATCH 14/15] arm64: dts: ti: k3-am62p-j722s-common-main: Add support for DSS Tomi Valkeinen
2026-04-22 23:46 ` Claude review: " Claude Code Review Bot
2026-04-20 12:54 ` [PATCH 15/15] arm64: dts: ti: beagley-ai: Enable HDMI display and audio Tomi Valkeinen
2026-04-22 23:46 ` Claude review: " Claude Code Review Bot
2026-04-22 23:45 ` Claude Code Review Bot [this message]
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-20260420-beagley-ai-display-v1-0-f628543dfd14@ideasonboard.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