[PATCH 0/2] Add support for cros-ec-extcon driver
From: Enric Balletbo i Serra
Date: Mon Feb 20 2017 - 10:19:12 EST
Now that the drm/rockchip cdn-dp driver is in linux-next and ready to land
it's time to review the extcon-cros-ec driver. The cdn-dp driver uses this
extcon driver to get cable status and the presence of display out.
This driver is based on the one available in chromeos-4.4 kernel but removing
all the USB switch role stuff, as this depends on other infrastructures like
the dwc3 role switch and the Type-C connector.
Benson Leung (2):
extcon: cros-ec: Add extcon-cros-ec driver to support display out.
dt-bindings: extcon: Add support for cros-ec device
.../devicetree/bindings/extcon/extcon-cros-ec.txt | 24 ++
drivers/extcon/Kconfig | 7 +
drivers/extcon/Makefile | 1 +
drivers/extcon/extcon-cros_ec.c | 480 +++++++++++++++++++++
include/linux/mfd/cros_ec_commands.h | 75 ++++
5 files changed, 587 insertions(+)
create mode 100644 Documentation/devicetree/bindings/extcon/extcon-cros-ec.txt
create mode 100644 drivers/extcon/extcon-cros_ec.c