ChromeOS Embedded Controller

modulename: cros_ec.ko

configname: CONFIG_CROS_EC

Linux Kernel Configuration
└─>Device Drivers
└─>Platform support for Chrome hardware
└─>ChromeOS Embedded Controller
In linux kernel since version 4.14.326 (release Date: 2023-09-23)  
If you say Y here you get support for the ChromeOS Embedded
Controller (EC) providing keyboard, battery and power services.
You also need to enable the driver for the bus you are using. The
protocol for talking to the EC is defined by the bus driver.

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

source code: