phy: rockchip-inno-usb2: Add support for clkout_ctl_phy
authorJonas Karlman <jonas@kwiboo.se>
Mon, 7 Apr 2025 22:46:59 +0000 (22:46 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Wed, 23 Apr 2025 14:12:04 +0000 (22:12 +0800)
commit229218373c221d3ac093179f83ec1fdddcbd4dfe
treec90b25b5a8e44ac168fe582e941bdaa6ad82a49e
parent7fe0b79211d5440c29d39faeeb1afa2f4faabcf4
phy: rockchip-inno-usb2: Add support for clkout_ctl_phy

The 480m clk is controlled using regs in the PHY address space and not
in the USB GRF address space on e.g. RK3528 and RK3506.

Add a clkout_ctl_phy usb2phy_reg to handle enable/disable of the 480m
clk on these SoCs.

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