]> git.dujemihanovic.xyz Git - u-boot.git/commit
phy: rockchip: usbdp: Adopt driver to work with upstream DT
authorJonas Karlman <jonas@kwiboo.se>
Sat, 4 May 2024 19:43:04 +0000 (19:43 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Tue, 7 May 2024 07:56:10 +0000 (15:56 +0800)
commit20a873a5875f463770012032e1d6526200c008fe
tree7c81ad1b609e9580b26aa0a4e43deb1f260bf332
parent751ccceeedbd6189f2328bec68595da2945c3af3
phy: rockchip: usbdp: Adopt driver to work with upstream DT

The upstream DT binding added in linux-phy next commit a75d8056e9fe
("dt-bindings: phy: add rockchip usbdp combo phy document") does not
define subnodes for the type of PHY, instead it is expected that phandle
args are used for setting the type of the PHY.

  phys = <&usbdp_phy0 PHY_TYPE_USB3>

Adopt the usbdp phy driver to work with upstream DT binding targeted for
Linux kernel v6.10.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
drivers/phy/rockchip/phy-rockchip-usbdp.c