Skip to content

ChromeOS EC USB-C Connector Class

Jon Flatley lkml oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3platform: chrome: Add cros-ec-usbpd-notify driverdrivers/platform/chrome/Kconfig drivers/platform/chrome/Makefile drivers/platform/chrome/cros_ec_usbpd_notify.c +1 more+206 -01 reply
2/3power: supply: cros-ec-usbpd-charger: Fix host eventsdrivers/power/supply/Kconfig drivers/power/supply/cros_usbpd-charger.c+17 -301 reply
3/3platform: chrome: Added cros-ec-typec driverdrivers/mfd/cros_ec_dev.c drivers/platform/chrome/Kconfig drivers/platform/chrome/Makefile +1 more+473 -34 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] ChromeOS EC USB-C Connector Class

This patch set adds a basic implementation of the USB-C connector class for devices using the ChromeOS EC. On ACPI devices an additional ACPI driver is necessary to receive USB-C PD host events from the PD EC device "GOOG0003". Incidentally, this ACPI driver adds notifications for events that cros-usbpd-charger has been missing, so fix that while we're at it.

Jon Flatley (3):
platform: chrome: Add cros-ec-usbpd-notify driver
power: supply: cros-ec-usbpd-charger: Fix host events
platform: chrome: Added cros-ec-typec driver

 drivers/mfd/cros_ec_dev.c                     |   7 +-
 drivers/platform/chrome/Kconfig               |  20 +
 drivers/platform/chrome/Makefile              |   2 +
 drivers/platform/chrome/cros_ec_typec.c       | 457 ++++++++++++++++++
 .../platform/chrome/cros_ec_usbpd_notify.c    | 156 ++++++
 drivers/power/supply/Kconfig                  |   2 +-
 drivers/power/supply/cros_usbpd-charger.c     |  45 +-
 .../platform_data/cros_ec_usbpd_notify.h      |  40 ++
 8 files changed, 696 insertions(+), 33 deletions(-)
 create mode 100644 drivers/platform/chrome/cros_ec_typec.c
 create mode 100644 drivers/platform/chrome/cros_ec_usbpd_notify.c
 create mode 100644 include/linux/platform_data/cros_ec_usbpd_notify.h
Signature · 1 line
2.24.0.432.g9d3f5f5b63-goog