treewide: Add SPDX license identifier - Makefile/Kconfig
[linux-2.6-block.git] / drivers / platform / chrome / wilco_ec / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 config WILCO_EC
3         tristate "ChromeOS Wilco Embedded Controller"
4         depends on ACPI && X86 && CROS_EC_LPC && CROS_EC_LPC_MEC
5         help
6           If you say Y here, you get support for talking to the ChromeOS
7           Wilco EC over an eSPI bus. This uses a simple byte-level protocol
8           with a checksum.
9
10           To compile this driver as a module, choose M here: the
11           module will be called wilco_ec.
12
13 config WILCO_EC_DEBUGFS
14         tristate "Enable raw access to EC via debugfs"
15         depends on WILCO_EC
16         help
17           If you say Y here, you get support for sending raw commands to
18           the Wilco EC via debugfs.  These commands do not do any byte
19           manipulation and allow for testing arbitrary commands.  This
20           interface is intended for debug only and will not be present
21           on production devices.