Skip to content

Commit 5cdb49a

Browse files
lixuzhaJiri Kosina
authored andcommitted
HID: intel-ish-hid: ipc: Add Wildcat Lake PCI device ID
Add device ID of Wildcat Lake into ishtp support list. Signed-off-by: Zhang Lixu <[email protected]> Acked-by: Srinivas Pandruvada <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent 0e97f5b commit 5cdb49a

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

drivers/hid/intel-ish-hid/ipc/hw-ish.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
#define PCI_DEVICE_ID_INTEL_ISH_LNL_M 0xA845
3939
#define PCI_DEVICE_ID_INTEL_ISH_PTL_H 0xE345
4040
#define PCI_DEVICE_ID_INTEL_ISH_PTL_P 0xE445
41+
#define PCI_DEVICE_ID_INTEL_ISH_WCL 0x4D45
4142

4243
#define REVISION_ID_CHT_A0 0x6
4344
#define REVISION_ID_CHT_Ax_SI 0x0

drivers/hid/intel-ish-hid/ipc/pci-ish.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,12 @@ enum ishtp_driver_data_index {
2727
ISHTP_DRIVER_DATA_NONE,
2828
ISHTP_DRIVER_DATA_LNL_M,
2929
ISHTP_DRIVER_DATA_PTL,
30+
ISHTP_DRIVER_DATA_WCL,
3031
};
3132

3233
#define ISH_FW_GEN_LNL_M "lnlm"
3334
#define ISH_FW_GEN_PTL "ptl"
35+
#define ISH_FW_GEN_WCL "wcl"
3436

3537
#define ISH_FIRMWARE_PATH(gen) "intel/ish/ish_" gen ".bin"
3638
#define ISH_FIRMWARE_PATH_ALL "intel/ish/ish_*.bin"
@@ -42,6 +44,9 @@ static struct ishtp_driver_data ishtp_driver_data[] = {
4244
[ISHTP_DRIVER_DATA_PTL] = {
4345
.fw_generation = ISH_FW_GEN_PTL,
4446
},
47+
[ISHTP_DRIVER_DATA_WCL] = {
48+
.fw_generation = ISH_FW_GEN_WCL,
49+
},
4550
};
4651

4752
static const struct pci_device_id ish_pci_tbl[] = {
@@ -70,6 +75,7 @@ static const struct pci_device_id ish_pci_tbl[] = {
7075
{PCI_DEVICE_DATA(INTEL, ISH_LNL_M, ISHTP_DRIVER_DATA_LNL_M)},
7176
{PCI_DEVICE_DATA(INTEL, ISH_PTL_H, ISHTP_DRIVER_DATA_PTL)},
7277
{PCI_DEVICE_DATA(INTEL, ISH_PTL_P, ISHTP_DRIVER_DATA_PTL)},
78+
{PCI_DEVICE_DATA(INTEL, ISH_WCL, ISHTP_DRIVER_DATA_WCL)},
7379
{}
7480
};
7581
MODULE_DEVICE_TABLE(pci, ish_pci_tbl);

0 commit comments

Comments
 (0)