[PATCH RFC 0/2] arm64: dts: rockchip: add USB-C DP AltMode for ROCK 5B family

Sebastian Reichel posted 2 patches 4 weeks ago
.../bindings/phy/phy-rockchip-usbdp.yaml           | 23 ++++++
.../boot/dts/rockchip/rk3588-rock-5b-5bp-5t.dtsi   | 83 +++++++++++++++++++---
2 files changed, 95 insertions(+), 11 deletions(-)
[PATCH RFC 0/2] arm64: dts: rockchip: add USB-C DP AltMode for ROCK 5B family
Posted by Sebastian Reichel 4 weeks ago
People started to become impatient regarding USB-C DP AltMode support on
the RK3588 platform now that the DP controller support has been merged.

I'm sending this as RFC for now, because

1. I'm not sure if the binding change for rockchip-usbdp is considered
   an ABI break. As far as I can see the Linux drivers don't need any
   changes and combinations of kernel and DT should work. At some point
   the kernel might rely on the new binding for some features, though.

2. I've noticed USB-C DP AltMode only seems to work when the cable is
   plugged after the system has been booted. My guess is that there
   are some issues with the Rockchip USBDP PHY driver, but I didn't
   have the time to track this down properly.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
---
Sebastian Reichel (2):
      dt-bindings: phy: rockchip-usbdp: add improved ports scheme
      arm64: dts: rockchip: add USB-C DP AltMode for ROCK 5B family

 .../bindings/phy/phy-rockchip-usbdp.yaml           | 23 ++++++
 .../boot/dts/rockchip/rk3588-rock-5b-5bp-5t.dtsi   | 83 +++++++++++++++++++---
 2 files changed, 95 insertions(+), 11 deletions(-)
---
base-commit: 6cc18e940db6731556843b7fa2924eb2efcef53f
change-id: 20250904-rock5b-dp-alt-mode-dcff20e80b0d

Best regards,
-- 
Sebastian Reichel <sebastian.reichel@collabora.com>