]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
usb: ucsi: huawei_gaokun: support mode switching
authorPengyu Luo <mitltlatltl@gmail.com>
Sun, 7 Jun 2026 10:18:44 +0000 (18:18 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Jun 2026 16:04:07 +0000 (18:04 +0200)
commit1c2b66a7d7257d2652aa41f9a860ecb96dde27dd
treefbff87de5ce5a92f6fc758180bda1f53038a704e
parent7b4456767fd478ff1dbee55444d5e3e5a7194089
usb: ucsi: huawei_gaokun: support mode switching

The USB PHY (QMP Combo PHY) is always initialized in USB3+DP mode. In
the past, there was no MUX, and it was unnecessary to set it, since
MSM only supported 2-lane DP. But now, MST and 4-lane DP support has
been added to MSM, and a MUX has been added to the PHY. To support
4-lane DP and mode switching for gaokun, get the MUX and set it.

Signed-off-by: Pengyu Luo <mitltlatltl@gmail.com>
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://patch.msgid.link/20260607101844.820064-1-mitltlatltl@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/ucsi/ucsi_huawei_gaokun.c