Skip to content

Commit 5839fec

Browse files
committed
Merge branch 'bits/090-spi-hid' into asahi-wip
2 parents 4b73af2 + f47a12f commit 5839fec

20 files changed

Lines changed: 4104 additions & 44 deletions

drivers/hid/Kconfig

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,8 @@ config HID_MAGICMOUSE
719719
Support for the Apple Magic Mouse/Trackpad multi-touch.
720720

721721
Say Y here if you want support for the multi-touch features of the
722-
Apple Wireless "Magic" Mouse and the Apple Wireless "Magic" Trackpad.
722+
Apple Wireless "Magic" Mouse, the Apple Wireless "Magic" Trackpad and
723+
force touch Trackpads in Macbooks starting from 2015.
723724

724725
config HID_MALTRON
725726
tristate "Maltron L90 keyboard"
@@ -1434,4 +1435,8 @@ endif # HID
14341435

14351436
source "drivers/hid/usbhid/Kconfig"
14361437

1438+
source "drivers/hid/spi-hid/Kconfig"
1439+
1440+
source "drivers/hid/dockchannel-hid/Kconfig"
1441+
14371442
endif # HID_SUPPORT

drivers/hid/Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,12 @@ obj-$(CONFIG_INTEL_ISH_HID) += intel-ish-hid/
172172

173173
obj-$(CONFIG_AMD_SFH_HID) += amd-sfh-hid/
174174

175+
obj-$(CONFIG_HID_DOCKCHANNEL) += dockchannel-hid/
176+
177+
obj-$(CONFIG_SPI_HID_APPLE_CORE) += spi-hid/
178+
179+
obj-$(CONFIG_HID_DOCKCHANNEL) += dockchannel-hid/
180+
175181
obj-$(CONFIG_SURFACE_HID_CORE) += surface-hid/
176182

177183
obj-$(CONFIG_INTEL_THC_HID) += intel-thc-hid/
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# SPDX-License-Identifier: GPL-2.0-only OR MIT
2+
menu "DockChannel HID support"
3+
depends on APPLE_DOCKCHANNEL
4+
5+
config HID_DOCKCHANNEL
6+
tristate "HID over DockChannel transport layer for Apple Silicon SoCs"
7+
depends on APPLE_DOCKCHANNEL && INPUT && OF && HID
8+
help
9+
Say Y here if you use an M2 or later Apple Silicon based laptop.
10+
The keyboard and touchpad are HID based devices connected via the
11+
proprietary DockChannel interface.
12+
13+
endmenu
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# SPDX-License-Identifier: GPL-2.0-only OR MIT
2+
#
3+
# Makefile for DockChannel HID transport drivers
4+
#
5+
6+
obj-$(CONFIG_HID_DOCKCHANNEL) += dockchannel-hid.o

0 commit comments

Comments
 (0)