aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/chrome/Kconfig
diff options
context:
space:
mode:
authorNick Crews <ncrews@chromium.org>2019-02-08 17:37:17 -0700
committerEnric Balletbo i Serra <enric.balletbo@collabora.com>2019-02-21 21:35:59 +0100
commit7b3d4f44abf0e7a1ba762c8a9c99a8b39ee0c8b1 (patch)
tree59ed497376f624fad1530a06870f43d86cabce33 /drivers/platform/chrome/Kconfig
parentplatform/chrome: cros_ec: Remove cros_ec dependency in lpc_mec (diff)
downloadlinux-dev-7b3d4f44abf0e7a1ba762c8a9c99a8b39ee0c8b1.tar.xz
linux-dev-7b3d4f44abf0e7a1ba762c8a9c99a8b39ee0c8b1.zip
platform/chrome: Add new driver for Wilco EC
This EC is an incompatible variant of the typical Chrome OS embedded controller. It uses the same low-level communication and a similar protocol with some significant differences. The EC firmware does not support the same mailbox commands so it is not registered as a cros_ec device type. This commit exports the wilco_ec_mailbox() function so that other modules can use it to communicate with the EC. Signed-off-by: Duncan Laurie <dlaurie@google.com> Signed-off-by: Nick Crews <ncrews@chromium.org> [Fix the sparse warning: symbol 'wilco_ec_transfer' was not declared] Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> [Fix Kconfig dependencies for wilco_ec] Reported-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Diffstat (limited to 'drivers/platform/chrome/Kconfig')
-rw-r--r--drivers/platform/chrome/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/platform/chrome/Kconfig b/drivers/platform/chrome/Kconfig
index 5e2fde5ff63d..9186d81a51cc 100644
--- a/drivers/platform/chrome/Kconfig
+++ b/drivers/platform/chrome/Kconfig
@@ -152,4 +152,6 @@ config CROS_EC_SYSFS
To compile this driver as a module, choose M here: the
module will be called cros_ec_sysfs.
+source "drivers/platform/chrome/wilco_ec/Kconfig"
+
endif # CHROMEOS_PLATFORMS