[PATCH 0/3] platform/chrome: notify: Use PD_HOST_EVENT_STATUS

From: Prashant Malani
Date: Thu Mar 12 2020 - 06:08:29 EST


This series improves the PD notifier driver to get the
EC_CMD_PD_HOST_EVENT_STATUS bits from the Chrome EC, and send those to
the notifier listeners. Earlier, the "event" param of the notifier was
always being hard-coded to a single value (corresponding to PD_MCU
events on ACPI and DT platforms) which wasn't of much use to the
listeners.

Prashant Malani (3):
platform/chrome: notify: Add driver data struct
platform/chrome: notify: Amend ACPI driver to plat
platform/chrome: notify: Pull PD_HOST_EVENT status

drivers/platform/chrome/cros_usbpd_notify.c | 197 +++++++++++++++++---
1 file changed, 174 insertions(+), 23 deletions(-)

--
2.25.1.696.g5e7596f4ac-goog