]> git.dujemihanovic.xyz Git - u-boot.git/commit
phy: rockchip-inno-usb2: add initial support for rk3588 PHY
authorEugen Hristev <eugen.hristev@collabora.com>
Mon, 15 May 2023 09:59:49 +0000 (12:59 +0300)
committerKever Yang <kever.yang@rock-chips.com>
Wed, 17 May 2023 09:36:18 +0000 (17:36 +0800)
commitcdf9010f6e173093d8dfeb4685063d78d35d7842
tree84549637e304c44a02e536862d37400405da8284
parentb59e031a7d5552e6c5230e6234470c84e0ca044b
phy: rockchip-inno-usb2: add initial support for rk3588 PHY

Add initial support for the rk3588 PHY variant.
The lookup for the host-port reg inside the struct now does a do {} while()
instead of a while() {} in order to allow a first check for reg == 0.

Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Co-developed-by: Frank Wang <frank.wang@rock-chips.com>
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Signed-off-by: Eugen Hristev <eugen.hristev@collabora.com>
drivers/phy/rockchip/phy-rockchip-inno-usb2.c