Re: [PATCH v2 2/2] arm64: dts: qcom: sc8280xp-microsoft-blackrock: Enable 4-lane DP altmode

From: Jérôme de Bretagne

Date: Tue Aug 25 2026 - 12:32:54 EST


Le mar. 25 août 2026 à 16:07, Jens Glathe via B4 Relay
<devnull+jens.glathe.oldschoolsolutions.biz@xxxxxxxxxx> a écrit :
>
> From: Jens Glathe <jens.glathe@xxxxxxxxxxxxxxxxxxxxxx>
>
> Allow up to 4 lanes for the DisplayPort links on the USB-C ports and
> the mini-DP connector. Add the standard link-frequencies and move
> data-lanes to the out endpoints where required by the current bindings.
>
> Also enable mode-switch on the QMP combo PHYs so that altmode events
> can reach them.
>
> Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
> Signed-off-by: Jens Glathe <jens.glathe@xxxxxxxxxxxxxxxxxxxxxx>
> ---
> arch/arm64/boot/dts/qcom/sc8280xp-microsoft-blackrock.dts | 13 +++++++++----
> arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 4 ++++
> 2 files changed, 13 insertions(+), 4 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-microsoft-blackrock.dts b/arch/arm64/boot/dts/qcom/sc8280xp-microsoft-blackrock.dts
> index ac22f44020a64..f5140d3985503 100644
> --- a/arch/arm64/boot/dts/qcom/sc8280xp-microsoft-blackrock.dts
> +++ b/arch/arm64/boot/dts/qcom/sc8280xp-microsoft-blackrock.dts
> @@ -563,7 +563,9 @@ &mdss0_dp0 {
> };
>
> &mdss0_dp0_out {
> - data-lanes = <0 1>;
> + data-lanes = <0 1 2 3>;
> +
> + link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
> remote-endpoint = <&usb_0_qmpphy_dp_in>;
> };
>
> @@ -572,19 +574,22 @@ &mdss0_dp1 {
> };
>
> &mdss0_dp1_out {
> - data-lanes = <0 1>;
> + data-lanes = <0 1 2 3>;
> + link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
> +
> remote-endpoint = <&usb_1_qmpphy_dp_in>;
> };
>
> &mdss0_dp2 {
> compatible = "qcom,sc8280xp-dp";
>
> - data-lanes = <0 1 2 3>;
> -
> status = "okay";
> };
>
> &mdss0_dp2_out {
> + data-lanes = <0 1 2 3>;
> + link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
> +
> remote-endpoint = <&dp1_connector_in>;
> };
>
> diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
> index baca36b151853..1c8836c1aae63 100644
> --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
> @@ -3692,6 +3692,8 @@ usb_0_qmpphy: phy@88eb000 {
> #clock-cells = <1>;
> #phy-cells = <1>;
>
> + mode-switch;
> +
> status = "disabled";
>
> ports {
> @@ -3807,6 +3809,8 @@ usb_1_qmpphy: phy@8903000 {
> #clock-cells = <1>;
> #phy-cells = <1>;
>
> + mode-switch;
> +

As you've moved this common definition to sc8280xp.dtsi, should you
also update the x13s and arcata devicetrees to remove the now
duplicated mode-switch for both usb_0_qmpphy and usb_1_qmpphy?

Thank you,
Jérôme

> status = "disabled";
>
> ports {
>
> --
> 2.53.0