Merge tag 'tag-chrome-platform-for-v5.3' of git://git.kernel.org/pub/scm/linux/kernel...
[sfrench/cifs-2.6.git] / drivers / platform / chrome / wilco_ec / Kconfig
index fd29cbfd3d5d2f9bb44711bd5e613f521bfb6b34..89007b0bc743198e0f322725164041c00180cc36 100644 (file)
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0-only
 config WILCO_EC
        tristate "ChromeOS Wilco Embedded Controller"
-       depends on ACPI && X86 && CROS_EC_LPC && CROS_EC_LPC_MEC
+       depends on ACPI && X86 && CROS_EC_LPC
        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
@@ -19,3 +19,19 @@ config WILCO_EC_DEBUGFS
          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().