public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel•org>
To: Damon Ding <damon.ding@rock-chips•com>
Cc: hjc@rock-chips•com, heiko@sntech•de, andy.yan@rock-chips•com,
	 maarten.lankhorst@linux•intel.com, mripard@kernel•org,
	tzimmermann@suse•de, airlied@gmail•com,  simona@ffwll•ch,
	robh@kernel•org, krzk+dt@kernel•org, conor+dt@kernel•org,
	 andrzej.hajda@intel•com, neil.armstrong@linaro•org,
	rfoss@kernel•org,  Laurent.pinchart@ideasonboard•com,
	jonas@kwiboo•se, jernej.skrabec@gmail•com,
	 nicolas.frattaroli@collabora•com,
	cristian.ciocaltea@collabora•com,
	 sebastian.reichel@collabora•com,
	dmitry.baryshkov@oss•qualcomm.com, luca.ceresoli@bootlin•com,
	 dianders@chromium•org, m.szyprowski@samsung•com,
	dri-devel@lists•freedesktop.org,  devicetree@vger•kernel.org,
	linux-arm-kernel@lists•infradead.org,
	 linux-rockchip@lists•infradead.org,
	linux-kernel@vger•kernel.org
Subject: Re: [PATCH v5 01/10] dt-bindings: display: rockchip: analogix-dp: Fix hclk as third clock for RK3588
Date: Thu, 14 May 2026 12:03:23 +0200	[thread overview]
Message-ID: <20260514-elegant-agate-pug-449ec2@quoll> (raw)
In-Reply-To: <20260513074414.2053435-2-damon.ding@rock-chips.com>

On Wed, May 13, 2026 at 03:44:05PM +0800, Damon Ding wrote:
> RK3588 eDP controller requires HCLK_VO1 (video output bus clock)
> to access the VO1 GRF registers and enable the video datapath.

To access GRF? Then it is the same clock input.

AGAIN (reiterated soooo many times by me): you describe here clock
input, NOT OUTPUT.

> 
> Previously, the clock was enabled implicitly via the 'rockchip,vo-grf'
> phandle reference, which allowed the eDP to work without explicitly
> managing the hclk_vo1 clock. However, this is not safe or explicit.
> 
> Enforce the correct third clock name on a per-compatible basis to
> standardize clock requirements per SoC. This makes the clock
> dependency clear and removes reliance on implicit clock enablement
> from GRF phandle.
> 
> Fixes: f855146263b1 ("dt-bindings: display: rockchip: analogix-dp: Add support for RK3588")
> Signed-off-by: Damon Ding <damon.ding@rock-chips•com>
> 
> ---
> 
> Changes in v4:
> - Modify the commit msg.
> 
> Changes in v5:
> - Enforce the correct third clock name on a per-compatible basis.
> - Modify the commit msg simultaneously.
> ---
>  .../rockchip/rockchip,analogix-dp.yaml        | 37 +++++++++++++++++--
>  1 file changed, 33 insertions(+), 4 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/display/rockchip/rockchip,analogix-dp.yaml b/Documentation/devicetree/bindings/display/rockchip/rockchip,analogix-dp.yaml
> index d99b23b88cc5..8001c1facf98 100644
> --- a/Documentation/devicetree/bindings/display/rockchip/rockchip,analogix-dp.yaml
> +++ b/Documentation/devicetree/bindings/display/rockchip/rockchip,analogix-dp.yaml
> @@ -23,10 +23,7 @@ properties:
>  
>    clock-names:
>      minItems: 2
> -    items:
> -      - const: dp
> -      - const: pclk
> -      - const: grf

What is 'grf' clock in such case?

Best regards,
Krzysztof



  reply	other threads:[~2026-05-14 10:03 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-13  7:44 [PATCH v5 00/10] Add eDP support for RK3576 Damon Ding
2026-05-13  7:44 ` [PATCH v5 01/10] dt-bindings: display: rockchip: analogix-dp: Fix hclk as third clock for RK3588 Damon Ding
2026-05-14 10:03   ` Krzysztof Kozlowski [this message]
2026-05-15  2:36     ` Damon Ding
2026-05-13  7:44 ` [PATCH v5 02/10] dt-bindings: display: rockchip: analogix-dp: Add per-clock descriptions Damon Ding
2026-05-13  7:44 ` [PATCH v5 03/10] arm64: dts: rockchip: Add missing hclk for RK3588 eDP0 Damon Ding
2026-05-13  7:44 ` [PATCH v5 04/10] arm64: dts: rockchip: Add missing hclk for RK3588 eDP1 Damon Ding
2026-05-13  7:44 ` [PATCH v5 05/10] drm/rockchip: analogix_dp: Enable hclk for RK3588 Damon Ding
2026-05-13  7:44 ` [PATCH v5 06/10] dt-bindings: display: rockchip: analogix-dp: Add support for RK3576 Damon Ding
2026-05-13  7:44 ` [PATCH v5 07/10] arm64: dts: rockchip: Add eDP node " Damon Ding
2026-05-13  7:44 ` [PATCH v5 08/10] drm/bridge: analogix_dp: Rename and simplify is_rockchip() Damon Ding
2026-05-13  7:44 ` [PATCH v5 09/10] drm/bridge: analogix_dp: Add support for RK3576 Damon Ding
2026-05-13  7:44 ` [PATCH v5 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=20260514-elegant-agate-pug-449ec2@quoll \
    --to=krzk@kernel$(echo .)org \
    --cc=Laurent.pinchart@ideasonboard$(echo .)com \
    --cc=airlied@gmail$(echo .)com \
    --cc=andrzej.hajda@intel$(echo .)com \
    --cc=andy.yan@rock-chips$(echo .)com \
    --cc=conor+dt@kernel$(echo .)org \
    --cc=cristian.ciocaltea@collabora$(echo .)com \
    --cc=damon.ding@rock-chips$(echo .)com \
    --cc=devicetree@vger$(echo .)kernel.org \
    --cc=dianders@chromium$(echo .)org \
    --cc=dmitry.baryshkov@oss$(echo .)qualcomm.com \
    --cc=dri-devel@lists$(echo .)freedesktop.org \
    --cc=heiko@sntech$(echo .)de \
    --cc=hjc@rock-chips$(echo .)com \
    --cc=jernej.skrabec@gmail$(echo .)com \
    --cc=jonas@kwiboo$(echo .)se \
    --cc=krzk+dt@kernel$(echo .)org \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-rockchip@lists$(echo .)infradead.org \
    --cc=luca.ceresoli@bootlin$(echo .)com \
    --cc=m.szyprowski@samsung$(echo .)com \
    --cc=maarten.lankhorst@linux$(echo .)intel.com \
    --cc=mripard@kernel$(echo .)org \
    --cc=neil.armstrong@linaro$(echo .)org \
    --cc=nicolas.frattaroli@collabora$(echo .)com \
    --cc=rfoss@kernel$(echo .)org \
    --cc=robh@kernel$(echo .)org \
    --cc=sebastian.reichel@collabora$(echo .)com \
    --cc=simona@ffwll$(echo .)ch \
    --cc=tzimmermann@suse$(echo .)de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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