]> www.infradead.org Git - users/jedix/linux-maple.git/commit
phy: rockchip: inno-usb2: Add usb2 phy support for rk3562
authorFrank Wang <frank.wang@rock-chips.com>
Tue, 15 Apr 2025 05:00:05 +0000 (13:00 +0800)
committerVinod Koul <vkoul@kernel.org>
Wed, 14 May 2025 11:20:39 +0000 (12:20 +0100)
commit80edd21db00c0829c276baafa8871ae02c6e9d91
tree83d38e75458f203ee00a2dfeec00d7a85a686c5a
parentabf55cdf9c5e58bac1feaff2e21bec43b898746c
phy: rockchip: inno-usb2: Add usb2 phy support for rk3562

RK3652 has one USB2.0 PHY with two ports, the OTG port support OTG
and BC1.2, the SoC provide USB GRF and APB to access the registers.

This adds vbus detection function control and make the below tuning
to enhance the usb2-phy SQ for RK3562 SoC.
 - enable pre-emphasis during non-chirp phase
 - set HS eye height to 425mv

Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Signed-off-by: William Wu <william.wu@rock-chips.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20250415050005.52773-2-kever.yang@rock-chips.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/rockchip/phy-rockchip-inno-usb2.c