mbox series

[v2,0/4] platform/chrome: Add Type C connector class driver

Message ID 20200207203752.209296-1-pmalani@chromium.org
Headers show
Series platform/chrome: Add Type C connector class driver | expand

Message

Prashant Malani Feb. 7, 2020, 8:37 p.m. UTC
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.

v1: https://lkml.org/lkml/2020/2/5/676

Changes in v2:
- Added DT bindings entry in Documentation.
- Fixed minor comments in cros_ec_typec.c driver file.
- Incorporated get_num_ports() code into probe() function.

Prashant Malani (4):
  dt-bindings: Add cros-ec Type C port driver
  platform/chrome: Add Type C connector class driver
  platform/chrome: typec: Get PD_CONTROL cmd version
  platform/chrome: typec: Update port info from EC

 .../bindings/chrome/google,cros-ec-typec.yaml |  77 ++++
 drivers/platform/chrome/Kconfig               |  11 +
 drivers/platform/chrome/Makefile              |   1 +
 drivers/platform/chrome/cros_ec_typec.c       | 337 ++++++++++++++++++
 4 files changed, 426 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/chrome/google,cros-ec-typec.yaml
 create mode 100644 drivers/platform/chrome/cros_ec_typec.c