mbox series

[v1,0/2] usb: typec: ucsi: Recover from CrOS EC sysjump

Message ID 20250204024600.4138776-1-jthies@google.com (mailing list archive)
Headers show
Series usb: typec: ucsi: Recover from CrOS EC sysjump | expand

Message

Jameson Thies Feb. 4, 2025, 2:45 a.m. UTC
An EC sysjump can break communication with the cros_ec_ucsi driver by
clearing any previously enabled notifications. This updates the
cros_ec_ucsi driver to monitor for PD initialization events from the EC
and re-enable notifications by treating the init event as a system
resume.

Jameson Thies (2):
  platform/chrome: add PD_EVENT_INIT bit definition
  usb: typec: ucsi: resume work after EC init

 drivers/usb/typec/ucsi/cros_ec_ucsi.c          | 17 ++++++++++++-----
 include/linux/platform_data/cros_ec_commands.h |  1 +
 2 files changed, 13 insertions(+), 5 deletions(-)


base-commit: 2014c95afecee3e76ca4a56956a936e23283f05b