xref: /linux/drivers/platform/chrome/wilco_ec/Kconfig (revision ec8f24b7faaf3d4799a7c3f4c1b87f6b02778ad1)
1*ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
27b3d4f44SNick Crewsconfig WILCO_EC
37b3d4f44SNick Crews	tristate "ChromeOS Wilco Embedded Controller"
427944495SArnd Bergmann	depends on ACPI && X86 && CROS_EC_LPC && CROS_EC_LPC_MEC
57b3d4f44SNick Crews	help
67b3d4f44SNick Crews	  If you say Y here, you get support for talking to the ChromeOS
77b3d4f44SNick Crews	  Wilco EC over an eSPI bus. This uses a simple byte-level protocol
87b3d4f44SNick Crews	  with a checksum.
97b3d4f44SNick Crews
107b3d4f44SNick Crews	  To compile this driver as a module, choose M here: the
117b3d4f44SNick Crews	  module will be called wilco_ec.
12b787bb12SNick Crews
13b787bb12SNick Crewsconfig WILCO_EC_DEBUGFS
14b787bb12SNick Crews	tristate "Enable raw access to EC via debugfs"
15b787bb12SNick Crews	depends on WILCO_EC
16b787bb12SNick Crews	help
17b787bb12SNick Crews	  If you say Y here, you get support for sending raw commands to
18b787bb12SNick Crews	  the Wilco EC via debugfs.  These commands do not do any byte
19b787bb12SNick Crews	  manipulation and allow for testing arbitrary commands.  This
20b787bb12SNick Crews	  interface is intended for debug only and will not be present
21b787bb12SNick Crews	  on production devices.
22