mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-07-23 17:47:28 +08:00
39 lines
1.3 KiB
Diff
39 lines
1.3 KiB
Diff
From dce57a9616a44e9717b60366fc71d47c32d1b70b Mon Sep 17 00:00:00 2001
|
|
From: Hector Martin <marcan@marcan.st>
|
|
Date: Fri, 8 Jul 2022 00:29:43 +0900
|
|
Subject: [PATCH 125/171] 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>
|
|
---
|
|
drivers/hid/hid-ids.h | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
|
|
index 98f922774df9..7ecfa2622d53 100644
|
|
--- a/drivers/hid/hid-ids.h
|
|
+++ b/drivers/hid/hid-ids.h
|
|
@@ -90,6 +90,7 @@
|
|
#define USB_VENDOR_ID_APPLE 0x05ac
|
|
#define BT_VENDOR_ID_APPLE 0x004c
|
|
#define SPI_VENDOR_ID_APPLE 0x05ac
|
|
+#define HOST_VENDOR_ID_APPLE 0x05ac
|
|
#define USB_DEVICE_ID_APPLE_MIGHTYMOUSE 0x0304
|
|
#define USB_DEVICE_ID_APPLE_MAGICMOUSE 0x030d
|
|
#define USB_DEVICE_ID_APPLE_MAGICMOUSE2 0x0269
|
|
@@ -190,6 +191,8 @@
|
|
#define SPI_DEVICE_ID_APPLE_MACBOOK_PRO13_2020 0x0341
|
|
#define SPI_DEVICE_ID_APPLE_MACBOOK_PRO14_2021 0x0342
|
|
#define SPI_DEVICE_ID_APPLE_MACBOOK_PRO16_2021 0x0343
|
|
+#define HOST_DEVICE_ID_APPLE_MACBOOK_AIR13_2022 0x0351
|
|
+#define HOST_DEVICE_ID_APPLE_MACBOOK_PRO13_2022 0x0354
|
|
|
|
#define USB_VENDOR_ID_ASUS 0x0486
|
|
#define USB_DEVICE_ID_ASUS_T91MT 0x0185
|
|
--
|
|
2.34.1
|
|
|