Directory Files
.. 65
File Size
Kconfig 1.4 kB
Makefile 426 B
core.c 4.7 kB
debugfs.c 7.3 kB
event.c 17 kB
keyboard_leds.c 5.2 kB
mailbox.c 6.0 kB
properties.c 3.1 kB
sysfs.c 5.7 kB
telemetry.c 13 kB
wilco_ec.mod.c 0 B
wilco_ec_debugfs.mod.c 0 B
wilco_ec_events.mod.c 0 B
wilco_ec_telem.mod.c 0 B

Linux v6.6.1 - wilco_ec

# SPDX-License-Identifier: GPL-2.0-only
config WILCO_EC
	tristate "ChromeOS Wilco Embedded Controller"
	depends on X86 || COMPILE_TEST
	depends on ACPI && CROS_EC_LPC && LEDS_CLASS
	help
	  If you say Y here, you get support for talking to the ChromeOS
	  Wilco EC over an eSPI bus. This uses a simple byte-level protocol
	  with a checksum.

	  To compile this driver as a module, choose M here: the
	  module will be called wilco_ec.

config WILCO_EC_DEBUGFS
	tristate "Enable raw access to EC via debugfs"
	depends on WILCO_EC
	help
	  If you say Y here, you get support for sending raw commands to
	  the Wilco EC via debugfs.  These commands do not do any byte
	  manipulation and allow for testing arbitrary commands.  This
	  interface is intended for debug only and will not be present
	  on production devices.

config WILCO_EC_EVENTS
	tristate "Enable event forwarding from EC to userspace"
	depends on WILCO_EC
	help
	  If you say Y here, you get support for the EC to send events
	  (such as power state changes) to userspace. The EC sends the events
	  over ACPI, and a driver queues up the events to be read by a
	  userspace daemon from /dev/wilco_event using read() and poll().

config WILCO_EC_TELEMETRY
	tristate "Enable querying telemetry data from EC"
	depends on WILCO_EC
	help
	  If you say Y here, you get support to query EC telemetry data from
	  /dev/wilco_telem0 using write() and then read().