linux-kernel.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,
	 Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Subject: [PATCH 03/24] ARM: dts: qcom: msm8916: Use the header with DSI phy clock IDs
Date: Mon, 27 Jan 2025 14:47:36 +0100	[thread overview]
Message-ID: <20250127-dts-qcom-dsi-phy-clocks-v1-3-9d8ddbcb1c7f@linaro.org> (raw)
In-Reply-To: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org>

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

---

Depends on:
https://lore.kernel.org/all/20250127132105.107138-1-krzysztof.kozlowski@linaro.org/
---
 arch/arm64/boot/dts/qcom/msm8916.dtsi | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi
index 8f35c9af18782aa1da7089988692e6588c4b7c5d..c89f9e92e832eae8f630555e9e7f5817d6731d4d 100644
--- a/arch/arm64/boot/dts/qcom/msm8916.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi
@@ -4,6 +4,7 @@
  */
 
 #include <dt-bindings/arm/coresight-cti-dt.h>
+#include <dt-bindings/clock/qcom,dsi-phy-28nm.h>
 #include <dt-bindings/clock/qcom,gcc-msm8916.h>
 #include <dt-bindings/clock/qcom,rpmcc.h>
 #include <dt-bindings/interconnect/qcom,msm8916.h>
@@ -1497,8 +1498,8 @@ gcc: clock-controller@1800000 {
 			reg = <0x01800000 0x80000>;
 			clocks = <&xo_board>,
 				 <&sleep_clk>,
-				 <&mdss_dsi0_phy 1>,
-				 <&mdss_dsi0_phy 0>,
+				 <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>,
+				 <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>,
 				 <0>,
 				 <0>,
 				 <0>;
@@ -1590,8 +1591,8 @@ mdss_dsi0: dsi@1a98000 {
 
 				assigned-clocks = <&gcc BYTE0_CLK_SRC>,
 						  <&gcc 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>;
 
 				clocks = <&gcc GCC_MDSS_MDP_CLK>,
 					 <&gcc GCC_MDSS_AHB_CLK>,

-- 
2.43.0


  parent reply	other threads:[~2025-01-27 13:48 UTC|newest]

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

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=20250127-dts-qcom-dsi-phy-clocks-v1-3-9d8ddbcb1c7f@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=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).