]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: qcs8300-ride: Enable Display Port
authorYongxing Mou <yongxing.mou@oss.qualcomm.com>
Mon, 17 Nov 2025 06:49:33 +0000 (14:49 +0800)
committerBjorn Andersson <andersson@kernel.org>
Sat, 3 Jan 2026 17:33:20 +0000 (11:33 -0600)
Enable DPTX0 along with their corresponding PHYs for
qcs8300-ride platform.

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Yongxing Mou <yongxing.mou@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20251117-dts_qcs8300-v7-2-bf42d39e7828@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/qcs8300-ride.dts

index 9bcb869dd270603a34221b905f0946e8af028433..4a8ac26846c6e16672395563d395fd69b8e227bc 100644 (file)
                stdout-path = "serial0:115200n8";
        };
 
+       dp0-connector {
+               compatible = "dp-connector";
+               label = "DP0";
+               type = "full-size";
+
+               port {
+                       dp0_connector_in: endpoint {
+                               remote-endpoint = <&mdss_dp0_out>;
+                       };
+               };
+       };
+
        regulator-usb2-vbus {
                compatible = "regulator-fixed";
                regulator-name = "USB2_VBUS";
        status = "okay";
 };
 
+&mdss {
+       status = "okay";
+};
+
+&mdss_dp0 {
+       pinctrl-0 = <&dp_hot_plug_det>;
+       pinctrl-names = "default";
+
+       status = "okay";
+};
+
+&mdss_dp0_out {
+       data-lanes = <0 1 2 3>;
+       link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
+       remote-endpoint = <&dp0_connector_in>;
+};
+
+&mdss_dp0_phy {
+       vdda-phy-supply = <&vreg_l5a>;
+       vdda-pll-supply = <&vreg_l4a>;
+
+       status = "okay";
+};
+
 &qupv3_id_0 {
        status = "okay";
 };
                        bias-pull-up;
                };
        };
+
+       dp_hot_plug_det: dp-hot-plug-det-state {
+               pins = "gpio94";
+               function = "edp0_hot";
+               bias-disable;
+       };
 };
 
 &uart7 {