devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
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
Subject: [PATCH 1/5] arm64: dts: qcom: sc8180x: add empty mdss_edp_out endpoint
Date: Thu, 24 Jul 2025 15:23:39 +0300	[thread overview]
Message-ID: <20250724-move-edp-endpoints-v1-1-6ca569812838@oss.qualcomm.com> (raw)
In-Reply-To: <20250724-move-edp-endpoints-v1-0-6ca569812838@oss.qualcomm.com>

Follow the example of other DP controllers and also eDP controller on
SC7280 and move mdss_edp_out endpoint declaration to the SoC DTSI. This
slightly reduces the boilerplate in the platform DT files and also
reduces the difference between DP and eDP controllers.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
 arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts | 11 +++--------
 arch/arm64/boot/dts/qcom/sc8180x-primus.dts         | 11 +++--------
 arch/arm64/boot/dts/qcom/sc8180x.dtsi               |  7 +++++++
 3 files changed, 13 insertions(+), 16 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts b/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts
index 21c2d25a294506de41f6e8b7197be85c02d03568..93dfb82c36da29cf271a2c0e4e5077f9cc7ac299 100644
--- a/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts
+++ b/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts
@@ -457,15 +457,10 @@ auo_b140han06_in: endpoint {
 			};
 		};
 	};
+};
 
-	ports {
-		port@1 {
-			reg = <1>;
-			mdss_edp_out: endpoint {
-				remote-endpoint = <&auo_b140han06_in>;
-			};
-		};
-	};
+&mdss_edp_out {
+	remote-endpoint = <&auo_b140han06_in>;
 };
 
 &pcie3 {
diff --git a/arch/arm64/boot/dts/qcom/sc8180x-primus.dts b/arch/arm64/boot/dts/qcom/sc8180x-primus.dts
index 7a4bd6955470338dd9c7a628c9f9a01de8b480ac..6808226b04e4e6cab77af1a29376ce06d5dfd14e 100644
--- a/arch/arm64/boot/dts/qcom/sc8180x-primus.dts
+++ b/arch/arm64/boot/dts/qcom/sc8180x-primus.dts
@@ -551,15 +551,10 @@ auo_b133han05_in: endpoint {
 			};
 		};
 	};
+};
 
-	ports {
-		port@1 {
-			reg = <1>;
-			mdss_edp_out: endpoint {
-				remote-endpoint = <&auo_b133han05_in>;
-			};
-		};
-	};
+&mdss_edp_out {
+	remote-endpoint = <&auo_b133han05_in>;
 };
 
 &pcie1 {
diff --git a/arch/arm64/boot/dts/qcom/sc8180x.dtsi b/arch/arm64/boot/dts/qcom/sc8180x.dtsi
index f4f1d6a11960c69055d001a34e893e696ae5ce77..836ac94551478fd728b1229616bbc6494cee336f 100644
--- a/arch/arm64/boot/dts/qcom/sc8180x.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc8180x.dtsi
@@ -3423,6 +3423,13 @@ edp_in: endpoint {
 							remote-endpoint = <&dpu_intf5_out>;
 						};
 					};
+
+					port@1 {
+						reg = <1>;
+
+						mdss_edp_out: endpoint {
+						};
+					};
 				};
 
 				edp_opp_table: opp-table {

-- 
2.39.5


  reply	other threads:[~2025-07-24 12:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-24 12:23 [PATCH 0/5] arm64: dts: qcom: add empty eDP endpoints to the SoC DTSI files Dmitry Baryshkov
2025-07-24 12:23 ` Dmitry Baryshkov [this message]
2025-07-24 12:25   ` [PATCH 1/5] arm64: dts: qcom: sc8180x: add empty mdss_edp_out endpoint Konrad Dybcio
2025-07-24 12:23 ` [PATCH 2/5] arm64: dts: qcom: sc8280xp: add empty mdss*_dp*_out endpoints Dmitry Baryshkov
2025-07-24 12:27   ` Konrad Dybcio
2025-07-24 12:23 ` [PATCH 3/5] arm64: dts: qcom: x1e80100: add empty mdss_dp3_out endpoint Dmitry Baryshkov
2025-07-24 12:28   ` Konrad Dybcio
2025-07-24 12:23 ` [PATCH 4/5] arm64: dts: qcom: move data-lanes to the DP-out endpoint Dmitry Baryshkov
2025-07-24 12:28   ` Konrad Dybcio
2025-07-24 12:23 ` [PATCH 5/5] arm64: dts: qcom: sc7180-acer-aspire1: drop deprecated DP supplies Dmitry Baryshkov
2025-07-24 12:30   ` Konrad Dybcio
2025-08-12  4:03 ` [PATCH 0/5] arm64: dts: qcom: add empty eDP endpoints to the SoC DTSI files 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=20250724-move-edp-endpoints-v1-1-6ca569812838@oss.qualcomm.com \
    --to=dmitry.baryshkov@oss.qualcomm.com \
    --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).