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:

depends
CONFIG_CHROME_PLATFORMS
CONFIG_ARM or CONFIG_ARM64 or CONFIG_COMPILE_TEST or CONFIG_X86

is selected by
CONFIG_HID_GOOGLE_HAMMER