1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "ChromeOS Wilco Embedded Controller"
4 depends on ACPI && X86 && CROS_EC_LPC
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
10 To compile this driver as a module, choose M here: the
11 module will be called wilco_ec.
13 config WILCO_EC_DEBUGFS
14 tristate "Enable raw access to EC via debugfs"
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.
23 config WILCO_EC_EVENTS
24 tristate "Enable event forwarding from EC to userspace"
27 If you say Y here, you get support for the EC to send events
28 (such as power state changes) to userspace. The EC sends the events
29 over ACPI, and a driver queues up the events to be read by a
30 userspace daemon from /dev/wilco_event using read() and poll().
32 config WILCO_EC_TELEMETRY
33 tristate "Enable querying telemetry data from EC"
36 If you say Y here, you get support to query EC telemetry data from
37 /dev/wilco_telem0 using write() and then read().