aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/chrome/Kconfig
diff options
context:
space:
mode:
authorPi-Hsun Shih <pihsun@chromium.org>2019-04-12 15:18:50 +0800
committerEnric Balletbo i Serra <enric.balletbo@collabora.com>2019-04-16 11:00:36 +0200
commit2de89fd989584c54f5f3fcea808504c0149ba837 (patch)
treec5689f30596275430ecaf0c83ec6c7d793af385c /drivers/platform/chrome/Kconfig
parentplatform/chrome: wilco_ec: Add h1_gpio status to debugfs (diff)
downloadlinux-dev-2de89fd989584c54f5f3fcea808504c0149ba837.tar.xz
linux-dev-2de89fd989584c54f5f3fcea808504c0149ba837.zip
platform/chrome: cros_ec: Add EC host command support using rpmsg
Add EC host command support through rpmsg. Signed-off-by: Pi-Hsun Shih <pihsun@chromium.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/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/platform/chrome/Kconfig b/drivers/platform/chrome/Kconfig
index 4313a8bcf0ab..997317d2f2b9 100644
--- a/drivers/platform/chrome/Kconfig
+++ b/drivers/platform/chrome/Kconfig
@@ -59,6 +59,18 @@ config CROS_EC_I2C
a checksum. Failing accesses will be retried three times to
improve reliability.
+config CROS_EC_RPMSG
+ tristate "ChromeOS Embedded Controller (rpmsg)"
+ depends on MFD_CROS_EC && RPMSG && OF
+ help
+ If you say Y here, you get support for talking to the ChromeOS EC
+ through rpmsg. This uses a simple byte-level protocol with a
+ checksum. Also since there's no addition EC-to-host interrupt, this
+ use a byte in message to distinguish host event from host command.
+
+ To compile this driver as a module, choose M here: the
+ module will be called cros_ec_rpmsg.
+
config CROS_EC_SPI
tristate "ChromeOS Embedded Controller (SPI)"
depends on MFD_CROS_EC && SPI