[PATCH] arm64: dts: qcom: lemans-evk: Enable mdss1 display Port

Gopi Botlagunta posted 1 patch 1 month, 1 week ago
arch/arm64/boot/dts/qcom/lemans-evk-mezzanine.dtso | 73 ++++++++++++++++++++++
1 file changed, 73 insertions(+)
[PATCH] arm64: dts: qcom: lemans-evk: Enable mdss1 display Port
Posted by Gopi Botlagunta 1 month, 1 week ago
This change enables DP controllers, DPTX0 and DPTX1 alongside
their corresponding PHYs of mdss1 which corresponds to edp2
and edp3.

Signed-off-by: Gopi Botlagunta <venkata.botlagunta@oss.qualcomm.com>
---
 arch/arm64/boot/dts/qcom/lemans-evk-mezzanine.dtso | 73 ++++++++++++++++++++++
 1 file changed, 73 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/lemans-evk-mezzanine.dtso b/arch/arm64/boot/dts/qcom/lemans-evk-mezzanine.dtso
index 4fab96ba873c..52f890fa9ab3 100644
--- a/arch/arm64/boot/dts/qcom/lemans-evk-mezzanine.dtso
+++ b/arch/arm64/boot/dts/qcom/lemans-evk-mezzanine.dtso
@@ -11,6 +11,30 @@
 &{/} {
 	model = "Qualcomm Technologies, Inc. Lemans-evk Mezzanine";
 
+	dp2-connector {
+		compatible = "dp-connector";
+		label = "eDP2";
+		type = "full-size";
+
+		port {
+			dp2_connector_in: endpoint {
+				remote-endpoint = <&mdss1_dp0_out>;
+			};
+		};
+	};
+
+	dp3-connector {
+		compatible = "dp-connector";
+		label = "eDP3";
+		type = "full-size";
+
+		port {
+			dp3_connector_in: endpoint {
+				remote-endpoint = <&mdss1_dp1_out>;
+			};
+		};
+	};
+
 	vreg_0p9: regulator-vreg-0p9 {
 		compatible = "regulator-fixed";
 		regulator-name = "VREG_0P9";
@@ -179,6 +203,43 @@ mac_addr1: mac-addr@0 {
 	};
 };
 
+
+&mdss1 {
+	status = "okay";
+};
+
+&mdss1_dp0 {
+	pinctrl-0 = <&dp2_hot_plug_det>;
+	pinctrl-names = "default";
+	status = "okay";
+};
+
+&mdss1_dp1 {
+	pinctrl-0 = <&dp3_hot_plug_det>;
+	pinctrl-names = "default";
+	status = "okay";
+};
+
+&mdss1_dp0_out {
+	data-lanes = <0 1 2 3>;
+	link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
+	remote-endpoint = <&dp2_connector_in>;
+};
+
+&mdss1_dp1_out {
+	data-lanes = <0 1 2 3>;
+	link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
+	remote-endpoint = <&dp3_connector_in>;
+};
+
+&mdss1_dp0_phy {
+	status = "okay";
+};
+
+&mdss1_dp1_phy {
+	status = "okay";
+};
+
 &pcie0 {
 	iommu-map = <0x0 &pcie_smmu 0x0 0x1>,
 		    <0x100 &pcie_smmu 0x1 0x1>,
@@ -273,6 +334,18 @@ &serdes1 {
 };
 
 &tlmm {
+	dp2_hot_plug_det: dp2-hot-plug-det-state {
+		pins = "gpio104";
+		function = "edp2_hot";
+		bias-disable;
+	};
+
+	dp3_hot_plug_det: dp3-hot-plug-det-state {
+		pins = "gpio103";
+		function = "edp3_hot";
+		bias-disable;
+	};
+
 	ethernet1_default: ethernet1-default-state {
 		ethernet1-mdc-pins {
 			pins = "gpio20";

---
base-commit: 1a0829927afbfe654c632eb2e779fa32df825b06
change-id: 20260219-enable-edp2-3-lemans-evk-mezzanine-1bef9932ee6d
prerequisite-message-id: 20260203193848.123307-2-umang.chheda@oss.qualcomm.com
prerequisite-patch-id: baf07fce333b86c35c3d4cefbba5800a519952a3
prerequisite-message-id: 20260217071420.2240380-1-mkuntuma@qti.qualcomm.com
prerequisite-patch-id: 74a76fd6a1129cdbbd32d91d2a119d693dba78a7
prerequisite-patch-id: f4a858f7e707c8e330daf2ea1f4da58b4da00f05

Best regards,
-- 
Gopi Botlagunta <venkata.botlagunta@oss.qualcomm.com>
Re: [PATCH] arm64: dts: qcom: lemans-evk: Enable mdss1 display Port
Posted by Krzysztof Kozlowski 1 month, 1 week ago
On 19/02/2026 14:36, Gopi Botlagunta wrote:
> This change enables DP controllers, DPTX0 and DPTX1 alongside


Please do not use "This commit/patch/change", but imperative mood. See
longer explanation here:
https://elixir.bootlin.com/linux/v6.16/source/Documentation/process/submitting-patches.rst#L94

> 
> ---
> base-commit: 1a0829927afbfe654c632eb2e779fa32df825b06
> change-id: 20260219-enable-edp2-3-lemans-evk-mezzanine-1bef9932ee6d
> prerequisite-message-id: 20260203193848.123307-2-umang.chheda@oss.qualcomm.com
> prerequisite-patch-id: baf07fce333b86c35c3d4cefbba5800a519952a3
> prerequisite-message-id: 20260217071420.2240380-1-mkuntuma@qti.qualcomm.com
> prerequisite-patch-id: 74a76fd6a1129cdbbd32d91d2a119d693dba78a7
> prerequisite-patch-id: f4a858f7e707c8e330daf2ea1f4da58b4da00f05
>

Why do you have so many dependencies? Why isn't this merged there?

Was this patch tested (see internal testing guideline) prior to posting?

Best regards,
Krzysztof
Re: [PATCH] arm64: dts: qcom: lemans-evk: Enable mdss1 display Port
Posted by Gopi Botlagunta 1 week ago
On Thu, Feb 19, 2026 at 03:24:24PM +0100, Krzysztof Kozlowski wrote:
> On 19/02/2026 14:36, Gopi Botlagunta wrote:
> > This change enables DP controllers, DPTX0 and DPTX1 alongside
> 
> 
> Please do not use "This commit/patch/change", but imperative mood. See
> longer explanation here:
> https://elixir.bootlin.com/linux/v6.16/source/Documentation/process/submitting-patches.rst#L94
>

I’ll update the commit text in the next revision.

> > 
> > ---
> > base-commit: 1a0829927afbfe654c632eb2e779fa32df825b06
> > change-id: 20260219-enable-edp2-3-lemans-evk-mezzanine-1bef9932ee6d
> > prerequisite-message-id: 20260203193848.123307-2-umang.chheda@oss.qualcomm.com
> > prerequisite-patch-id: baf07fce333b86c35c3d4cefbba5800a519952a3
> > prerequisite-message-id: 20260217071420.2240380-1-mkuntuma@qti.qualcomm.com
> > prerequisite-patch-id: 74a76fd6a1129cdbbd32d91d2a119d693dba78a7
> > prerequisite-patch-id: f4a858f7e707c8e330daf2ea1f4da58b4da00f05
> >
> 
> Why do you have so many dependencies? Why isn't this merged there?
>

The following changes will be included in the next revision of the
dependent patch series: https://lore.kernel.org/all/20260226111322.250176-1-quic_mkuntuma@quicinc.com/

> Was this patch tested (see internal testing guideline) prior to posting?
>

yes, changes were tested together with the dependent patches before posting

> Best regards,
> Krzysztof
Re: [PATCH] arm64: dts: qcom: lemans-evk: Enable mdss1 display Port
Posted by Konrad Dybcio 1 month, 1 week ago
On 2/19/26 2:36 PM, Gopi Botlagunta wrote:
> This change enables DP controllers, DPTX0 and DPTX1 alongside
> their corresponding PHYs of mdss1 which corresponds to edp2
> and edp3.
> 
> Signed-off-by: Gopi Botlagunta <venkata.botlagunta@oss.qualcomm.com>
> ---

[...]

> +&mdss1_dp0 {
> +	pinctrl-0 = <&dp2_hot_plug_det>;
> +	pinctrl-names = "default";
> +	status = "okay";
> +};
> +
> +&mdss1_dp1 {
> +	pinctrl-0 = <&dp3_hot_plug_det>;
> +	pinctrl-names = "default";
> +	status = "okay";

Nit: a \n before 'status' is customary and it's present in all other
nodes in this file

[...]

> ---
> base-commit: 1a0829927afbfe654c632eb2e779fa32df825b06
> change-id: 20260219-enable-edp2-3-lemans-evk-mezzanine-1bef9932ee6d
> prerequisite-message-id: 20260203193848.123307-2-umang.chheda@oss.qualcomm.com
> prerequisite-patch-id: baf07fce333b86c35c3d4cefbba5800a519952a3
> prerequisite-message-id: 20260217071420.2240380-1-mkuntuma@qti.qualcomm.com
> prerequisite-patch-id: 74a76fd6a1129cdbbd32d91d2a119d693dba78a7
> prerequisite-patch-id: f4a858f7e707c8e330daf2ea1f4da58b4da00f05

This is really long and scattered across multiple people, effectively
making it a chaos for tracking. Could you please coordinate with Mani
who submitted the changes for the SoC as well as the ride board to
send these patches together?

Konrad
Re: [PATCH] arm64: dts: qcom: lemans-evk: Enable mdss1 display Port
Posted by Gopi Botlagunta 1 week ago
On Thu, Feb 19, 2026 at 02:41:27PM +0100, Konrad Dybcio wrote:
> On 2/19/26 2:36 PM, Gopi Botlagunta wrote:
> > This change enables DP controllers, DPTX0 and DPTX1 alongside
> > their corresponding PHYs of mdss1 which corresponds to edp2
> > and edp3.
> > 
> > Signed-off-by: Gopi Botlagunta <venkata.botlagunta@oss.qualcomm.com>
> > ---
> 
> [...]
> 
> > +&mdss1_dp0 {
> > +	pinctrl-0 = <&dp2_hot_plug_det>;
> > +	pinctrl-names = "default";
> > +	status = "okay";
> > +};
> > +
> > +&mdss1_dp1 {
> > +	pinctrl-0 = <&dp3_hot_plug_det>;
> > +	pinctrl-names = "default";
> > +	status = "okay";
> 
> Nit: a \n before 'status' is customary and it's present in all other
> nodes in this file
> 
> [...]
>

I’ll fix the formatting in the next revision.

> > ---
> > base-commit: 1a0829927afbfe654c632eb2e779fa32df825b06
> > change-id: 20260219-enable-edp2-3-lemans-evk-mezzanine-1bef9932ee6d
> > prerequisite-message-id: 20260203193848.123307-2-umang.chheda@oss.qualcomm.com
> > prerequisite-patch-id: baf07fce333b86c35c3d4cefbba5800a519952a3
> > prerequisite-message-id: 20260217071420.2240380-1-mkuntuma@qti.qualcomm.com
> > prerequisite-patch-id: 74a76fd6a1129cdbbd32d91d2a119d693dba78a7
> > prerequisite-patch-id: f4a858f7e707c8e330daf2ea1f4da58b4da00f05
> 
> This is really long and scattered across multiple people, effectively
> making it a chaos for tracking. Could you please coordinate with Mani
> who submitted the changes for the SoC as well as the ride board to
> send these patches together?
> 
> Konrad

Sure, I’ve coordinated with Mani. This will be addressed in the next
revision of the dependent patch series: https://lore.kernel.org/all/20260226111322.250176-1-quic_mkuntuma@quicinc.com/