[PATCH] arm64: dts: qcom: glymur: Configure DP endpoints for 2-lane operation

Saurabh Anand posted 1 patch 3 days, 7 hours ago
arch/arm64/boot/dts/qcom/glymur.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] arm64: dts: qcom: glymur: Configure DP endpoints for 2-lane operation
Posted by Saurabh Anand 3 days, 7 hours ago
Add explicit data-lanes to the MDSS DP output endpoints to enable
display port in 2 lanes configuration and disable the mode-switch
property from the USB QMP PHY node.

Signed-off-by: Saurabh Anand <saurabh.anand@oss.qualcomm.com>
---
 arch/arm64/boot/dts/qcom/glymur.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/glymur.dtsi b/arch/arm64/boot/dts/qcom/glymur.dtsi
index 72c7dc6e4f09..d6b3c5bfebd5 100644
--- a/arch/arm64/boot/dts/qcom/glymur.dtsi
+++ b/arch/arm64/boot/dts/qcom/glymur.dtsi
@@ -2445,7 +2445,6 @@ usb_0_qmpphy: phy@fd5000 {
 			#clock-cells = <1>;
 			#phy-cells = <1>;
 
-			mode-switch;
 			orientation-switch;
 
 			status = "disabled";
@@ -2517,7 +2516,6 @@ usb_1_qmpphy: phy@fde000 {
 			#clock-cells = <1>;
 			#phy-cells = <1>;
 
-			mode-switch;
 			orientation-switch;
 
 			status = "disabled";
@@ -4550,6 +4548,7 @@ port@1 {
 						reg = <1>;
 
 						mdss_dp0_out: endpoint {
+							data-lanes = <0 1>;
 							remote-endpoint = <&usb_dp_qmpphy_dp_in>;
 						};
 					};
@@ -4641,6 +4640,7 @@ port@1 {
 						reg = <1>;
 
 						mdss_dp1_out: endpoint {
+							data-lanes = <0 1>;
 							remote-endpoint = <&usb_1_qmpphy_dp_in>;
 						};
 					};
-- 
2.34.1
Re: [PATCH] arm64: dts: qcom: glymur: Configure DP endpoints for 2-lane operation
Posted by Bjorn Andersson 2 days, 21 hours ago
On Thu, May 21, 2026 at 05:30:58PM +0530, Saurabh Anand wrote:
> Add explicit data-lanes to the MDSS DP output endpoints to enable

As described in
https://docs.kernel.org/process/submitting-patches.html#describe-your-changes
this is where you describe the problem that you're solving.

If you had done that, we wouldn't need to guess what you're up to.

Thanks,
Bjorn

> display port in 2 lanes configuration and disable the mode-switch
> property from the USB QMP PHY node.
> 
> Signed-off-by: Saurabh Anand <saurabh.anand@oss.qualcomm.com>
> ---
>  arch/arm64/boot/dts/qcom/glymur.dtsi | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/qcom/glymur.dtsi b/arch/arm64/boot/dts/qcom/glymur.dtsi
> index 72c7dc6e4f09..d6b3c5bfebd5 100644
> --- a/arch/arm64/boot/dts/qcom/glymur.dtsi
> +++ b/arch/arm64/boot/dts/qcom/glymur.dtsi
> @@ -2445,7 +2445,6 @@ usb_0_qmpphy: phy@fd5000 {
>  			#clock-cells = <1>;
>  			#phy-cells = <1>;
>  
> -			mode-switch;
>  			orientation-switch;
>  
>  			status = "disabled";
> @@ -2517,7 +2516,6 @@ usb_1_qmpphy: phy@fde000 {
>  			#clock-cells = <1>;
>  			#phy-cells = <1>;
>  
> -			mode-switch;
>  			orientation-switch;
>  
>  			status = "disabled";
> @@ -4550,6 +4548,7 @@ port@1 {
>  						reg = <1>;
>  
>  						mdss_dp0_out: endpoint {
> +							data-lanes = <0 1>;
>  							remote-endpoint = <&usb_dp_qmpphy_dp_in>;
>  						};
>  					};
> @@ -4641,6 +4640,7 @@ port@1 {
>  						reg = <1>;
>  
>  						mdss_dp1_out: endpoint {
> +							data-lanes = <0 1>;
>  							remote-endpoint = <&usb_1_qmpphy_dp_in>;
>  						};
>  					};
> -- 
> 2.34.1
>
Re: [PATCH] arm64: dts: qcom: glymur: Configure DP endpoints for 2-lane operation
Posted by Val Packett 3 days ago
On 5/21/26 9:00 AM, Saurabh Anand wrote:

> Add explicit data-lanes to the MDSS DP output endpoints to enable
> display port in 2 lanes configuration and disable the mode-switch
> property from the USB QMP PHY node.

Why?

4 lane DP has been working great on hamoa and makena for quite a while now..

If there's something missing for now specifically on glymur, please add 
an explanation.


~val