]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
phy: rockchip: inno-usb2: Add clkout_ctl_phy support
authorJonas Karlman <jonas@kwiboo.se>
Tue, 5 May 2026 17:04:09 +0000 (19:04 +0200)
committerVinod Koul <vkoul@kernel.org>
Thu, 14 May 2026 15:38:27 +0000 (21:08 +0530)
commit2775541de0580ab1cd077dfef710e6316563d567
tree88f21b47e5c010dd821b4e20cbea2cf727f7baf9
parentc430f042f4ba2c5abd592b6924f028d3bb09d4cf
phy: rockchip: inno-usb2: Add clkout_ctl_phy support

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>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patch.msgid.link/20260505170410.3265305-5-heiko@sntech.de
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/rockchip/phy-rockchip-inno-usb2.c