]> git.ipfire.org Git - thirdparty/linux.git/commit
phy: k1-usb: add disconnect function support
authorYixun Lan <dlan@kernel.org>
Mon, 16 Feb 2026 15:26:53 +0000 (23:26 +0800)
committerVinod Koul <vkoul@kernel.org>
Fri, 27 Feb 2026 14:57:00 +0000 (20:27 +0530)
commitf0cf0a882a02dcf28547f32264f6fd37e9a7b147
tree99efac67cf2aae507c0673e186dc3e80c9862455
parenta258d843a3e4cb687da19437f8f81fee55ad7d35
phy: k1-usb: add disconnect function support

A disconnect status BIT of USB2 PHY need to be cleared, otherwise
it will fail to work properly during next connection when devices
connect to roothub directly.

Fixes: fe4bc1a08638 ("phy: spacemit: support K1 USB2.0 PHY controller")
Signed-off-by: Yixun Lan <dlan@kernel.org>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Link: https://patch.msgid.link/20260216152653.25244-1-dlan@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/spacemit/phy-k1-usb2.c