ChromeOS EC MKBP Proximity sensor

modulename: cros_ec_mkbp_proximity.ko

configname: CONFIG_CROS_EC_MKBP_PROXIMITY

Linux Kernel Configuration
└─>Device Drivers
└─>Industrial I/O support
└─>Proximity and distance sensors
└─>ChromeOS EC MKBP Proximity sensor
In linux kernel since version 5.2 (release Date: 2019-07-07)  
Say Y here to enable the proximity sensor implemented via the ChromeOS EC MKBP
switches protocol. You must enable one bus option (CROS_EC_I2C or CROS_EC_SPI)
to use this.

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

source code: