]> www.infradead.org Git - users/hch/misc.git/commitdiff
HID: intel-ish-hid: ipc: Add Panther Lake PCI device IDs
authorZhang Lixu <lixu.zhang@intel.com>
Thu, 23 Jan 2025 01:30:44 +0000 (09:30 +0800)
committerJiri Kosina <jkosina@suse.com>
Mon, 3 Feb 2025 21:58:49 +0000 (22:58 +0100)
Add device IDs of Panther Lake-H and Panther Lake-P into ishtp support
list.

Signed-off-by: Zhang Lixu <lixu.zhang@intel.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/intel-ish-hid/ipc/hw-ish.h
drivers/hid/intel-ish-hid/ipc/pci-ish.c

index cdd80c653918b282a565ff212d27052ea6182c7b..07e90d51f073cc21f89612e128318703d5f6e390 100644 (file)
@@ -36,6 +36,8 @@
 #define PCI_DEVICE_ID_INTEL_ISH_ARL_H          0x7745
 #define PCI_DEVICE_ID_INTEL_ISH_ARL_S          0x7F78
 #define PCI_DEVICE_ID_INTEL_ISH_LNL_M          0xA845
+#define PCI_DEVICE_ID_INTEL_ISH_PTL_H          0xE345
+#define PCI_DEVICE_ID_INTEL_ISH_PTL_P          0xE445
 
 #define        REVISION_ID_CHT_A0      0x6
 #define        REVISION_ID_CHT_Ax_SI   0x0
index 9e2401291a2f67181c7f0aeb50969f3a3b746336..ff0fc80100728427a3c4f4ee5fe53e32794d5472 100644 (file)
 enum ishtp_driver_data_index {
        ISHTP_DRIVER_DATA_NONE,
        ISHTP_DRIVER_DATA_LNL_M,
+       ISHTP_DRIVER_DATA_PTL,
 };
 
 #define ISH_FW_GEN_LNL_M "lnlm"
+#define ISH_FW_GEN_PTL "ptl"
 
 #define ISH_FIRMWARE_PATH(gen) "intel/ish/ish_" gen ".bin"
 #define ISH_FIRMWARE_PATH_ALL "intel/ish/ish_*.bin"
@@ -37,6 +39,9 @@ static struct ishtp_driver_data ishtp_driver_data[] = {
        [ISHTP_DRIVER_DATA_LNL_M] = {
                .fw_generation = ISH_FW_GEN_LNL_M,
        },
+       [ISHTP_DRIVER_DATA_PTL] = {
+               .fw_generation = ISH_FW_GEN_PTL,
+       },
 };
 
 static const struct pci_device_id ish_pci_tbl[] = {
@@ -63,6 +68,8 @@ static const struct pci_device_id ish_pci_tbl[] = {
        {PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_ISH_ARL_H)},
        {PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_ISH_ARL_S)},
        {PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_ISH_LNL_M), .driver_data = ISHTP_DRIVER_DATA_LNL_M},
+       {PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_ISH_PTL_H), .driver_data = ISHTP_DRIVER_DATA_PTL},
+       {PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_ISH_PTL_P), .driver_data = ISHTP_DRIVER_DATA_PTL},
        {}
 };
 MODULE_DEVICE_TABLE(pci, ish_pci_tbl);