[lkml]   [2020]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH v2 0/3] platform/chrome: notify: Use PD_HOST_EVENT_STATUS
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

Changes in v2:
- Fixed unnecessary error checks.
- Removed extraneous dev_info prints about device registration.
- Rixed pd_command() return codes to be standard Linux error codes.


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 | 183 +++++++++++++++++---
1 file changed, 160 insertions(+), 23 deletions(-)


 \ /
  Last update: 2020-03-16 09:28    [W:0.050 / U:4.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site