]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: lemans-ride: Enable mdss1 display Port
authorMani Chandana Ballary Kuntumalla <quic_mkuntuma@quicinc.com>
Thu, 2 Apr 2026 09:50:02 +0000 (15:20 +0530)
committerBjorn Andersson <andersson@kernel.org>
Mon, 27 Apr 2026 19:52:31 +0000 (14:52 -0500)
This change enables DP controllers, DPTX0 and DPTX1 alongside
their corresponding PHYs of mdss1 which corresponds to edp2
and edp3.

Signed-off-by: Mani Chandana Ballary Kuntumalla <quic_mkuntuma@quicinc.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260402095003.3758176-3-quic_mkuntuma@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/lemans-ride-common.dtsi

index 679e045a6d49bb78885edac68b8396d47c5819c9..40f88498999bd89e030a6685e6b84e7283e866c6 100644 (file)
                };
        };
 
+       dp2-connector {
+               compatible = "dp-connector";
+               label = "eDP2";
+               type = "full-size";
+
+               port {
+                       dp2_connector_in: endpoint {
+                               remote-endpoint = <&mdss1_dp0_out>;
+                       };
+               };
+       };
+
+       dp3-connector {
+               compatible = "dp-connector";
+               label = "eDP3";
+               type = "full-size";
+
+               port {
+                       dp3_connector_in: endpoint {
+                               remote-endpoint = <&mdss1_dp1_out>;
+                       };
+               };
+       };
+
        dp-dsi0-connector {
                compatible = "dp-connector";
                label = "DSI0";
        status = "okay";
 };
 
+&mdss1 {
+       status = "okay";
+};
+
+&mdss1_dp0 {
+       pinctrl-0 = <&dp2_hot_plug_det>;
+       pinctrl-names = "default";
+
+       status = "okay";
+};
+
+&mdss1_dp0_out {
+       data-lanes = <0 1 2 3>;
+       link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
+       remote-endpoint = <&dp2_connector_in>;
+};
+
+&mdss1_dp0_phy {
+       vdda-phy-supply = <&vreg_l1c>;
+       vdda-pll-supply = <&vreg_l4a>;
+
+       status = "okay";
+};
+
+&mdss1_dp1 {
+       pinctrl-0 = <&dp3_hot_plug_det>;
+       pinctrl-names = "default";
+
+       status = "okay";
+};
+
+&mdss1_dp1_out {
+       data-lanes = <0 1 2 3>;
+       link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
+       remote-endpoint = <&dp3_connector_in>;
+};
+
+&mdss1_dp1_phy {
+       vdda-phy-supply = <&vreg_l1c>;
+       vdda-pll-supply = <&vreg_l4a>;
+
+       status = "okay";
+};
+
 &pmm8654au_0_gpios {
        gpio-line-names = "DS_EN",
                          "POFF_COMPLETE",
                bias-disable;
        };
 
+       dp2_hot_plug_det: dp2-hot-plug-det-state {
+               pins = "gpio104";
+               function = "edp2_hot";
+               bias-disable;
+       };
+
+       dp3_hot_plug_det: dp3-hot-plug-det-state {
+               pins = "gpio103";
+               function = "edp3_hot";
+               bias-disable;
+       };
+
        io_expander_intr_active: io-expander-intr-active-state {
                pins = "gpio98";
                function = "gpio";