2020-04-10 00:09:36

by Prashant Malani

[permalink] [raw]
Subject: [PATCH v2 0/3] platform/chrome: typec: Add port partner registration

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.

v1: https://lkml.org/lkml/2020/4/6/1155

Changes in v2:
- Added Kconfig dependency.
- Fixed style comments.
- Removed unnecessary devm_kfree() call.
- Fixed incorrect error pointer return.

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