[PATCH v4 0/3] platform/chrome: typec: Add port partner registration
From: Prashant Malani
Date: Wed Apr 15 2020 - 01:30:01 EST
The following series adds port-partner registration when
connects/disconnects are detected. In order to do that, we also register
a listener for the cros-usbpd-notifier, which will inform the driver of
EC PD events. While we are here, separate out the Type C port data
objects into a separate struct.
v3: https://lkml.org/lkml/2020/4/9/868
v2: https://lkml.org/lkml/2020/4/9/861
v1: https://lkml.org/lkml/2020/4/6/1155
Changes in v4:
- Modified typec_register_partner() error check.
Prashant Malani (3):
platform/chrome: typec: Use notifier for updates
platform/chrome: typec: Add struct for port data
platform/chrome: typec: Register port partner
drivers/platform/chrome/Kconfig | 1 +
drivers/platform/chrome/cros_ec_typec.c | 119 ++++++++++++++++++++----
2 files changed, 103 insertions(+), 17 deletions(-)
--
2.26.0.110.g2183baf09c-goog