]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: lemans-evk: Enable Display Port
authorShashank Maurya <quic_ssmaurya@quicinc.com>
Thu, 21 Aug 2025 17:54:28 +0000 (23:24 +0530)
committerBjorn Andersson <andersson@kernel.org>
Sun, 24 Aug 2025 02:37:14 +0000 (21:37 -0500)
Lemans EVK board has two mini-DP connectors, connected to EDP0
and EDP1 phys. Other EDP phys are available on expansion
connectors for the mezzanine boards.
Enable EDP0 and EDP1 along with their corresponding PHYs.

Signed-off-by: Shashank Maurya <quic_ssmaurya@quicinc.com>
Signed-off-by: Prahlad Valluru <venkata.valluru@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250821-enable-iq9-dp-v3-1-8c3a719e3b9a@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/lemans-evk.dts
arch/arm64/boot/dts/qcom/lemans.dtsi

index 669ac52f4cf6aece72141416068268531fd9f79a..9e415012140b8a0c17c36580b9c6d3ad6cadcbca 100644 (file)
        chosen {
                stdout-path = "serial0:115200n8";
        };
+
+       edp0-connector {
+               compatible = "dp-connector";
+               label = "EDP0";
+               type = "mini";
+
+               port {
+                       edp0_connector_in: endpoint {
+                               remote-endpoint = <&mdss0_dp0_out>;
+                       };
+               };
+       };
+
+       edp1-connector {
+               compatible = "dp-connector";
+               label = "EDP1";
+               type = "mini";
+
+               port {
+                       edp1_connector_in: endpoint {
+                               remote-endpoint = <&mdss0_dp1_out>;
+                       };
+               };
+       };
 };
 
 &apps_rsc {
        };
 };
 
+&mdss0 {
+       status = "okay";
+};
+
+&mdss0_dp0 {
+       pinctrl-0 = <&dp0_hot_plug_det>;
+       pinctrl-names = "default";
+
+       status = "okay";
+};
+
+&mdss0_dp0_out {
+       data-lanes = <0 1 2 3>;
+       link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
+
+       remote-endpoint = <&edp0_connector_in>;
+};
+
+&mdss0_dp0_phy {
+       vdda-phy-supply = <&vreg_l1c>;
+       vdda-pll-supply = <&vreg_l4a>;
+
+       status = "okay";
+};
+
+&mdss0_dp1 {
+       pinctrl-0 = <&dp1_hot_plug_det>;
+       pinctrl-names = "default";
+
+       status = "okay";
+};
+
+&mdss0_dp1_out {
+       data-lanes = <0 1 2 3>;
+       link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
+
+       remote-endpoint = <&edp1_connector_in>;
+};
+
+&mdss0_dp1_phy {
+       vdda-phy-supply = <&vreg_l1c>;
+       vdda-pll-supply = <&vreg_l4a>;
+
+       status = "okay";
+};
+
 &qupv3_id_1 {
        status = "okay";
 };
index 64f5378c6a4770cee2c7d76cde1098d7df17a24a..7c9972c28a54008dc0bc1b556d93c0707a278dd4 100644 (file)
                        gpio-ranges = <&tlmm 0 0 149>;
                        wakeup-parent = <&pdc>;
 
+                       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;
+                       };
+
                        qup_i2c0_default: qup-i2c0-state {
                                pins = "gpio20", "gpio21";
                                function = "qup0_se0";