All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] arm64: dts: qcom: eliza-mtp: Add WCD9390 USB-SS mux for DP alt mode
@ 2026-11-12 10:18 Balaji Kalkonda
  2026-11-27 12:23 ` Konrad Dybcio
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Balaji Kalkonda @ 2026-11-12 10:18 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Mahadevan P
  Cc: linux-arm-msm, devicetree, linux-kernel, Abel Vesa,
	Balaji Kalkonda

The WCD9390 USB-SS mux routes the AUX/SBU lines between the USB-C
connector and the DP PHY, but eliza-mtp lacks the devicetree node for
it. Without a physical path for AUX, every DPCD probe times out and
the display never comes up:

  msm_dpu ae01000.display-controller: [drm:drm_dp_dpcd_probe [drm_display_helper]] dpu_dp_aux: 0x00102 AUX -> (ret=-110)
  msm_dpu ae01000.display-controller: [drm:msm_dp_bridge_hpd_notify [msm]] type=10 link hpd_link_status=0x0, status=2
  [drm:msm_dp_bridge_detect [msm]] failed to read caps
  [drm:msm_dp_bridge_detect [msm]] aux not connected

Add the wcd_usbss typec-mux node on i2c3, along with its supply and
reset line, and wire its SBU endpoint to a new port on the pmic-glink
connector. This gives the AUX/SBU signals a physical path from the
USB-C connector through the mux to the DP PHY.

Fixes: 193fd5f1aadf ("arm64: dts: qcom: eliza-mtp: Enable DisplayPort on USB")
Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
Signed-off-by: Balaji Kalkonda <balaji.kalkonda@oss.qualcomm.com>
---
Changes in v2:
- Add Fixes: tag referencing the commit that enabled DisplayPort
  without wiring up the AUX/SBU mux.
- Move the &i2c3 node to keep phandle-referenced nodes alphabetically
  sorted (Abel, Sashiko bot).
- Link to v1: https://patch.msgid.link/20261112-eliza-wcd-mux-fix-v1-1-70c521781ac1@oss.qualcomm.com
---
 arch/arm64/boot/dts/qcom/eliza-mtp.dts | 36 ++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/eliza-mtp.dts b/arch/arm64/boot/dts/qcom/eliza-mtp.dts
index ee05192adcfb..f5980516eae1 100644
--- a/arch/arm64/boot/dts/qcom/eliza-mtp.dts
+++ b/arch/arm64/boot/dts/qcom/eliza-mtp.dts
@@ -96,6 +96,14 @@ pmic_glink_ss_in: endpoint {
 						remote-endpoint = <&usb_dp_qmpphy_out>;
 					};
 				};
+
+				port@2 {
+					reg = <2>;
+
+					pmic_glink_sbu: endpoint {
+						remote-endpoint = <&wcd_usbss_sbu_mux>;
+					};
+				};
 			};
 		};
 	};
@@ -430,6 +438,34 @@ &gpu_zap_shader {
 	firmware-name = "qcom/eliza/gen71700_zap.mbn";
 };
 
+&i2c3 {
+	status = "okay";
+
+	wcd_usbss: typec-mux@e {
+		compatible = "qcom,wcd9390-usbss";
+		reg = <0xe>;
+
+		vdd-supply = <&vreg_l7b>;
+		reset-gpios = <&tlmm 152 GPIO_ACTIVE_HIGH>;
+
+		mode-switch;
+		orientation-switch;
+
+		ports {
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			port@0 {
+				reg = <0>;
+
+				wcd_usbss_sbu_mux: endpoint {
+					remote-endpoint = <&pmic_glink_sbu>;
+				};
+			};
+		};
+	};
+};
+
 &mdss {
 	status = "okay";
 };

---
base-commit: 793807ca13bf3072fc6d16ce6d90e9ab9beff2a5
change-id: 20261111-eliza-wcd-mux-fix-453716a9c1a9

Best regards,
--  
Balaji Kalkonda <balaji.kalkonda@oss.qualcomm.com>


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH v2] arm64: dts: qcom: eliza-mtp: Add WCD9390 USB-SS mux for DP alt mode
  2026-11-12 10:18 [PATCH v2] arm64: dts: qcom: eliza-mtp: Add WCD9390 USB-SS mux for DP alt mode Balaji Kalkonda
@ 2026-11-27 12:23 ` Konrad Dybcio
  2026-12-04 21:39 ` Bjorn Andersson
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Konrad Dybcio @ 2026-11-27 12:23 UTC (permalink / raw)
  To: Balaji Kalkonda, Bjorn Andersson, Konrad Dybcio, Abel Vesa,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, Mahadevan P
  Cc: linux-arm-msm, devicetree, linux-kernel, Abel Vesa

On 11/12/26 11:18 AM, Balaji Kalkonda wrote:
> The WCD9390 USB-SS mux routes the AUX/SBU lines between the USB-C
> connector and the DP PHY, but eliza-mtp lacks the devicetree node for
> it. Without a physical path for AUX, every DPCD probe times out and
> the display never comes up:
> 
>   msm_dpu ae01000.display-controller: [drm:drm_dp_dpcd_probe [drm_display_helper]] dpu_dp_aux: 0x00102 AUX -> (ret=-110)
>   msm_dpu ae01000.display-controller: [drm:msm_dp_bridge_hpd_notify [msm]] type=10 link hpd_link_status=0x0, status=2
>   [drm:msm_dp_bridge_detect [msm]] failed to read caps
>   [drm:msm_dp_bridge_detect [msm]] aux not connected
> 
> Add the wcd_usbss typec-mux node on i2c3, along with its supply and
> reset line, and wire its SBU endpoint to a new port on the pmic-glink
> connector. This gives the AUX/SBU signals a physical path from the
> USB-C connector through the mux to the DP PHY.
> 
> Fixes: 193fd5f1aadf ("arm64: dts: qcom: eliza-mtp: Enable DisplayPort on USB")
> Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
> Signed-off-by: Balaji Kalkonda <balaji.kalkonda@oss.qualcomm.com>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>

Konrad

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2] arm64: dts: qcom: eliza-mtp: Add WCD9390 USB-SS mux for DP alt mode
  2026-11-12 10:18 [PATCH v2] arm64: dts: qcom: eliza-mtp: Add WCD9390 USB-SS mux for DP alt mode Balaji Kalkonda
  2026-11-27 12:23 ` Konrad Dybcio
@ 2026-12-04 21:39 ` Bjorn Andersson
  2026-12-05 15:05   ` Krzysztof Kozlowski
  2026-12-05 15:00 ` Krzysztof Kozlowski
  2026-12-05 15:06 ` Krzysztof Kozlowski
  3 siblings, 1 reply; 6+ messages in thread
From: Bjorn Andersson @ 2026-12-04 21:39 UTC (permalink / raw)
  To: Konrad Dybcio, Abel Vesa, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Mahadevan P, Balaji Kalkonda
  Cc: linux-arm-msm, devicetree, linux-kernel, Abel Vesa


On Thu, 12 Nov 2026 15:48:21 +0530, Balaji Kalkonda wrote:
> The WCD9390 USB-SS mux routes the AUX/SBU lines between the USB-C
> connector and the DP PHY, but eliza-mtp lacks the devicetree node for
> it. Without a physical path for AUX, every DPCD probe times out and
> the display never comes up:
> 
>   msm_dpu ae01000.display-controller: [drm:drm_dp_dpcd_probe [drm_display_helper]] dpu_dp_aux: 0x00102 AUX -> (ret=-110)
>   msm_dpu ae01000.display-controller: [drm:msm_dp_bridge_hpd_notify [msm]] type=10 link hpd_link_status=0x0, status=2
>   [drm:msm_dp_bridge_detect [msm]] failed to read caps
>   [drm:msm_dp_bridge_detect [msm]] aux not connected
> 
> [...]

Applied, thanks!

[1/1] arm64: dts: qcom: eliza-mtp: Add WCD9390 USB-SS mux for DP alt mode
      commit: a9e0b6d124247f3096696d79ecd3a4ed09c39068

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2] arm64: dts: qcom: eliza-mtp: Add WCD9390 USB-SS mux for DP alt mode
  2026-11-12 10:18 [PATCH v2] arm64: dts: qcom: eliza-mtp: Add WCD9390 USB-SS mux for DP alt mode Balaji Kalkonda
  2026-11-27 12:23 ` Konrad Dybcio
  2026-12-04 21:39 ` Bjorn Andersson
@ 2026-12-05 15:00 ` Krzysztof Kozlowski
  2026-12-05 15:06 ` Krzysztof Kozlowski
  3 siblings, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2026-12-05 15:00 UTC (permalink / raw)
  To: Balaji Kalkonda, Bjorn Andersson, Konrad Dybcio, Abel Vesa,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, Mahadevan P
  Cc: linux-arm-msm, devicetree, linux-kernel, Abel Vesa

On 12/11/2026 11:18, Balaji Kalkonda wrote:
> The WCD9390 USB-SS mux routes the AUX/SBU lines between the USB-C
> connector and the DP PHY, but eliza-mtp lacks the devicetree node for
> it. Without a physical path for AUX, every DPCD probe times out and
> the display never comes up:
> 
>   msm_dpu ae01000.display-controller: [drm:drm_dp_dpcd_probe [drm_display_helper]] dpu_dp_aux: 0x00102 AUX -> (ret=-110)
>   msm_dpu ae01000.display-controller: [drm:msm_dp_bridge_hpd_notify [msm]] type=10 link hpd_link_status=0x0, status=2
>   [drm:msm_dp_bridge_detect [msm]] failed to read caps
>   [drm:msm_dp_bridge_detect [msm]] aux not connected
> 
> Add the wcd_usbss typec-mux node on i2c3, along with its supply and
> reset line, and wire its SBU endpoint to a new port on the pmic-glink
> connector. This gives the AUX/SBU signals a physical path from the
> USB-C connector through the mux to the DP PHY.
> 
> Fixes: 193fd5f1aadf ("arm64: dts: qcom: eliza-mtp: Enable DisplayPort on USB")

No, nothing to be fixed here! Stop inventing bugfixes just to squeeze
features to LTS!

NAK

> Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
> Signed-off-by: Balaji Kalkonda <balaji.kalkonda@oss.qualcomm.com>
> ---
> Changes in v2:
> - Add Fixes: tag referencing the commit that enabled DisplayPort
>   without wiring up the AUX/SBU mux.
> - Move the &i2c3 node to keep phandle-referenced nodes alphabetically
>   sorted (Abel, Sashiko bot).
> - Link to v1: https://patch.msgid.link/20261112-eliza-wcd-mux-fix-v1-1-70c521781ac1@oss.qualcomm.com
> ---
>  arch/arm64/boot/dts/qcom/eliza-mtp.dts | 36 ++++++++++++++++++++++++++++++++++
>  1 file changed, 36 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/eliza-mtp.dts b/arch/arm64/boot/dts/qcom/eliza-mtp.dts
> index ee05192adcfb..f5980516eae1 100644
> --- a/arch/arm64/boot/dts/qcom/eliza-mtp.dts
> +++ b/arch/arm64/boot/dts/qcom/eliza-mtp.dts
> @@ -96,6 +96,14 @@ pmic_glink_ss_in: endpoint {
>  						remote-endpoint = <&usb_dp_qmpphy_out>;
>  					};
>  				};
> +
> +				port@2 {
> +					reg = <2>;
> +
> +					pmic_glink_sbu: endpoint {
> +						remote-endpoint = <&wcd_usbss_sbu_mux>;
> +					};
> +				};
>  			};
>  		};
>  	};
> @@ -430,6 +438,34 @@ &gpu_zap_shader {
>  	firmware-name = "qcom/eliza/gen71700_zap.mbn";
>  };
>  
> +&i2c3 {
> +	status = "okay";
> +
> +	wcd_usbss: typec-mux@e {
> +		compatible = "qcom,wcd9390-usbss";
> +		reg = <0xe>;

So you just duplicate work which was already done and was waiting on
dependencies:
https://github.com/qualcomm-linux/kernel-topics/

and did it even wrong :/ . Really...

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2] arm64: dts: qcom: eliza-mtp: Add WCD9390 USB-SS mux for DP alt mode
  2026-12-04 21:39 ` Bjorn Andersson
@ 2026-12-05 15:05   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2026-12-05 15:05 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Mahadevan P, Balaji Kalkonda
  Cc: linux-arm-msm, devicetree, linux-kernel, Abel Vesa

On 04/12/2026 22:39, Bjorn Andersson wrote:
> 
> On Thu, 12 Nov 2026 15:48:21 +0530, Balaji Kalkonda wrote:
>> The WCD9390 USB-SS mux routes the AUX/SBU lines between the USB-C
>> connector and the DP PHY, but eliza-mtp lacks the devicetree node for
>> it. Without a physical path for AUX, every DPCD probe times out and
>> the display never comes up:
>>
>>   msm_dpu ae01000.display-controller: [drm:drm_dp_dpcd_probe [drm_display_helper]] dpu_dp_aux: 0x00102 AUX -> (ret=-110)
>>   msm_dpu ae01000.display-controller: [drm:msm_dp_bridge_hpd_notify [msm]] type=10 link hpd_link_status=0x0, status=2
>>   [drm:msm_dp_bridge_detect [msm]] failed to read caps
>>   [drm:msm_dp_bridge_detect [msm]] aux not connected
>>
>> [...]
> 
> Applied, thanks!
> 
> [1/1] arm64: dts: qcom: eliza-mtp: Add WCD9390 USB-SS mux for DP alt mode
>       commit: a9e0b6d124247f3096696d79ecd3a4ed09c39068
> 

Not a fix. It was a missing feature waiting for other dependencies. Well
known and published in Qualcomm HWE branch already, which author
completely ignored.

Getting patches merged to qcom-soc takes time, so several are waiting to
be respun or just sent. This was ready 3 months ago and author just
ignored it.
https://github.com/qualcomm-linux/kernel-topics/commit/a3f7a3e4550ef4ba6205ba943627ef57eedfe956

Something which waits for dependencies for 3 months is not a fix.

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2] arm64: dts: qcom: eliza-mtp: Add WCD9390 USB-SS mux for DP alt mode
  2026-11-12 10:18 [PATCH v2] arm64: dts: qcom: eliza-mtp: Add WCD9390 USB-SS mux for DP alt mode Balaji Kalkonda
                   ` (2 preceding siblings ...)
  2026-12-05 15:00 ` Krzysztof Kozlowski
@ 2026-12-05 15:06 ` Krzysztof Kozlowski
  3 siblings, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2026-12-05 15:06 UTC (permalink / raw)
  To: Balaji Kalkonda, Bjorn Andersson, Konrad Dybcio, Abel Vesa,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, Mahadevan P
  Cc: linux-arm-msm, devicetree, linux-kernel, Abel Vesa

On 12/11/2026 11:18, Balaji Kalkonda wrote:
> The WCD9390 USB-SS mux routes the AUX/SBU lines between the USB-C
> connector and the DP PHY, but eliza-mtp lacks the devicetree node for
> it. Without a physical path for AUX, every DPCD probe times out and
> the display never comes up:
> 
>   msm_dpu ae01000.display-controller: [drm:drm_dp_dpcd_probe [drm_display_helper]] dpu_dp_aux: 0x00102 AUX -> (ret=-110)
>   msm_dpu ae01000.display-controller: [drm:msm_dp_bridge_hpd_notify [msm]] type=10 link hpd_link_status=0x0, status=2
>   [drm:msm_dp_bridge_detect [msm]] failed to read caps
>   [drm:msm_dp_bridge_detect [msm]] aux not connected
> 
> Add the wcd_usbss typec-mux node on i2c3, along with its supply and
> reset line, and wire its SBU endpoint to a new port on the pmic-glink
> connector. This gives the AUX/SBU signals a physical path from the
> USB-C connector through the mux to the DP PHY.
> 
> Fixes: 193fd5f1aadf ("arm64: dts: qcom: eliza-mtp: Enable DisplayPort on USB")
> Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com>

v1 which was reviewed DID NOT have a Fixes tag. Why did you add it after
review?

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-12-05 15:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-12 10:18 [PATCH v2] arm64: dts: qcom: eliza-mtp: Add WCD9390 USB-SS mux for DP alt mode Balaji Kalkonda
2026-11-27 12:23 ` Konrad Dybcio
2026-12-04 21:39 ` Bjorn Andersson
2026-12-05 15:05   ` Krzysztof Kozlowski
2026-12-05 15:00 ` Krzysztof Kozlowski
2026-12-05 15:06 ` Krzysztof Kozlowski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.