HID: magicmouse: add support for Macbook trackpads
authorJanne Grunau <j@jannau.net>
Thu, 16 Dec 2021 00:17:48 +0000 (01:17 +0100)
committerHector Martin <marcan@marcan.st>
Tue, 18 Jan 2022 11:22:23 +0000 (20:22 +0900)
commit193121bdba0a9e2be57fc6b4f1e53daf4164b1fa
treefa976f43b9866bf04168a6b28b2338cf755212d4
parentade9e201ad7835e49d962e598a9054c9b986996a
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