Skip to content

Commit 4856390

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 16c8fe7 commit 4856390

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

drivers/hid/hid-ids.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@
9494
#define USB_VENDOR_ID_APPLE 0x05ac
9595
#define BT_VENDOR_ID_APPLE 0x004c
9696
#define SPI_VENDOR_ID_APPLE 0x05ac
97+
#define HOST_VENDOR_ID_APPLE 0x05ac
9798
#define USB_DEVICE_ID_APPLE_MIGHTYMOUSE 0x0304
9899
#define USB_DEVICE_ID_APPLE_MAGICMOUSE 0x030d
99100
#define USB_DEVICE_ID_APPLE_MAGICMOUSE2 0x0269
@@ -202,6 +203,10 @@
202203
#define SPI_DEVICE_ID_APPLE_MACBOOK_PRO13_2020 0x0341
203204
#define SPI_DEVICE_ID_APPLE_MACBOOK_PRO14_2021 0x0342
204205
#define SPI_DEVICE_ID_APPLE_MACBOOK_PRO16_2021 0x0343
206+
#define HOST_DEVICE_ID_APPLE_MACBOOK_AIR13_2022 0x0351
207+
#define HOST_DEVICE_ID_APPLE_MACBOOK_PRO14_2023 0x0352
208+
#define HOST_DEVICE_ID_APPLE_MACBOOK_PRO16_2023 0x0353
209+
#define HOST_DEVICE_ID_APPLE_MACBOOK_PRO13_2022 0x0354
205210

206211
#define USB_VENDOR_ID_ASETEK 0x2433
207212
#define USB_DEVICE_ID_ASETEK_INVICTA 0xf300

0 commit comments

Comments
 (0)