aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_target.rs
diff options
context:
space:
mode:
authorXu Yang <[email protected]>2025-08-11 10:08:33 +0000
committerGreg Kroah-Hartman <[email protected]>2025-08-13 15:19:10 +0000
commit421255afa2a58eee2109dda56c137a7b61c4b05f (patch)
tree7c23749bbfbaa2fe68626ffa4426c5e8a5670d74 /scripts/generate_rust_target.rs
parentkcov, usb: Don't disable interrupts in kcov_remote_start_usb_softirq() (diff)
downloadkernel-421255afa2a58eee2109dda56c137a7b61c4b05f.tar.gz
kernel-421255afa2a58eee2109dda56c137a7b61c4b05f.zip
usb: chipidea: imx: improve usbmisc_imx7d_pullup()
When add workaround for ERR051725, the usbmisc will put PHY to Non-driving mode (OPMODE = 01) after stopping the device controller and put PHY back to Normal mode (OPMODE = 00) after starting the device controller. However, this will bring issue for host controller. Because the PHY may stay in Non-driving mode after switching the role from device to host. Then the port will not work if USB device is attached. To fix this issue, improving the workaround by putting PHY to Non-driving mode for a certain period and back to Normal mode finally. To make host detect a disconnect signal, the period should be at least 125us (a micro-frame time) for high-speed link. And only working as high-speed mode will need workaround for ERR051725. So this will also filter the pullup event for high-speed. Fixes: 11992b410083 ("usb: chipidea: imx: implement workaround for ERR051725") Reviewed-by: Jun Li <[email protected]> Signed-off-by: Xu Yang <[email protected]> Acked-by: Peter Chen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions