Re: [PATCH v2 03/11] arm64: dts: rockchip: Fix USBDP ports for Indiedroid Nova
From: Chris Morgan
Date: Mon Nov 30 2026 - 09:24:09 EST
On Fri, Nov 27, 2026 at 11:51:40AM +0100, Sebastian Reichel wrote:
> Fix the USBDP PHY ports description for the Indiedroid Nova, so that it
> follows the documented ABI. The current binding confuses endpoints with
> ports and makes no sense at all.
>
> While at it drop the rockchip,dp-lane-mux property, which makes no sense
> for USB-C as the DP lanes are routed dynamically based on negotiation
> via the USB-PD protocol.
>
> Cc: stable@xxxxxxxxxxxxxxx
> Fixes: 7230cdc1fc3c ("arm64: dts: rockchip: Enable USB-C DP Alt for Indiedroid Nova")
> Signed-off-by: Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>
> ---
> .../boot/dts/rockchip/rk3588s-indiedroid-nova.dts | 31 +++++++++++++++-------
> 1 file changed, 21 insertions(+), 10 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-indiedroid-nova.dts b/arch/arm64/boot/dts/rockchip/rk3588s-indiedroid-nova.dts
> index c775f82c0624..59b95461df57 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3588s-indiedroid-nova.dts
> +++ b/arch/arm64/boot/dts/rockchip/rk3588s-indiedroid-nova.dts
> @@ -1059,31 +1059,42 @@ &usbdp_phy0 {
> mode-switch;
> sbu1-dc-gpios = <&gpio4 RK_PA0 GPIO_ACTIVE_HIGH>;
> sbu2-dc-gpios = <&gpio4 RK_PA1 GPIO_ACTIVE_HIGH>;
> - rockchip,dp-lane-mux = <2 3>;
> status = "okay";
>
> - port {
> + ports {
> #address-cells = <1>;
> #size-cells = <0>;
>
> - usbdp_phy0_ss_out: endpoint@0 {
> + port@0 {
> reg = <0>;
> - remote-endpoint = <&usbc0_ss>;
> +
> + usbdp_phy0_ss_out: endpoint {
> + remote-endpoint = <&usbc0_ss>;
> + };
> };
>
> - usbdp_phy0_ss_in: endpoint@1 {
> + port@1 {
> reg = <1>;
> - remote-endpoint = <&usb_host0_xhci_ss>;
> +
> + usbdp_phy0_ss_in: endpoint {
> + remote-endpoint = <&usb_host0_xhci_ss>;
> + };
> };
>
> - usbdp_phy0_dp_in: endpoint@2 {
> + port@2 {
> reg = <2>;
> - remote-endpoint = <&dp0_out_con>;
> +
> + usbdp_phy0_dp_in: endpoint {
> + remote-endpoint = <&dp0_out_con>;
> + };
> };
>
> - usbdp_phy0_dp_out: endpoint@3 {
> + port@3 {
> reg = <3>;
> - remote-endpoint = <&usbc0_sbu>;
> +
> + usbdp_phy0_dp_out: endpoint {
> + remote-endpoint = <&usbc0_sbu>;
> + };
> };
> };
> };
>
> --
> 2.53.0
>
Tested-by: Chris Morgan <macromorgan@xxxxxxxxxxx>