[PATCH 00/11] arm64: dts: rockchip: USB-C DP AltMode support
From: Sebastian Reichel
Date: Wed Nov 25 2026 - 20:16:11 EST
The current upstream situation for Rockchip USB-C is quite messy. Many
boards got upstreamed using the vendor-style bindings, a missunderstood
version of the upstream binding (before it landed upstream), or
something weird in between. This fixes the worst offenders to properly
describe their USB-C port incl. DP AltMode. Getting DP AltMode working
requires three more patch series for the kernel, which do not affect the
DT binding (so this series has no dependencies):
* https://lore.kernel.org/linux-phy/20261114-b4-rockchip-dwc3-rockchip-glue-v19-0-b79fb5f4b42a@xxxxxxxxxxxxx/
* https://lore.kernel.org/linux-phy/20261119-b4-rockchip-usbdp-cleanup-part3-v18-0-fb325e336494@xxxxxxxxxxxxx/
* https://lore.kernel.org/dri-devel/20261114-synopsys-dw-dp-improvements-v12-0-d42d3dc5bdd4@xxxxxxxxxxxxx/
Without these driver patches, the DP connectors will be exposed, but
always stay in a disconnected state. This works because the existing
upstream DP driver does not yet support any follow-up bridges.
To have functional DP AltMode Anbernic RG Vita Pro in addition also
needs support for generic USB Type-C DP HPD bridge from Chaoyi Chen, as
the "richtek,rt1711h" driver does not have a manually registered one:
* https://lore.kernel.org/linux-rockchip/20261020072816.180-1-kernel@xxxxxxxxxx/
The other boards all use fusb302 and that driver registers the bridge
manually. Having the generic patch series is not necessary for them.
All patches from the series can be applied individually and the grouping
was only done as they touch the same topic and apply to the same tree.
Short summary of the different patches:
patch 1: Fix VDO from 0xffffffff to 0x00001c46; the incorrect 0xffffffff
is used by vendor kernel and has been copied by everyone.
patches 2-3: LubanCat 5IO + Indiedroid Nova tried to follow the upstream
style, but got it quite wrong as all endpoints in USBDP are routed to
the first port instead of having one port per endpoint. I did not test
them due to lack of boards.
patches 4-6: RK3588 EVB1, ROCK 5B+ and Sige5: These boards were tested
by me. They are the reference used during development of the previously
mentioned driver support series.
patches 7-9: These boards had DP AltMode described in DT to some degree,
but with all kind of issues that definetly prevent them from working. I
converted them over to a proper description instead of having the
current half-baked upstream state. I did not test them due to lack of
boards.
patches 10-11: I had a closer look at the DT of these boards, since they
had a orientation-switch, but no mode-switch in the USBDP PHY. I'm
investigating, if we can make it mandatory in the binding to have either
both or none of the properties. For these two boards, mode-switch is
actually required for DP AltMode. Upstream never had properly working
orientation-switch only mode either (i.e. runtime orientation switch
change does not work). I've added proper DP AltMode for these and added
the missing mode-switch. I did not test these either due to lack of
boards.
Signed-off-by: Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>
---
Sebastian Reichel (11):
arm64: dts: rockchip: Fix USB-C DP AltMode vdo
arm64: dts: rockchip: Fix USBDP ports for LubanCat 5IO board
arm64: dts: rockchip: Fix USBDP ports for Indiedroid Nova
arm64: dts: rockchip: Add USB-C DP AltMode for RK3588 EVB1
arm64: dts: rockchip: Add USB-C DP AltMode for ROCK 5B family
arm64: dts: rockchip: Add USB-C DP AltMode for ArmSom Sige5
arm64: dts: rockchip: Add USB-C DP AltMode for Gameforce Ace
arm64: dts: rockchip: Add USB-C DP AltMode for RG-Vita-Pro
arm64: dts: rockchip: Add USB-C DP AltMode for CM5-IO
arm64: dts: rockchip: Add USB-C DP AltMode for Firefly ITX 3588J
arm64: dts: rockchip: Add USB-C DP AltMode for RK3588 Jaguar
.../dts/rockchip/rk3576-anbernic-rg-vita-pro.dts | 80 ++++++++--
.../boot/dts/rockchip/rk3576-armsom-cm5-io.dts | 88 +++++++++--
.../boot/dts/rockchip/rk3576-armsom-sige5.dts | 78 ++++++++--
arch/arm64/boot/dts/rockchip/rk3588-evb1-v10.dts | 92 +++++++++--
.../boot/dts/rockchip/rk3588-firefly-itx-3588j.dts | 93 ++++++++++--
arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts | 168 ++++++++++++++++++---
.../boot/dts/rockchip/rk3588-lubancat-5io.dts | 32 ++--
.../boot/dts/rockchip/rk3588-rock-5b-5bp-5t.dtsi | 84 +++++++++--
.../boot/dts/rockchip/rk3588s-gameforce-ace.dts | 87 +++++++++--
.../boot/dts/rockchip/rk3588s-indiedroid-nova.dts | 33 ++--
.../arm64/boot/dts/rockchip/rk3588s-lubancat-4.dts | 2 +-
11 files changed, 701 insertions(+), 136 deletions(-)
---
base-commit: 8872b4a4ec35378bacbf515aba5465a91a856d6f
change-id: 20261123-rockchip-usb-c-dp-altmode-a4fc7383d04b
Best regards,
--
Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>