]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
HID: Intel-thc-hid: Intel-quicki2c: Add NVL Device IDs
authorEven Xu <even.xu@intel.com>
Tue, 17 Mar 2026 05:56:28 +0000 (13:56 +0800)
committerJiri Kosina <jkosina@suse.com>
Tue, 17 Mar 2026 22:59:50 +0000 (23:59 +0100)
Add Nova Lake THC QuickI2C device IDs to support list.

Signed-off-by: Even Xu <even.xu@intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/intel-thc-hid/intel-quicki2c/pci-quicki2c.c
drivers/hid/intel-thc-hid/intel-quicki2c/quicki2c-dev.h

index f178017352ba7251b532f1b34803e3b2cf715135..46d3e9a019995f1591c7c3a7833565a6157e9353 100644 (file)
@@ -26,6 +26,11 @@ static struct quicki2c_ddata ptl_ddata = {
        .max_interrupt_delay = MAX_RX_INTERRUPT_DELAY,
 };
 
+static struct quicki2c_ddata nvl_ddata = {
+       .max_detect_size = MAX_RX_DETECT_SIZE_NVL,
+       .max_interrupt_delay = MAX_RX_INTERRUPT_DELAY,
+};
+
 /* THC QuickI2C ACPI method to get device properties */
 /* HIDI2C device method */
 static guid_t i2c_hid_guid =
@@ -1032,6 +1037,8 @@ static const struct pci_device_id quicki2c_pci_tbl[] = {
        { PCI_DEVICE_DATA(INTEL, THC_PTL_U_DEVICE_ID_I2C_PORT2, &ptl_ddata) },
        { PCI_DEVICE_DATA(INTEL, THC_WCL_DEVICE_ID_I2C_PORT1, &ptl_ddata) },
        { PCI_DEVICE_DATA(INTEL, THC_WCL_DEVICE_ID_I2C_PORT2, &ptl_ddata) },
+       { PCI_DEVICE_DATA(INTEL, THC_NVL_H_DEVICE_ID_I2C_PORT1, &nvl_ddata) },
+       { PCI_DEVICE_DATA(INTEL, THC_NVL_H_DEVICE_ID_I2C_PORT2, &nvl_ddata) },
        { }
 };
 MODULE_DEVICE_TABLE(pci, quicki2c_pci_tbl);
index 33a1e3db1cb2aaddc541ebbf4725ee9b981c56bc..61dbdece59a13fc63f03867f2638cfc94f14ec35 100644 (file)
@@ -15,6 +15,8 @@
 #define PCI_DEVICE_ID_INTEL_THC_PTL_U_DEVICE_ID_I2C_PORT2      0xE44A
 #define PCI_DEVICE_ID_INTEL_THC_WCL_DEVICE_ID_I2C_PORT1        0x4D48
 #define PCI_DEVICE_ID_INTEL_THC_WCL_DEVICE_ID_I2C_PORT2        0x4D4A
+#define PCI_DEVICE_ID_INTEL_THC_NVL_H_DEVICE_ID_I2C_PORT1      0xD348
+#define PCI_DEVICE_ID_INTEL_THC_NVL_H_DEVICE_ID_I2C_PORT2      0xD34A
 
 /* Packet size value, the unit is 16 bytes */
 #define MAX_PACKET_SIZE_VALUE_LNL                      256
@@ -40,6 +42,8 @@
 
 /* PTL Max packet size detection capability is 255 Bytes */
 #define MAX_RX_DETECT_SIZE_PTL                 255
+/* NVL Max packet size detection capability is 64K Bytes */
+#define MAX_RX_DETECT_SIZE_NVL                 65535
 /* Max interrupt delay capability is 2.56ms */
 #define MAX_RX_INTERRUPT_DELAY                 256