]> git.ipfire.org Git - thirdparty/linux.git/commit
phy: fsl-imx8mq-usb: enable RX Termination override
authorXu Yang <xu.yang_2@nxp.com>
Fri, 16 Jan 2026 10:18:35 +0000 (18:18 +0800)
committerVinod Koul <vkoul@kernel.org>
Wed, 21 Jan 2026 07:24:29 +0000 (12:54 +0530)
commit05b56ef347495239da896f310c9d613e9bd1a015
tree9a46d8450fcc02d9baec94223fce6d0dd44329b4
parentdebf8326a435ac746f48173e4742a574810f1ff4
phy: fsl-imx8mq-usb: enable RX Termination override

This is to resolve the problem of wakeup system by USB3 device insertion
if HSIOMIX on, in that case, the USB3 device detects RX term on so the
USB3 device doesn't downgrade to high-speed, we can't expect CONN wakeup
(for USB3) happen because the 24MHz OSC is required ON to trigger it.
Because the device works at Super-speed so DP/DM wakeup can't happen
either. Then the entire systen can't be waken up by such device attach
event.

With this override bit we can force the RX term off when enters system
suspend, and disable the override after system resume. Therefore, the
USB3 device will always downgrade to High-speed, then DP/DM wakeup can
always happen. It will correctly switch to Super-speed later when the
host reset it after the system resume back.

Signed-off-by: Li Jun <jun.li@nxp.com>
Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
Link: https://patch.msgid.link/20260116101835.1810675-1-xu.yang_2@nxp.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/freescale/phy-fsl-imx8mq-usb.c