| From: |
| Prashant Malani <pmalani-AT-chromium.org> |
| To: |
| linux-kernel-AT-vger.kernel.org |
| Subject: |
| [PATCH 0/3] platform/chrome: Add Type C connector class driver |
| Date: |
| Thu, 30 Jan 2020 14:00:27 -0800 |
| Message-ID: |
| <20200130220032.160855-1-pmalani@chromium.org> |
| Cc: |
| heikki.krogerus-AT-intel.com, enric.balletbo-AT-collabora.com, bleung-AT-chromium.org, Prashant Malani <pmalani-AT-chromium.org>, Guenter Roeck <groeck-AT-chromium.org> |
| Archive-link: |
| Article |
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/976378fbfe4a29b892...
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