Skip to content

Commit 7dc6291

Browse files
Mani-chandana167Komal-Bajaj
authored andcommitted
FROMLIST: arm64: dts: qcom: lemans-ride: Enable mdss1 display Port
This change enables DP controllers, DPTX0 and DPTX1 alongside their corresponding PHYs of mdss1 which corresponds to edp2 and edp3. Signed-off-by: Mani Chandana Ballary Kuntumalla <quic_mkuntuma@quicinc.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Link: https://lore.kernel.org/r/20260402095003.3758176-3-quic_mkuntuma@quicinc.com
1 parent c720f67 commit 7dc6291

1 file changed

Lines changed: 80 additions & 0 deletions

File tree

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

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,30 @@
154154
};
155155
};
156156

157+
dp2-connector {
158+
compatible = "dp-connector";
159+
label = "eDP2";
160+
type = "full-size";
161+
162+
port {
163+
dp2_connector_in: endpoint {
164+
remote-endpoint = <&mdss1_dp0_out>;
165+
};
166+
};
167+
};
168+
169+
dp3-connector {
170+
compatible = "dp-connector";
171+
label = "eDP3";
172+
type = "full-size";
173+
174+
port {
175+
dp3_connector_in: endpoint {
176+
remote-endpoint = <&mdss1_dp1_out>;
177+
};
178+
};
179+
};
180+
157181
dp-dsi0-connector {
158182
compatible = "dp-connector";
159183
label = "DSI0";
@@ -611,6 +635,50 @@
611635
status = "okay";
612636
};
613637

638+
&mdss1 {
639+
status = "okay";
640+
};
641+
642+
&mdss1_dp0 {
643+
pinctrl-0 = <&dp2_hot_plug_det>;
644+
pinctrl-names = "default";
645+
646+
status = "okay";
647+
};
648+
649+
&mdss1_dp0_out {
650+
data-lanes = <0 1 2 3>;
651+
link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
652+
remote-endpoint = <&dp2_connector_in>;
653+
};
654+
655+
&mdss1_dp0_phy {
656+
vdda-phy-supply = <&vreg_l1c>;
657+
vdda-pll-supply = <&vreg_l4a>;
658+
659+
status = "okay";
660+
};
661+
662+
&mdss1_dp1 {
663+
pinctrl-0 = <&dp3_hot_plug_det>;
664+
pinctrl-names = "default";
665+
666+
status = "okay";
667+
};
668+
669+
&mdss1_dp1_out {
670+
data-lanes = <0 1 2 3>;
671+
link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
672+
remote-endpoint = <&dp3_connector_in>;
673+
};
674+
675+
&mdss1_dp1_phy {
676+
vdda-phy-supply = <&vreg_l1c>;
677+
vdda-pll-supply = <&vreg_l4a>;
678+
679+
status = "okay";
680+
};
681+
614682
&pmm8654au_0_gpios {
615683
gpio-line-names = "DS_EN",
616684
"POFF_COMPLETE",
@@ -792,6 +860,18 @@
792860
bias-disable;
793861
};
794862

863+
dp2_hot_plug_det: dp2-hot-plug-det-state {
864+
pins = "gpio104";
865+
function = "edp2_hot";
866+
bias-disable;
867+
};
868+
869+
dp3_hot_plug_det: dp3-hot-plug-det-state {
870+
pins = "gpio103";
871+
function = "edp3_hot";
872+
bias-disable;
873+
};
874+
795875
io_expander_intr_active: io-expander-intr-active-state {
796876
pins = "gpio98";
797877
function = "gpio";

0 commit comments

Comments
 (0)