Skip to content

Commit 704449c

Browse files
marcanjannau
authored andcommitted
HID: add HOST vendor/device IDs for Apple MTP devices
Apple M2 chips have an embedded MTP processor that handles all HID functions, and does not go over a traditional bus like SPI. The devices still have real IDs, so add them here. Signed-off-by: Hector Martin <marcan@marcan.st>
1 parent 4113733 commit 704449c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

drivers/hid/hid-ids.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
#define USB_VENDOR_ID_APPLE 0x05ac
9191
#define BT_VENDOR_ID_APPLE 0x004c
9292
#define SPI_VENDOR_ID_APPLE 0x05ac
93+
#define HOST_VENDOR_ID_APPLE 0x05ac
9394
#define USB_DEVICE_ID_APPLE_MIGHTYMOUSE 0x0304
9495
#define USB_DEVICE_ID_APPLE_MAGICMOUSE 0x030d
9596
#define USB_DEVICE_ID_APPLE_MAGICMOUSE2 0x0269
@@ -192,6 +193,8 @@
192193
#define SPI_DEVICE_ID_APPLE_MACBOOK_PRO13_2020 0x0341
193194
#define SPI_DEVICE_ID_APPLE_MACBOOK_PRO14_2021 0x0342
194195
#define SPI_DEVICE_ID_APPLE_MACBOOK_PRO16_2021 0x0343
196+
#define HOST_DEVICE_ID_APPLE_MACBOOK_AIR13_2022 0x0351
197+
#define HOST_DEVICE_ID_APPLE_MACBOOK_PRO13_2022 0x0354
195198

196199
#define USB_VENDOR_ID_ASUS 0x0486
197200
#define USB_DEVICE_ID_ASUS_T91MT 0x0185

0 commit comments

Comments
 (0)