From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-m32124.qiye.163.com (mail-m32124.qiye.163.com [220.197.32.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 62AEB26E6FA; Fri, 13 Mar 2026 05:36:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=220.197.32.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773380198; cv=none; b=U3w2sfPktQu7wrZuEBxfhNKrvpYPX4d0FUqs4m3dqSEHDf82m9dXeFm76reDv/RNzZKy3BRT0iQ49eJB4WpY7Q8eVfAq5ySsRb/qysO6nWh/AUMsrSHl+w1GynhBoyVBMVONyjGNR+bAT0/Naa2fwoKL7UvzbcgOLftWER6uvRk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773380198; c=relaxed/simple; bh=AOBKNI7orUSkOjme3vULiREJ7V0PPDASMKVnv5ZzTcI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=P/gBaVuKQXYCsftQ6tYN6oafp91ICcutSrs+R2vWoIUCVJZr+C8nyVux4RPn1Ke6FcLVgKlVupt49g3GTkHm8FFisK22taMOQN2PH2kWfpnR5OQwALvduJwK9fSQQ31iYrcaB/+DzD6K1gf35sg3sJ+m1jo6QGLKvuec/MrDFUU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=rock-chips.com; spf=pass smtp.mailfrom=rock-chips.com; dkim=pass (1024-bit key) header.d=rock-chips.com header.i=@rock-chips.com header.b=PPY8peb+; arc=none smtp.client-ip=220.197.32.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=rock-chips.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rock-chips.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=rock-chips.com header.i=@rock-chips.com header.b="PPY8peb+" Received: from [172.16.12.43] (unknown [58.22.7.114]) by smtp.qiye.163.com (Hmail) with ESMTP id 36c776438; Fri, 13 Mar 2026 10:07:14 +0800 (GMT+08:00) Message-ID: <716e9716-2268-438f-ae55-d380877db123@rock-chips.com> Date: Fri, 13 Mar 2026 10:07:13 +0800 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 1/4] dt-bindings: display: rockchip: analogix-dp: Add support for RK3576 To: Krzysztof Kozlowski 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, alchark@gmail.com, cristian.ciocaltea@collabora.com, sebastian.reichel@collabora.com, kever.yang@rock-chips.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 References: <20260310105307.309765-1-damon.ding@rock-chips.com> <20260310105307.309765-2-damon.ding@rock-chips.com> <20260311-toucanet-of-imaginary-authority-c9f0db@quoll> Content-Language: en-US From: Damon Ding In-Reply-To: <20260311-toucanet-of-imaginary-authority-c9f0db@quoll> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-HM-Tid: 0a9ce4f2a92e03a3kunmc1811a2e381cc X-HM-MType: 1 X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFDSUNOT01LS0k3V1ktWUFJV1kPCRoVCBIfWUFZQ0xJQlYYQkkZQx5KSU5OSk5WFRQJFh oXVRMBExYaEhckFA4PWVdZGBILWUFZTkNVSUlVTFVKSk9ZV1kWGg8SFR0UWUFZT0tIVUpLSEpKQk 1VSktLVUpCWQY+ DKIM-Signature: a=rsa-sha256; b=PPY8peb+FTgHiMCthwWnx7ddQB28ebg/49XsKF30c4mNbCyqrWJ52zOSOmR2IRU2UfLunwLLT5U6DjQ0/SomKzjkYrvdEeQRpuHcTdZw76dueIwcCIQHDeGUHsUYzvPe+3wi4X3eqbZaiJpNzvrsCHKw7KjV7QoJyQUD3l77WDs=; c=relaxed/relaxed; s=default; d=rock-chips.com; v=1; bh=bq4iq8k6GkX1ctzNetJVx6rxaOwxLlO+PzTPDVOLeDk=; h=date:mime-version:subject:message-id:from; Hi Krzysztof, On 3/11/2026 9:01 PM, Krzysztof Kozlowski wrote: > On Tue, Mar 10, 2026 at 06:53:04PM +0800, Damon Ding wrote: >> The eDP TX controller on RK3576 is the same as that on RK3588. >> >> The newly added clock 'hclk' is the video datapath clock. >> >> Signed-off-by: Damon Ding >> --- >> .../bindings/display/rockchip/rockchip,analogix-dp.yaml | 6 +++++- >> 1 file changed, 5 insertions(+), 1 deletion(-) >> >> diff --git a/Documentation/devicetree/bindings/display/rockchip/rockchip,analogix-dp.yaml b/Documentation/devicetree/bindings/display/rockchip/rockchip,analogix-dp.yaml >> index d99b23b88cc5..4496a43881f9 100644 >> --- a/Documentation/devicetree/bindings/display/rockchip/rockchip,analogix-dp.yaml >> +++ b/Documentation/devicetree/bindings/display/rockchip/rockchip,analogix-dp.yaml >> @@ -15,6 +15,7 @@ properties: >> enum: >> - rockchip,rk3288-dp >> - rockchip,rk3399-edp >> + - rockchip,rk3576-edp >> - rockchip,rk3588-edp >> >> clocks: >> @@ -26,7 +27,9 @@ properties: >> items: >> - const: dp >> - const: pclk >> - - const: grf >> + - enum: >> + - grf >> + - hclk > > And why it is not the same clock? Nothing in commit msg explains why > this clock input (not output!) is different. > After checking the CRU design for both platforms, I confirm that both require this HCLK. The RK3588 platform works without explicitly adding this clock because the 'rockchip,vo-grf = <&vo1_grf>' property implicitly enables hclk_vo1. For v2, it should be better to add the corresponding HCLK reference to the eDP nodes in the RK3588 DTS. Best regards, Damon