Skip to content

Commit 21d842f

Browse files
committed
Merge branch 'bits/090-spi-hid' into asahi-wip
2 parents 066214a + 4398719 commit 21d842f

20 files changed

Lines changed: 3833 additions & 35 deletions

drivers/hid/Kconfig

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

732732
Say Y here if you want support for the multi-touch features of the
733-
Apple Wireless "Magic" Mouse and the Apple Wireless "Magic" Trackpad.
733+
Apple Wireless "Magic" Mouse, the Apple Wireless "Magic" Trackpad and
734+
force touch Trackpads in Macbooks starting from 2015.
734735

735736
config HID_MALTRON
736737
tristate "Maltron L90 keyboard"
@@ -1445,4 +1446,8 @@ endif # HID
14451446

14461447
source "drivers/hid/usbhid/Kconfig"
14471448

1449+
source "drivers/hid/spi-hid/Kconfig"
1450+
1451+
source "drivers/hid/dockchannel-hid/Kconfig"
1452+
14481453
endif # HID_SUPPORT

drivers/hid/Makefile

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

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

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

178184
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)