From: sashiko-bot@kernel.org
To: "Damon Ding" <damon.ding@rock-chips.com>
Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
devicetree@vger.kernel.org
Subject: Re: [PATCH v4 01/10] dt-bindings: display: rockchip: analogix-dp: Allow hclk as third clock
Date: Wed, 13 May 2026 20:04:05 +0000 [thread overview]
Message-ID: <20260513200406.883D8C19425@smtp.kernel.org> (raw)
In-Reply-To: <20260512095644.1946084-2-damon.ding@rock-chips.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] Missing SoC-specific constraints for the 3rd clock name allows invalid device trees to pass validation.
--
commit 0bc96bc26fc1f3dd540199a17da2a7642320b4c1
Author: Damon Ding <damon.ding@rock-chips.com>
dt-bindings: display: rockchip: analogix-dp: Allow hclk as third clock
This commit expands the clock-names property to allow hclk as a third
clock for the RK3588 eDP controller. This explicitly defines the video
output bus clock requirement instead of relying on implicit clock
enablement from the GRF phandle.
> diff --git a/Documentation/devicetree/bindings/display/rockchip/rockchip,analogix-dp.yaml b/Documentation/devicetree/bindings/display/rockchip/rockchip,analogix-dp.yaml
> --- a/Documentation/devicetree/bindings/display/rockchip/rockchip,analogix-dp.yaml
> +++ b/Documentation/devicetree/bindings/display/rockchip/rockchip,analogix-dp.yaml
> @@ -26,7 +26,9 @@ properties:
> items:
> - const: dp
> - const: pclk
> - - const: grf
> + - enum:
> + - grf
> + - hclk
The commit message notes that grf is used for older SoCs and hclk is used
for RK3588.
Does updating the top-level items list without adding SoC-specific
constraints allow older SoCs to pass validation when using hclk, and
allow RK3588 to pass validation when using grf?
If an RK3588 device tree incorrectly uses grf, would it silently pass schema
validation, even though the driver explicitly looks for hclk?
Could the existing conditional block for rockchip,rk3588-edp (and corresponding
constraints for older compatibles) be updated to enforce which clock name is
valid for each SoC?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260512095644.1946084-1-damon.ding@rock-chips.com?part=1
next prev parent reply other threads:[~2026-05-13 20:04 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-12 9:56 [PATCH v4 00/10] Add eDP support for RK3576 Damon Ding
2026-05-12 9:56 ` [PATCH v4 01/10] dt-bindings: display: rockchip: analogix-dp: Allow hclk as third clock Damon Ding
2026-05-12 17:12 ` Conor Dooley
2026-05-13 6:48 ` Damon Ding
2026-05-13 20:04 ` sashiko-bot [this message]
2026-05-12 9:56 ` [PATCH v4 02/10] dt-bindings: display: rockchip: analogix-dp: Add per-clock descriptions Damon Ding
2026-05-12 17:11 ` Conor Dooley
2026-05-12 9:56 ` [PATCH v4 03/10] arm64: dts: rockchip: Add missing hclk for RK3588 eDP0 Damon Ding
2026-05-12 9:56 ` [PATCH v4 04/10] arm64: dts: rockchip: Add missing hclk for RK3588 eDP1 Damon Ding
2026-05-12 9:56 ` [PATCH v4 05/10] drm/rockchip: analogix_dp: Enable hclk for RK3588 Damon Ding
2026-05-13 21:08 ` sashiko-bot
2026-05-12 9:56 ` [PATCH v4 06/10] dt-bindings: display: rockchip: analogix-dp: Add support for RK3576 Damon Ding
2026-05-12 17:13 ` Conor Dooley
2026-05-12 9:56 ` [PATCH v4 07/10] arm64: dts: rockchip: Add eDP node " Damon Ding
2026-05-12 9:56 ` [PATCH v4 08/10] drm/bridge: analogix_dp: Rename and simplify is_rockchip() Damon Ding
2026-05-12 9:56 ` [PATCH v4 09/10] drm/bridge: analogix_dp: Add support for RK3576 Damon Ding
2026-05-12 9:56 ` [PATCH v4 10/10] drm/rockchip: " Damon Ding
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=20260513200406.883D8C19425@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=damon.ding@rock-chips.com \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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