extcon: cros-ec: Add extcon-cros-ec driver to support display out
authorBenson Leung <bleung@chromium.org>
Mon, 17 Jul 2017 09:41:39 +0000 (11:41 +0200)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 17 Jul 2017 10:25:49 +0000 (19:25 +0900)
commitc698316661096e036b54448039b35e1c2c5809f0
treea9b82bb04d80b7d44dd40b0b79ad0814d6d84be2
parent5771a8c08880cdca3bfb4a3fc6d309d6bba20877
extcon: cros-ec: Add extcon-cros-ec driver to support display out

This is the driver for the USB Type C cable detection mechanism
built into the ChromeOS Embedded Controller on systems that
have USB Type-C ports.

At present, this allows for the presence of display out, but in
future, it may also be used to notify host and device type cables
and the presence of power.

Signed-off-by: Benson Leung <bleung@chromium.org>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Acked-by: Chanwoo Choi <cw00.chio@samsung.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/Kconfig
drivers/extcon/Makefile
drivers/extcon/extcon-usbc-cros-ec.c [new file with mode: 0644]
include/linux/mfd/cros_ec_commands.h