From: Soutrik Mukhopadhyay <quic_mukhopad@quicinc.com>
To: andersson@kernel.org, konradybcio@kernel.org, robh@kernel.org,
krzk+dt@kernel.org, conor+dt@kernel.org
Cc: Soutrik Mukhopadhyay <quic_mukhopad@quicinc.com>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, quic_riteshk@quicinc.com,
quic_vproddut@quicinc.com, quic_abhinavk@quicinc.com
Subject: [PATCH v4 2/2] arm64: dts: qcom: sa8775p-ride: Enable Display Port
Date: Wed, 20 Nov 2024 16:29:54 +0530 [thread overview]
Message-ID: <20241120105954.9665-3-quic_mukhopad@quicinc.com> (raw)
In-Reply-To: <20241120105954.9665-1-quic_mukhopad@quicinc.com>
Enable DPTX0 and DPTX1 along with their corresponding PHYs for
sa8775p-ride platform.
Signed-off-by: Soutrik Mukhopadhyay <quic_mukhopad@quicinc.com>
---
arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi | 80 ++++++++++++++++++++++
1 file changed, 80 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi b/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi
index adb71aeff339..4847e4942386 100644
--- a/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi
+++ b/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi
@@ -27,6 +27,30 @@
chosen {
stdout-path = "serial0:115200n8";
};
+
+ dp0-connector {
+ compatible = "dp-connector";
+ label = "DP0";
+ type = "full-size";
+
+ port {
+ dp0_connector_in: endpoint {
+ remote-endpoint = <&mdss0_dp0_out>;
+ };
+ };
+ };
+
+ dp1-connector {
+ compatible = "dp-connector";
+ label = "DP1";
+ type = "full-size";
+
+ port {
+ dp1_connector_in: endpoint {
+ remote-endpoint = <&mdss0_dp1_out>;
+ };
+ };
+ };
};
&apps_rsc {
@@ -421,6 +445,50 @@
status = "okay";
};
+&mdss0 {
+ status = "okay";
+};
+
+&mdss0_dp0 {
+ status = "okay";
+
+ pinctrl-0 = <&dp0_hot_plug_det>;
+ pinctrl-names = "default";
+};
+
+&mdss0_dp0_out {
+ data-lanes = <0 1 2 3>;
+ link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
+ remote-endpoint = <&dp0_connector_in>;
+};
+
+&mdss0_dp0_phy {
+ status = "okay";
+
+ vdda-phy-supply = <&vreg_l1c>;
+ vdda-pll-supply = <&vreg_l4a>;
+};
+
+&mdss0_dp1 {
+ status = "okay";
+
+ pinctrl-0 = <&dp1_hot_plug_det>;
+ pinctrl-names = "default";
+};
+
+&mdss0_dp1_out {
+ data-lanes = <0 1 2 3>;
+ link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
+ remote-endpoint = <&dp1_connector_in>;
+};
+
+&mdss0_dp1_phy {
+ status = "okay";
+
+ vdda-phy-supply = <&vreg_l1c>;
+ vdda-pll-supply = <&vreg_l4a>;
+};
+
&pmm8654au_0_gpios {
gpio-line-names = "DS_EN",
"POFF_COMPLETE",
@@ -527,6 +595,18 @@
};
&tlmm {
+ dp0_hot_plug_det: dp0-hot-plug-det-state {
+ pins = "gpio101";
+ function = "edp0_hot";
+ bias-disable;
+ };
+
+ dp1_hot_plug_det: dp1-hot-plug-det-state {
+ pins = "gpio102";
+ function = "edp1_hot";
+ bias-disable;
+ };
+
ethernet0_default: ethernet0-default-state {
ethernet0_mdc: ethernet0-mdc-pins {
pins = "gpio8";
--
2.17.1
next prev parent reply other threads:[~2024-11-20 11:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-20 10:59 [PATCH v4 0/2] Enable Display Port for Qualcomm SA8775P-ride platform Soutrik Mukhopadhyay
2024-11-20 10:59 ` [PATCH v4 1/2] arm64: dts: qcom: sa8775p: add DisplayPort device nodes Soutrik Mukhopadhyay
2024-11-20 11:23 ` Dmitry Baryshkov
2024-11-20 10:59 ` Soutrik Mukhopadhyay [this message]
2024-11-20 11:12 ` [PATCH v4 2/2] arm64: dts: qcom: sa8775p-ride: Enable Display Port Dmitry Baryshkov
2024-11-20 11:35 ` Soutrik Mukhopadhyay
2024-11-20 11:43 ` Dmitry Baryshkov
2024-11-20 11:06 ` [PATCH v4 0/2] Enable Display Port for Qualcomm SA8775P-ride platform Dmitry Baryshkov
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=20241120105954.9665-3-quic_mukhopad@quicinc.com \
--to=quic_mukhopad@quicinc.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.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=quic_abhinavk@quicinc.com \
--cc=quic_riteshk@quicinc.com \
--cc=quic_vproddut@quicinc.com \
--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