phy: rockchip: inno-usb2: add phy definition for rk3036
authorHeiko Stuebner <heiko@sntech.de>
Sat, 3 May 2025 20:15:11 +0000 (22:15 +0200)
committerVinod Koul <vkoul@kernel.org>
Wed, 14 May 2025 11:19:29 +0000 (12:19 +0100)
commit3ca48b955bb34a3b07dd915318d73a23740de282
tree688783ad4c441e3f5ff1008a464cc6f410dbbcbc
parentd78b565371314e48242cb9383d0f9d331119ab2e
phy: rockchip: inno-usb2: add phy definition for rk3036

The usb2phy on rk3036 is very similar to rk3128 but not 100% identical.
While most registers and bits are the same, a small fraction did get moved
around.

So we can re-use the phy-tuning function, but need a new set a bits.
The biggest change might be that the phy on rk3036 does not support the
charger detection, that rk3128 (and newer phys) have.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20250503201512.991277-3-heiko@sntech.de
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/rockchip/phy-rockchip-inno-usb2.c