[PATCH v2 03/11] arm64: dts: rockchip: Fix USBDP ports for Indiedroid Nova
Chris Morgan
macromorgan at hotmail.com
Mon Nov 30 06:23:47 PST 2026
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 at vger.kernel.org
> Fixes: 7230cdc1fc3c ("arm64: dts: rockchip: Enable USB-C DP Alt for Indiedroid Nova")
> Signed-off-by: Sebastian Reichel <sebastian.reichel at collabora.com>
> ---
> .../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 at 0 {
> + port at 0 {
> reg = <0>;
> - remote-endpoint = <&usbc0_ss>;
> +
> + usbdp_phy0_ss_out: endpoint {
> + remote-endpoint = <&usbc0_ss>;
> + };
> };
>
> - usbdp_phy0_ss_in: endpoint at 1 {
> + port at 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 at 2 {
> + port at 2 {
> reg = <2>;
> - remote-endpoint = <&dp0_out_con>;
> +
> + usbdp_phy0_dp_in: endpoint {
> + remote-endpoint = <&dp0_out_con>;
> + };
> };
>
> - usbdp_phy0_dp_out: endpoint at 3 {
> + port at 3 {
> reg = <3>;
> - remote-endpoint = <&usbc0_sbu>;
> +
> + usbdp_phy0_dp_out: endpoint {
> + remote-endpoint = <&usbc0_sbu>;
> + };
> };
> };
> };
>
> --
> 2.53.0
>
Tested-by: Chris Morgan <macromorgan at hotmail.com>
More information about the Linux-rockchip
mailing list