[PATCH 4/5] usb: typec: mux: ps883x: add a delay after writing config regs
From: Jens Glathe via B4 Relay
Date: Sat Jul 18 2026 - 13:08:09 EST
From: Jens Glathe <jens.glathe@xxxxxxxxxxxxxxxxxxxxxx>
The config regs seem to need a few ms to propagate the changes through the
system (like, PLLs). This improves the hotplug dp altmode success rate
on the Lenovo 40B0 dock to 100%.
Tested with T14s G6 and 40B0 dock on the HDMI port with a type-c host cable.
Assisted-by: Gemini:3
Signed-off-by: Jens Glathe <jens.glathe@xxxxxxxxxxxxxxxxxxxxxx>
---
drivers/usb/typec/mux/ps883x.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/usb/typec/mux/ps883x.c b/drivers/usb/typec/mux/ps883x.c
index 3533d4f363286..3ca2952e6a0a3 100644
--- a/drivers/usb/typec/mux/ps883x.c
+++ b/drivers/usb/typec/mux/ps883x.c
@@ -185,6 +185,8 @@ static int ps883x_configure(struct ps883x_retimer *retimer, int cfg0,
return ret;
}
+ usleep_range(20000, 30000);
+
return 0;
}
--
2.53.0