From: sashiko-bot@kernel.org
To: "Sebastian Reichel" <sebastian.reichel@collabora.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH 11/11] arm64: dts: rockchip: Add USB-C DP AltMode for RK3588 Jaguar
Date: Thu, 26 Nov 2026 01:38:15 +0000 [thread overview]
Message-ID: <sashiko-outbox-234571@kernel.org> (raw)
In-Reply-To: <20261126-rockchip-usb-c-dp-altmode-v1-11-7991eb5bb426@collabora.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [High] arm64: dts: rockchip: missing altmodes node in rk3588-jaguar
usb-c connectors
--
commit 6630f46c0f1c921c9b89f36aebb088fca287fca2
Author: Sebastian Reichel <sebastian.reichel@collabora.com>
arm64: dts: rockchip: Add USB-C DP AltMode for RK3588 Jaguar
This commit enables the DisplayPort controllers and updates the USB-C
connector, USBDP PHY, and USB host controller port graphs to support
DisplayPort AltMode on the RK3588 Jaguar board.
> diff --git a/arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts b/arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts
> index 0446834e84d5d..fcc4a043b2990 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts
> +++ b/arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts
[ ... ]
> @@ -375,7 +407,7 @@ port@0 {
> reg = <0>;
>
> usbc0_hs: endpoint {
> - remote-endpoint = <&usb_host0_xhci_drd_sw>;
> + remote-endpoint = <&usb_host0_xhci_hs>;
> };
> };
>
> @@ -383,7 +415,7 @@ port@1 {
> reg = <1>;
>
> usbc0_ss: endpoint {
> - remote-endpoint = <&usbdp_phy0_typec_ss>;
> + remote-endpoint = <&usbdp_phy0_ss_out>;
> };
> };
>
> @@ -391,7 +423,7 @@ port@2 {
> reg = <2>;
>
> usbc0_sbu: endpoint {
> - remote-endpoint = <&usbdp_phy0_typec_sbu>;
> + remote-endpoint = <&usbdp_phy0_dp_out>;
> };
> };
> };
> @@ -488,7 +520,7 @@ port@0 {
> reg = <0>;
>
> usbc1_hs: endpoint {
> - remote-endpoint = <&usb_host1_xhci_drd_sw>;
> + remote-endpoint = <&usb_host1_xhci_hs>;
> };
> };
>
> @@ -496,7 +528,7 @@ port@1 {
> reg = <1>;
>
> usbc1_ss: endpoint {
> - remote-endpoint = <&usbdp_phy1_typec_ss>;
> + remote-endpoint = <&usbdp_phy1_ss_out>;
> };
> };
>
> @@ -504,7 +536,7 @@ port@2 {
> reg = <2>;
>
> usbc1_sbu: endpoint {
> - remote-endpoint = <&usbdp_phy1_typec_sbu>;
> + remote-endpoint = <&usbdp_phy1_dp_out>;
> };
> };
> };
[Severity: High]
Are both usb-c-connector nodes missing an altmodes child node with a
displayport subnode (svid 0xff01)?
During port registration, tcpm_register_port() ->
typec_port_register_altmodes() looks up the "altmodes" child node on the
connector fwnode and registers no port alternate modes when it is absent.
When a DisplayPort AltMode partner is attached, typec_altmode_set_partner()
finds no matching port altmode and leaves altmode->partner NULL, causing
typec_probe() to fail with -ENODEV before dp_altmode_probe() can bind and
switch the USBDP PHY mux.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261126-rockchip-usb-c-dp-altmode-v1-0-7991eb5bb426@collabora.com?part=11
prev parent reply other threads:[~2026-11-26 1:38 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 1:14 [PATCH 00/11] arm64: dts: rockchip: USB-C DP AltMode support Sebastian Reichel
2026-11-26 1:14 ` Sebastian Reichel
2026-11-26 1:14 ` [PATCH 01/11] arm64: dts: rockchip: Fix USB-C DP AltMode vdo Sebastian Reichel
2026-11-26 1:14 ` Sebastian Reichel
2026-11-26 1:14 ` [PATCH 02/11] arm64: dts: rockchip: Fix USBDP ports for LubanCat 5IO board Sebastian Reichel
2026-11-26 1:14 ` Sebastian Reichel
2026-11-27 2:32 ` Cunhao Lu
2026-11-27 2:32 ` Cunhao Lu
2026-11-26 1:14 ` [PATCH 03/11] arm64: dts: rockchip: Fix USBDP ports for Indiedroid Nova Sebastian Reichel
2026-11-26 1:14 ` Sebastian Reichel
2026-11-26 1:14 ` [PATCH 04/11] arm64: dts: rockchip: Add USB-C DP AltMode for RK3588 EVB1 Sebastian Reichel
2026-11-26 1:14 ` Sebastian Reichel
2026-11-26 1:14 ` [PATCH 05/11] arm64: dts: rockchip: Add USB-C DP AltMode for ROCK 5B family Sebastian Reichel
2026-11-26 1:14 ` Sebastian Reichel
2026-11-26 1:14 ` [PATCH 06/11] arm64: dts: rockchip: Add USB-C DP AltMode for ArmSom Sige5 Sebastian Reichel
2026-11-26 1:14 ` Sebastian Reichel
2026-11-26 1:14 ` [PATCH 07/11] arm64: dts: rockchip: Add USB-C DP AltMode for Gameforce Ace Sebastian Reichel
2026-11-26 1:14 ` Sebastian Reichel
2026-11-26 1:32 ` sashiko-bot
2026-11-26 1:14 ` [PATCH 08/11] arm64: dts: rockchip: Add USB-C DP AltMode for RG-Vita-Pro Sebastian Reichel
2026-11-26 1:14 ` Sebastian Reichel
2026-11-26 1:14 ` [PATCH 09/11] arm64: dts: rockchip: Add USB-C DP AltMode for CM5-IO Sebastian Reichel
2026-11-26 1:14 ` Sebastian Reichel
2026-11-26 1:14 ` [PATCH 10/11] arm64: dts: rockchip: Add USB-C DP AltMode for Firefly ITX 3588J Sebastian Reichel
2026-11-26 1:14 ` Sebastian Reichel
2026-11-26 1:14 ` [PATCH 11/11] arm64: dts: rockchip: Add USB-C DP AltMode for RK3588 Jaguar Sebastian Reichel
2026-11-26 1:14 ` Sebastian Reichel
2026-11-26 1:38 ` sashiko-bot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sashiko-outbox-234571@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=sebastian.reichel@collabora.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.