[PATCH 0/3] platform/chrome: Add Type C connector class driver

From: Prashant Malani
Date: Thu Jan 30 2020 - 17:00:41 EST


The following series introduces a Type C port driver for Chrome OS devices
that have an EC (Embedded Controller). It derives port information from
ACPI or DT entries. This patch series adds basic support, including
registering ports, and setting certain basic attributes.

I thought Iâd send it out as an RFC to get some comments on whether the
general approach is right. Subsequent iterations of the series will
include adding port partner information as well as integration with mux
agents. This might tie in with Heikkiâs work here:

https://github.com/krohei/linux/commit/976378fbfe4a29b892d39ade07efce042640ff4c

Based on feedback, I can incorporate comments or adopt another approach altogether.

Prashant Malani (3):
platform/chrome: Add Type C connector class driver
platform/chrome: typec: Get PD_CONTORL version
platform/chrome: Update Type C port info from EC

drivers/platform/chrome/Kconfig | 11 +
drivers/platform/chrome/Makefile | 1 +
drivers/platform/chrome/cros_ec_typec.c | 319 ++++++++++++++++++++++++
3 files changed, 331 insertions(+)
create mode 100644 drivers/platform/chrome/cros_ec_typec.c

--
2.25.0.341.g760bfbb309-goog