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 09/24] arm64: dts: qcom: msm8998: Use the header with DSI phy clock IDs
Date: Tue, 08 Apr 2025 11:32:06 +0200	[thread overview]
Message-ID: <20250408-dts-qcom-dsi-phy-clocks-v2-9-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/msm8998.dtsi | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi
index c2caad85c668df2ebe900bc560e39480ae03e353..7eca38440cd7ea60caa3e8467097aaf0d7928df5 100644
--- a/arch/arm64/boot/dts/qcom/msm8998.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi
@@ -2,6 +2,7 @@
 /* Copyright (c) 2016, The Linux Foundation. All rights reserved. */
 
 #include <dt-bindings/interrupt-controller/arm-gic.h>
+#include <dt-bindings/clock/qcom,dsi-phy-28nm.h>
 #include <dt-bindings/clock/qcom,gcc-msm8998.h>
 #include <dt-bindings/clock/qcom,gpucc-msm8998.h>
 #include <dt-bindings/clock/qcom,mmcc-msm8998.h>
@@ -2790,10 +2791,10 @@ mmcc: clock-controller@c8c0000 {
 				      "gpll0_div";
 			clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
 				 <&gcc GCC_MMSS_GPLL0_CLK>,
-				 <&mdss_dsi0_phy 1>,
-				 <&mdss_dsi0_phy 0>,
-				 <&mdss_dsi1_phy 1>,
-				 <&mdss_dsi1_phy 0>,
+				 <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>,
+				 <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>,
+				 <&mdss_dsi1_phy DSI_PIXEL_PLL_CLK>,
+				 <&mdss_dsi1_phy DSI_BYTE_PLL_CLK>,
 				 <&mdss_hdmi_phy 0>,
 				 <0>,
 				 <0>,
@@ -2932,8 +2933,8 @@ mdss_dsi0: dsi@c994000 {
 					      "bus";
 				assigned-clocks = <&mmcc BYTE0_CLK_SRC>,
 						  <&mmcc 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 = <&dsi_opp_table>;
 				power-domains = <&rpmpd MSM8998_VDDCX>;
@@ -3008,8 +3009,8 @@ mdss_dsi1: dsi@c996000 {
 					      "bus";
 				assigned-clocks = <&mmcc BYTE1_CLK_SRC>,
 						  <&mmcc 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 = <&dsi_opp_table>;
 				power-domains = <&rpmpd MSM8998_VDDCX>;

-- 
2.45.2


  parent reply	other threads:[~2025-04-08  9:32 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 ` Krzysztof Kozlowski [this message]
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 ` [PATCH v2 23/24] arm64: dts: qcom: sm8550: " Krzysztof Kozlowski
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-9-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).