[PATCH 0/8] usb: typec: ucsi: yoga-c630: enable DisplayPort support
From: Dmitry Baryshkov
Date: Sat Jun 21 2025 - 14:14:28 EST
On Lenovo Yoga C630 laptop the EC implements UCSI support. However in
order to properly handle DisplayPort AltMode events it requires
additional support. Implement several workarounds, fixing issues with
AltMode UCSI commands and also handle out-of-bound DisplayPort hotplug
events.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxxxxxxxx>
---
Dmitry Baryshkov (8):
usb: typec: ucsi: yoga-c630: fix error and remove paths
usb: typec: ucsi: add recipient arg to update_altmodes() callback
usb: typec: ucsi: yoga-c630: remove duplicate AltModes
usb: typec: ucsi: yoga-c630: remove extra AltModes for port 1
usb: typec: ucsi: yoga-c630: fake AltModes for port 0
usb: typec: ucsi: yoga-c630: correct response for GET_CURRENT_CAM
usb: typec: ucsi: yoga-c630: handle USB / HPD messages to set port orientation
usb: typec: ucsi: yoga-c630: register DRM HPD bridge
drivers/usb/typec/ucsi/Kconfig | 1 +
drivers/usb/typec/ucsi/ucsi.c | 5 +-
drivers/usb/typec/ucsi/ucsi.h | 4 +-
drivers/usb/typec/ucsi/ucsi_ccg.c | 4 +
drivers/usb/typec/ucsi/ucsi_yoga_c630.c | 176 +++++++++++++++++++++++++++++++-
5 files changed, 182 insertions(+), 8 deletions(-)
---
base-commit: 5d4809e25903ab8e74034c1f23c787fd26d52934
change-id: 20250621-c630-ucsi-f1550bac5c17
Best regards,
--
With best wishes
Dmitry