Export ChromeOS EC internals in DebugFS

modulename: cros_ec_debugfs.ko

configname: CONFIG_CROS_EC_DEBUGFS

Linux Kernel Configuration
└─>Device Drivers
└─>Platform support for Chrome hardware
└─>Export ChromeOS EC internals in DebugFS
In linux kernel since version 5.1 (release Date: 2019-05-05)  
This option exposes the ChromeOS EC device internals to
userspace.

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

source code: