[PATCH v3 02/10] phy: rockchip: add usbdp combo phy driver
Heiko Stübner
heiko at sntech.de
Wed Feb 28 03:53:59 PST 2024
Am Freitag, 16. Februar 2024, 18:01:17 CET schrieb Sebastian Reichel:
> This adds a new USBDP combo PHY with Samsung IP block driver.
>
> The driver get lane mux and mapping info in 2 ways, supporting
> DisplayPort alternate mode or parsing from DT. When parsing from DT,
> the property "rockchip,dp-lane-mux" provide the DP mux and mapping
> info. This is needed when the PHY is not used with TypeC Alt-Mode.
> For example if the USB3 interface of the PHY is connected to a USB
> Type A connector and the DP interface is connected to a DisplayPort
> connector.
>
> When do DP link training, need to set lane number, link rate, swing,
> and pre-emphasis via PHY configure interface.
>
> Co-developed-by: Heiko Stuebner <heiko at sntech.de>
> Signed-off-by: Heiko Stuebner <heiko at sntech.de>
> Co-developed-by: Zhang Yubing <yubing.zhang at rock-chips.com>
> Signed-off-by: Zhang Yubing <yubing.zhang at rock-chips.com>
> Co-developed-by: Frank Wang <frank.wang at rock-chips.com>
> Signed-off-by: Frank Wang <frank.wang at rock-chips.com>
> Signed-off-by: Sebastian Reichel <sebastian.reichel at collabora.com>
Not sure how that relates to me being listed a Co-developer, but this
works nicely on both rk3588-jaguar (real type-c) and rk3588-tiger-haikou
(micro-usb3 as dual-role port and usb3-a host port), so
Tested-by: Heiko Stuebner <heiko at sntech.de>
It would be nice if patches 1+2 could go through the phy-tree and I'd
be able to pick up the devicetree patches after that, to minimize conflict
Thanks
Heiko
More information about the linux-phy
mailing list