diff options
author | Mark Kettenis <kettenis@openbsd.org> | 2022-01-23 18:48:13 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-02-11 00:44:23 +0300 |
commit | d42f1074253505f4e129267faa0d34676ca54d1f (patch) | |
tree | fa8742ca65a4ccd8c3409e2d9af32da679e3fab9 /configs/apple_m1_defconfig | |
parent | 7184e2997e7d97ba3e697a0acc1800ddd89d3f6d (diff) | |
download | u-boot-d42f1074253505f4e129267faa0d34676ca54d1f.tar.xz |
input: apple: Add support for Apple SPI keyboard
This driver adds support for the keyboard on Apple Silicon laptops.
The controller for this keyboard sits on an SPI bus and uses an
Apple-specific HID over SPI protocol. The packets sent by this
controller for key presses and key releases are fairly simple and
are decoded directly by the code in this driver and converted into
standard Linux keycodes. The same controller handles the touchpad
found on these laptops. Packets for touchpad events are simply
ignored.
Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested on: Macbook Air M1
Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'configs/apple_m1_defconfig')
-rw-r--r-- | configs/apple_m1_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/apple_m1_defconfig b/configs/apple_m1_defconfig index 1528217b17..433cc62334 100644 --- a/configs/apple_m1_defconfig +++ b/configs/apple_m1_defconfig @@ -15,5 +15,6 @@ CONFIG_NVME_APPLE=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_DWC3=y CONFIG_USB_KEYBOARD=y +CONFIG_APPLE_SPI_KEYB=y CONFIG_VIDEO_SIMPLE=y # CONFIG_GENERATE_SMBIOS_TABLE is not set |