Skip to content

Commit ee59e81

Browse files
authored
arm64: dts: qcom: lemans: add mdss1 display device nodes (#400)
arm64: dts: qcom: lemans: add mdss1 display device nodes arm64: dts: qcom: lemans-ride: Enable mdss1 display Port
2 parents 0b17362 + 7778097 commit ee59e81

File tree

2 files changed

+385
-76
lines changed

2 files changed

+385
-76
lines changed

arch/arm64/boot/dts/qcom/lemans-ride-common.dtsi

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,30 @@
180180
};
181181
};
182182

183+
dp2-connector {
184+
compatible = "dp-connector";
185+
label = "eDP2";
186+
type = "full-size";
187+
188+
port {
189+
dp2_connector_in: endpoint {
190+
remote-endpoint = <&mdss1_dp0_out>;
191+
};
192+
};
193+
};
194+
195+
dp3-connector {
196+
compatible = "dp-connector";
197+
label = "eDP3";
198+
type = "full-size";
199+
200+
port {
201+
dp3_connector_in: endpoint {
202+
remote-endpoint = <&mdss1_dp1_out>;
203+
};
204+
};
205+
};
206+
183207
dp-dsi0-connector {
184208
compatible = "dp-connector";
185209
label = "DSI0";
@@ -639,6 +663,50 @@
639663
status = "okay";
640664
};
641665

666+
&mdss1 {
667+
status = "okay";
668+
};
669+
670+
&mdss1_dp0 {
671+
pinctrl-0 = <&dp2_hot_plug_det>;
672+
pinctrl-names = "default";
673+
674+
status = "okay";
675+
};
676+
677+
&mdss1_dp0_out {
678+
data-lanes = <0 1 2 3>;
679+
link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
680+
remote-endpoint = <&dp2_connector_in>;
681+
};
682+
683+
&mdss1_dp0_phy {
684+
vdda-phy-supply = <&vreg_l1c>;
685+
vdda-pll-supply = <&vreg_l4a>;
686+
687+
status = "okay";
688+
};
689+
690+
&mdss1_dp1 {
691+
pinctrl-0 = <&dp3_hot_plug_det>;
692+
pinctrl-names = "default";
693+
694+
status = "okay";
695+
};
696+
697+
&mdss1_dp1_out {
698+
data-lanes = <0 1 2 3>;
699+
link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
700+
remote-endpoint = <&dp3_connector_in>;
701+
};
702+
703+
&mdss1_dp1_phy {
704+
vdda-phy-supply = <&vreg_l1c>;
705+
vdda-pll-supply = <&vreg_l4a>;
706+
707+
status = "okay";
708+
};
709+
642710
&pmm8654au_0_gpios {
643711
gpio-line-names = "DS_EN",
644712
"POFF_COMPLETE",
@@ -827,6 +895,18 @@
827895
bias-disable;
828896
};
829897

898+
dp2_hot_plug_det: dp2-hot-plug-det-state {
899+
pins = "gpio104";
900+
function = "edp2_hot";
901+
bias-disable;
902+
};
903+
904+
dp3_hot_plug_det: dp3-hot-plug-det-state {
905+
pins = "gpio103";
906+
function = "edp3_hot";
907+
bias-disable;
908+
};
909+
830910
io_expander_intr_active: io-expander-intr-active-state {
831911
pins = "gpio98";
832912
function = "gpio";

0 commit comments

Comments
 (0)