HID: magicmouse: add support for Macbook trackpads
authorJanne Grunau <j@jannau.net>
Thu, 16 Dec 2021 00:17:48 +0000 (01:17 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 1 Mar 2022 17:49:12 +0000 (10:49 -0700)
commitd5fe1d2d063e60ced57f685191aa583cd4613567
tree1af9f5855938fd106de17f9a0c5ee4c00fc9c8fc
parenta51ec439af691d3857013600cbc4c0280fd57336
HID: magicmouse: add support for Macbook trackpads

The trackpads in Macbooks beginning in 2015 are HID devices connected
over SPI. On Intel Macbooks they are currently supported by applespi.c.
This chang adds support for the trackpads on Apple Silicon Macbooks
starting in late 2020. They use a new HID over SPI transport driver.
The touch report format differs from USB/BT Magic Trackpads. It is the
same format as the type 4 format supported by bcm5974.c.

Signed-off-by: Janne Grunau <j@jannau.net>
drivers/hid/Kconfig
drivers/hid/hid-magicmouse.c