devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Bjorn Andersson <andersson@kernel.org>,
	 Konrad Dybcio <konradybcio@kernel.org>,
	Rob Herring <robh@kernel.org>,
	 Krzysztof Kozlowski <krzk+dt@kernel.org>,
	 Conor Dooley <conor+dt@kernel.org>,
	cros-qcom-dts-watchers@chromium.org
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	 linux-kernel@vger.kernel.org,
	Neil Armstrong <neil.armstrong@linaro.org>,
	 Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
	 Dmitry Baryshkov <lumag@kernel.org>
Subject: [PATCH v2 23/24] arm64: dts: qcom: sm8550: Use the header with DSI phy clock IDs
Date: Tue, 08 Apr 2025 11:32:20 +0200	[thread overview]
Message-ID: <20250408-dts-qcom-dsi-phy-clocks-v2-23-73b482a6dd02@linaro.org> (raw)
In-Reply-To: <20250408-dts-qcom-dsi-phy-clocks-v2-0-73b482a6dd02@linaro.org>

Use the header with DSI phy clock IDs to make code more readable.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 arch/arm64/boot/dts/qcom/sm8550.dtsi | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qcom/sm8550.dtsi
index f78d5292c5dd5ec88c8deb0ca6e5078511ac52b7..a2732e04896e2f6dcdcd019d90d23731ad0d15a7 100644
--- a/arch/arm64/boot/dts/qcom/sm8550.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi
@@ -3,6 +3,7 @@
  * Copyright (c) 2022, Linaro Limited
  */
 
+#include <dt-bindings/clock/qcom,dsi-phy-28nm.h>
 #include <dt-bindings/clock/qcom,rpmh.h>
 #include <dt-bindings/clock/qcom,sm8450-videocc.h>
 #include <dt-bindings/clock/qcom,sm8550-camcc.h>
@@ -3554,8 +3555,8 @@ mdss_dsi0: dsi@ae94000 {
 
 				assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>,
 						  <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>;
-				assigned-clock-parents = <&mdss_dsi0_phy 0>,
-							 <&mdss_dsi0_phy 1>;
+				assigned-clock-parents = <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>,
+							 <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>;
 
 				operating-points-v2 = <&mdss_dsi_opp_table>;
 
@@ -3649,8 +3650,8 @@ mdss_dsi1: dsi@ae96000 {
 
 				assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK_SRC>,
 						  <&dispcc DISP_CC_MDSS_PCLK1_CLK_SRC>;
-				assigned-clock-parents = <&mdss_dsi1_phy 0>,
-							 <&mdss_dsi1_phy 1>;
+				assigned-clock-parents = <&mdss_dsi1_phy DSI_BYTE_PLL_CLK>,
+							 <&mdss_dsi1_phy DSI_PIXEL_PLL_CLK>;
 
 				operating-points-v2 = <&mdss_dsi_opp_table>;
 
@@ -3708,10 +3709,10 @@ dispcc: clock-controller@af00000 {
 				 <&bi_tcxo_ao_div2>,
 				 <&gcc GCC_DISP_AHB_CLK>,
 				 <&sleep_clk>,
-				 <&mdss_dsi0_phy 0>,
-				 <&mdss_dsi0_phy 1>,
-				 <&mdss_dsi1_phy 0>,
-				 <&mdss_dsi1_phy 1>,
+				 <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>,
+				 <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>,
+				 <&mdss_dsi1_phy DSI_BYTE_PLL_CLK>,
+				 <&mdss_dsi1_phy DSI_PIXEL_PLL_CLK>,
 				 <&usb_dp_qmpphy QMP_USB43DP_DP_LINK_CLK>,
 				 <&usb_dp_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>,
 				 <0>, /* dp1 */

-- 
2.45.2


  parent reply	other threads:[~2025-04-08  9:33 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-08  9:31 [PATCH v2 00/24] ARM / arm64: dts: qcom: Use the header with DSI phy clock IDs Krzysztof Kozlowski
2025-04-08  9:31 ` [PATCH v2 01/24] ARM: dts: qcom: msm8226: " Krzysztof Kozlowski
2025-04-08  9:31 ` [PATCH v2 02/24] ARM: dts: qcom: msm8974: " Krzysztof Kozlowski
2025-04-08  9:32 ` [PATCH v2 03/24] ARM: dts: qcom: msm8916: " Krzysztof Kozlowski
2025-04-08 10:23   ` Luca Weiss
2025-04-08 21:57     ` Bjorn Andersson
2025-04-08  9:32 ` [PATCH v2 04/24] arm64: dts: qcom: msm8917: " Krzysztof Kozlowski
2025-04-08  9:32 ` [PATCH v2 05/24] arm64: dts: qcom: msm8939: " Krzysztof Kozlowski
2025-04-08  9:32 ` [PATCH v2 06/24] arm64: dts: qcom: msm8953: " Krzysztof Kozlowski
2025-04-08  9:32 ` [PATCH v2 07/24] arm64: dts: qcom: msm8976: " Krzysztof Kozlowski
2025-04-08  9:32 ` [PATCH v2 08/24] arm64: dts: qcom: msm8996: " Krzysztof Kozlowski
2025-04-08  9:32 ` [PATCH v2 09/24] arm64: dts: qcom: msm8998: " Krzysztof Kozlowski
2025-04-08  9:32 ` [PATCH v2 10/24] arm64: dts: qcom: qcm2290: " Krzysztof Kozlowski
2025-04-08  9:32 ` [PATCH v2 11/24] arm64: dts: qcom: sc7180: " Krzysztof Kozlowski
2025-04-08  9:32 ` [PATCH v2 12/24] arm64: dts: qcom: sc8180x: " Krzysztof Kozlowski
2025-04-08  9:32 ` [PATCH v2 13/24] arm64: dts: qcom: sdm630: " Krzysztof Kozlowski
2025-04-08  9:32 ` [PATCH v2 14/24] arm64: dts: qcom: sdm670: " Krzysztof Kozlowski
2025-04-08  9:32 ` [PATCH v2 15/24] arm64: dts: qcom: sdm845: " Krzysztof Kozlowski
2025-04-08  9:32 ` [PATCH v2 16/24] arm64: dts: qcom: sm6115: " Krzysztof Kozlowski
2025-04-08  9:32 ` [PATCH v2 17/24] arm64: dts: qcom: sm6125: " Krzysztof Kozlowski
2025-04-08  9:32 ` [PATCH v2 18/24] arm64: dts: qcom: sm6350: " Krzysztof Kozlowski
2025-04-08  9:32 ` [PATCH v2 19/24] arm64: dts: qcom: sm8150: " Krzysztof Kozlowski
2025-04-08  9:32 ` [PATCH v2 20/24] arm64: dts: qcom: sm8250: " Krzysztof Kozlowski
2025-04-08  9:32 ` [PATCH v2 21/24] arm64: dts: qcom: sm8350: " Krzysztof Kozlowski
2025-04-08  9:32 ` [PATCH v2 22/24] arm64: dts: qcom: sm8450: " Krzysztof Kozlowski
2025-04-08  9:32 ` Krzysztof Kozlowski [this message]
2025-04-08  9:32 ` [PATCH v2 24/24] arm64: dts: qcom: sm8650: " Krzysztof Kozlowski
2025-04-09  4:03 ` [PATCH v2 00/24] ARM / arm64: dts: qcom: " Bjorn Andersson

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=20250408-dts-qcom-dsi-phy-clocks-v2-23-73b482a6dd02@linaro.org \
    --to=krzysztof.kozlowski@linaro.org \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=cros-qcom-dts-watchers@chromium.org \
    --cc=devicetree@vger.kernel.org \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lumag@kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=robh@kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).