arm64: dts: qcom: sc8280xp-arcata: Enable the eDP display

Add the vreg_edp_3p3, edp_reg_en and mdss0_dp3 nodes to enable the
Surface Pro 9 5G eDP-based LCD display (LG LP129WT232166).

Signed-off-by: Jérôme de Bretagne <jerome.debretagne@gmail.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260604-surface-sp9-5g-for-next-v3-2-6aa6f6612c10@gmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
Jérôme de Bretagne 2026-06-04 18:18:38 +02:00 committed by Bjorn Andersson
parent e53655dac6
commit 587ea6a795

View File

@ -136,6 +136,22 @@ pmic_glink_con1_sbu: endpoint {
};
};
vreg_edp_3p3: regulator-edp-3p3 {
compatible = "regulator-fixed";
regulator-name = "VREG_EDP_3P3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
gpio = <&tlmm 36 GPIO_ACTIVE_HIGH>;
enable-active-high;
pinctrl-0 = <&edp_reg_en>;
pinctrl-names = "default";
regulator-boot-on;
};
vreg_nvme: regulator-nvme {
compatible = "regulator-fixed";
@ -344,7 +360,6 @@ vreg_l6b: ldo6 {
regulator-max-microvolt = <880000>;
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
regulator-boot-on;
regulator-always-on; // FIXME: VDD_A_EDP_0_0P9
};
};
@ -448,10 +463,6 @@ &dispcc0 {
status = "okay";
};
&dispcc1 {
status = "okay";
};
&gpi_dma0 {
status = "okay";
};
@ -494,6 +505,42 @@ &mdss0_dp1_out {
remote-endpoint = <&usb_1_qmpphy_dp_in>;
};
&mdss0_dp3 {
compatible = "qcom,sc8280xp-edp";
/delete-property/ #sound-dai-cells;
data-lanes = <0 1 2 3>;
status = "okay";
aux-bus {
panel {
compatible = "edp-panel";
backlight = <&backlight>;
power-supply = <&vreg_edp_3p3>;
port {
edp_panel_in: endpoint {
remote-endpoint = <&mdss0_dp3_out>;
};
};
};
};
};
&mdss0_dp3_out {
remote-endpoint = <&edp_panel_in>;
};
&mdss0_dp3_phy {
compatible = "qcom,sc8280xp-edp-phy";
vdda-phy-supply = <&vreg_l6b>;
vdda-pll-supply = <&vreg_l3b>;
status = "okay";
};
&pcie2a {
vddpe-3v3-supply = <&vreg_nvme>;
@ -914,6 +961,13 @@ hstp-sw-ctrl-pins {
};
};
edp_reg_en: edp-reg-en-state {
pins = "gpio36";
function = "gpio";
drive-strength = <2>;
bias-disable;
};
nvme_reg_en: nvme-reg-en-state {
pins = "gpio135";
function = "gpio";