extcon: usbc-cros-ec: add support to notify USB type cables.
authorBenson Leung <bleung@chromium.org>
Wed, 13 Dec 2017 10:32:15 +0000 (11:32 +0100)
committerChanwoo Choi <cw00.choi@samsung.com>
Fri, 15 Dec 2017 08:21:49 +0000 (17:21 +0900)
commitc7eb47f9e45226571be31212f6efd4b307d3b59d
treec4277b27d85431d5021a4516cace435d0b384153
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323
extcon: usbc-cros-ec: add support to notify USB type cables.

Extend the driver 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>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-usbc-cros-ec.c
include/linux/mfd/cros_ec_commands.h