Apple SPI keyboard and trackpad

modulename: applespi.ko

configname: CONFIG_KEYBOARD_APPLESPI

Linux Kernel Configuration
└─>Device Drivers
└─>Input device support
└─>Keyboards
└─>Apple SPI keyboard and trackpad
In linux kernel since version 5.1 (release Date: 2019-05-05)  
Say Y here if you are running Linux on any Apple MacBook8,1 or later,
or any MacBookPro13,* or MacBookPro14,*.

You will also need to enable appropriate SPI master controllers:
spi_pxa2xx_platform and spi_pxa2xx_pci for MacBook8,1, and
spi_pxa2xx_platform and intel_lpss_pci for the rest.

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

source code: