arm64: dts: qcom: add data-lanes and link-freuencies into dp_out endpoint
authorKuogee Hsieh <quic_khsieh@quicinc.com>
Tue, 27 Dec 2022 17:44:59 +0000 (09:44 -0800)
committerBjorn Andersson <andersson@kernel.org>
Tue, 17 Jan 2023 03:12:17 +0000 (21:12 -0600)
Move data-lanes property from mdss_dp node to dp_out endpoint. Also
add link-frequencies property into dp_out endpoint as well. The last
frequency specified at link-frequencies will be the max link rate
supported by DP.

Signed-off-by: Kuogee Hsieh <quic_khsieh@quicinc.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/1672163103-31254-2-git-send-email-quic_khsieh@quicinc.com
arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi
arch/arm64/boot/dts/qcom/sc7180.dtsi
arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi
arch/arm64/boot/dts/qcom/sc7280.dtsi

index a74087c6570a5e427291c125483ed81bad55b9cf..895c836a8cb5d941886f6a2024ff1c6f476c5e0b 100644 (file)
@@ -816,7 +816,11 @@ hp_i2c: &i2c9 {
        status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = <&dp_hot_plug_det>;
+};
+
+&mdss_dp_out {
        data-lanes = <0 1>;
+       link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000>;
 };
 
 &pm6150_adc {
index 7846edce6ae9bc5e2d27f82d9f31a77730d76654..3a0bd0fb56b4ccc890c33dad1d53296c7966de20 100644 (file)
 
                                        port@1 {
                                                reg = <1>;
-                                               dp_out: endpoint { };
+                                               mdss_dp_out: endpoint { };
                                        };
                                };
 
index 27f479ff9d80dbf89e23108d493eff15c08bbb44..d21f73bf0873c3c0e0aa09ba9fe4aa14a39f117c 100644 (file)
@@ -442,7 +442,11 @@ ap_i2c_tpm: &i2c14 {
        status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = <&dp_hot_plug_det>;
+};
+
+&mdss_dp_out {
        data-lanes = <0 1>;
+       link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
 };
 
 &mdss_mdp {
index 485e7d1602ec1af5a83339c677ffa6a44f0bcec8..f4cb64ab259ef5cc1d920495d145770e0b70dceb 100644 (file)
 
                                        port@1 {
                                                reg = <1>;
-                                               dp_out: endpoint { };
+                                               mdss_dp_out: endpoint { };
                                        };
                                };