Chrome platform driver development
 help / color / mirror / Atom feed
* [PATCH v1 0/2] usb: typec: ucsi: Recover from CrOS EC sysjump
@ 2025-02-04  2:45 Jameson Thies
  2025-02-04  2:45 ` [PATCH v1 1/2] platform/chrome: add PD_EVENT_INIT bit definition Jameson Thies
  2025-02-04  2:45 ` [PATCH v1 2/2] usb: typec: ucsi: resume work after EC init Jameson Thies
  0 siblings, 2 replies; 8+ messages in thread
From: Jameson Thies @ 2025-02-04  2:45 UTC (permalink / raw)
  To: ukaszb, tzungbi, linux-usb, chrome-platform
  Cc: bleung, heikki.krogerus, gregkh, dmitry.baryshkov, abhishekpandit,
	akuchynski, Jameson Thies

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
-- 
2.48.1.362.g079036d154-goog


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-02-05  4:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-04  2:45 [PATCH v1 0/2] usb: typec: ucsi: Recover from CrOS EC sysjump Jameson Thies
2025-02-04  2:45 ` [PATCH v1 1/2] platform/chrome: add PD_EVENT_INIT bit definition Jameson Thies
2025-02-04 14:35   ` Benson Leung
2025-02-04 15:01     ` Łukasz Bartosik
2025-02-05  4:27   ` Tzung-Bi Shih
2025-02-04  2:45 ` [PATCH v1 2/2] usb: typec: ucsi: resume work after EC init Jameson Thies
2025-02-04 14:34   ` Benson Leung
2025-02-04 15:12     ` Łukasz Bartosik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox