]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
usb: typec: mux: ps883x: Power the retimer off when not in use
authorKonrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Mon, 20 Apr 2026 11:40:28 +0000 (13:40 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Apr 2026 16:17:38 +0000 (10:17 -0600)
commitb38fa168a848b8ddd3c3d767d7d1daaf8ccadcf8
treef12e883297ab6e0c631a981159b14ce1131fbec5
parente4d7362dc9cd50b0fc74c8649aa241376c48936c
usb: typec: mux: ps883x: Power the retimer off when not in use

When there's nothing going through the retimer, there's no reason to
keep it online. Put it in reset when possible to save power.

Also, remove the register cache-compare optimization as it makes little
sense now that the chip resets during almost all transitions and
tracking the validity of that cache becomes a headache.

Suggested-by: Jack Pham <jack.pham@oss.qualcomm.com>
Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Tested-by: Anthony Ruhier <aruhier@mailbox.org>
Link: https://patch.msgid.link/20260420-topic-ps883x_unused_reset-v1-1-7aabf7004d2a@oss.qualcomm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/mux/ps883x.c