Skip to content
Commit d42f1074 authored by Mark Kettenis's avatar Mark Kettenis Committed by Tom Rini
Browse files

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: default avatarMark Kettenis <kettenis@openbsd.org>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Tested on: Macbook Air M1
Tested-by: default avatarSimon Glass <sjg@chromium.org>
parent 7184e299
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment