Skip to content

Commit 48e91af

Browse files
EvenxfJiri Kosina
authored andcommitted
HID: Intel-thc-hid: Intel-quickspi: Add NVL Device IDs
Add Nova Lake THC QuickSPI device IDs to support list. Signed-off-by: Even Xu <even.xu@intel.com> Signed-off-by: Jiri Kosina <jkosina@suse.com>
1 parent d56c9cc commit 48e91af

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

drivers/hid/intel-thc-hid/intel-quickspi/pci-quickspi.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ struct quickspi_driver_data arl = {
3737
.max_packet_size_value = MAX_PACKET_SIZE_VALUE_MTL,
3838
};
3939

40+
struct quickspi_driver_data nvl = {
41+
.max_packet_size_value = MAX_PACKET_SIZE_VALUE_LNL,
42+
};
43+
4044
/* THC QuickSPI ACPI method to get device properties */
4145
/* HIDSPI Method: {6e2ac436-0fcf-41af-a265-b32a220dcfab} */
4246
static guid_t hidspi_guid =
@@ -982,6 +986,8 @@ static const struct pci_device_id quickspi_pci_tbl[] = {
982986
{PCI_DEVICE_DATA(INTEL, THC_WCL_DEVICE_ID_SPI_PORT2, &ptl), },
983987
{PCI_DEVICE_DATA(INTEL, THC_ARL_DEVICE_ID_SPI_PORT1, &arl), },
984988
{PCI_DEVICE_DATA(INTEL, THC_ARL_DEVICE_ID_SPI_PORT2, &arl), },
989+
{PCI_DEVICE_DATA(INTEL, THC_NVL_H_DEVICE_ID_SPI_PORT1, &nvl), },
990+
{PCI_DEVICE_DATA(INTEL, THC_NVL_H_DEVICE_ID_SPI_PORT2, &nvl), },
985991
{}
986992
};
987993
MODULE_DEVICE_TABLE(pci, quickspi_pci_tbl);

drivers/hid/intel-thc-hid/intel-quickspi/quickspi-dev.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
#define PCI_DEVICE_ID_INTEL_THC_WCL_DEVICE_ID_SPI_PORT2 0x4D4B
2424
#define PCI_DEVICE_ID_INTEL_THC_ARL_DEVICE_ID_SPI_PORT1 0x7749
2525
#define PCI_DEVICE_ID_INTEL_THC_ARL_DEVICE_ID_SPI_PORT2 0x774B
26+
#define PCI_DEVICE_ID_INTEL_THC_NVL_H_DEVICE_ID_SPI_PORT1 0xD349
27+
#define PCI_DEVICE_ID_INTEL_THC_NVL_H_DEVICE_ID_SPI_PORT2 0xD34B
2628

2729
/* HIDSPI special ACPI parameters DSM methods */
2830
#define ACPI_QUICKSPI_REVISION_NUM 2

0 commit comments

Comments
 (0)