arm64: dts: qcom: qcs6490-rb3gen2: Add DP output
authorBjorn Andersson <quic_bjorande@quicinc.com>
Wed, 27 Mar 2024 02:04:19 +0000 (19:04 -0700)
committerBjorn Andersson <andersson@kernel.org>
Wed, 3 Apr 2024 18:49:50 +0000 (13:49 -0500)
The RB3Gen2 board comes with a mini DP connector, describe this, enable
MDSS, DP controller and the PHY that drives this.

Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20240326-rb3gen2-dp-connector-v2-2-a9f1bc32ecaf@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts

index 63ebe0774f1d2b20a16414334670c02be2ba051b..f90bf3518e98d36a1263e91e6ed2bcc899dafe43 100644 (file)
                stdout-path = "serial0:115200n8";
        };
 
+       dp-connector {
+               compatible = "dp-connector";
+               label = "DP";
+               type = "mini";
+
+               hpd-gpios = <&tlmm 60 GPIO_ACTIVE_HIGH>;
+
+               port {
+                       dp_connector_in: endpoint {
+                               remote-endpoint = <&mdss_edp_out>;
+                       };
+               };
+       };
+
        reserved-memory {
                xbl_mem: xbl@80700000 {
                        reg = <0x0 0x80700000 0x0 0x100000>;
                           <GCC_WPSS_RSCP_CLK>;
 };
 
+&mdss {
+       status = "okay";
+};
+
+&mdss_edp {
+       status = "okay";
+};
+
+&mdss_edp_out {
+       data-lanes = <0 1 2 3>;
+       link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
+
+       remote-endpoint = <&dp_connector_in>;
+};
+
+&mdss_edp_phy {
+       status = "okay";
+};
+
 &qupv3_id_0 {
        status = "okay";
 };
 &wifi {
        memory-region = <&wlan_fw_mem>;
 };
+
+/* PINCTRL - ADDITIONS TO NODES IN PARENT DEVICE TREE FILES */
+
+&edp_hot_plug_det {
+       function = "gpio";
+       bias-disable;
+};