Skip to content

Commit b69fe19

Browse files
committed
Merge branch 'bits/090-spi-hid' into asahi-wip
2 parents fe76dd1 + 5929706 commit b69fe19

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
@@ -732,7 +732,8 @@ config HID_MAGICMOUSE
732732
Support for the Apple Magic Mouse/Trackpad multi-touch.
733733

734734
Say Y here if you want support for the multi-touch features of the
735-
Apple Wireless "Magic" Mouse and the Apple Wireless "Magic" Trackpad.
735+
Apple Wireless "Magic" Mouse, the Apple Wireless "Magic" Trackpad and
736+
force touch Trackpads in Macbooks starting from 2015.
736737

737738
config HID_MALTRON
738739
tristate "Maltron L90 keyboard"
@@ -1449,4 +1450,8 @@ endif # HID
14491450

14501451
source "drivers/hid/usbhid/Kconfig"
14511452

1453+
source "drivers/hid/spi-hid/Kconfig"
1454+
1455+
source "drivers/hid/dockchannel-hid/Kconfig"
1456+
14521457
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)