]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: glymur-crd: Enable eDP display support
authorAbel Vesa <abel.vesa@linaro.org>
Fri, 20 Mar 2026 11:16:44 +0000 (13:16 +0200)
committerBjorn Andersson <andersson@kernel.org>
Thu, 26 Mar 2026 14:40:47 +0000 (09:40 -0500)
Enable the MDSS (Mobile Display SubSystem), the third DisplayPort
controller, and its PHY to drive the onboard eDP panel on the Glymur
CRD platform. Also describe the regulator supplying panel power.

Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260320-dts-qcom-glymur-crd-add-edp-v7-2-ca415560447e@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/glymur-crd.dts

index 4df8fc4ec254dd9cf67fa8da49d700e81fab6397..09a532822787f2e16045c5cb446945d24c916326 100644 (file)
                        };
                };
        };
+
+       vreg_edp_3p3: regulator-edp-3p3 {
+               compatible = "regulator-fixed";
+
+               regulator-name = "VREG_EDP_3P3";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+
+               gpio = <&tlmm 70 GPIO_ACTIVE_HIGH>;
+               enable-active-high;
+
+               pinctrl-0 = <&edp_reg_en>;
+               pinctrl-names = "default";
+
+               regulator-boot-on;
+       };
 };
 
 &i2c5 {
        };
 };
 
+&mdss {
+       status = "okay";
+};
+
+&mdss_dp3 {
+       /delete-property/ #sound-dai-cells;
+
+       status = "okay";
+
+       aux-bus {
+               panel {
+                       compatible = "samsung,atna60cl08", "samsung,atna33xc20";
+                       enable-gpios = <&tlmm 18 GPIO_ACTIVE_HIGH>;
+                       power-supply = <&vreg_edp_3p3>;
+
+                       pinctrl-0 = <&edp_bl_en>;
+                       pinctrl-names = "default";
+
+                       port {
+                               edp_panel_in: endpoint {
+                                       remote-endpoint = <&mdss_dp3_out>;
+                               };
+                       };
+               };
+       };
+};
+
+&mdss_dp3_out {
+       data-lanes = <0 1 2 3>;
+       link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
+
+       remote-endpoint = <&edp_panel_in>;
+};
+
+&mdss_dp3_phy {
+       vdda-phy-supply = <&vreg_l2f_e1_0p83>;
+       vdda-pll-supply = <&vreg_l4f_e1_1p08>;
+
+       status = "okay";
+};
+
 &smb2370_j_e2_eusb2_repeater {
        vdd18-supply = <&vreg_l15b_e0_1p8>;
        vdd3-supply = <&vreg_l7b_e0_2p79>;
        vdd3-supply = <&vreg_l7b_e0_2p79>;
 };
 
+&tlmm {
+       edp_bl_en: edp-bl-en-state {
+               pins = "gpio18";
+               function = "gpio";
+               drive-strength = <16>;
+               bias-disable;
+       };
+
+       edp_reg_en: edp-reg-en-state {
+               pins = "gpio70";
+               function = "gpio";
+               drive-strength = <16>;
+               bias-disable;
+       };
+};
+
 &usb_0 {
        dr_mode = "host";