Skip to content

Commit 32249fd

Browse files
committed
thunderbolt: Add support for Intel Meteor Lake
Intel Meteor Lake has the same integrated Thunderbolt/USB4 controller as Intel Alder Lake. Add the Intel Meteor Lake PCI IDs to the driver list of supported devices. Signed-off-by: Mika Westerberg <[email protected]>
1 parent 1c1aac9 commit 32249fd

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

drivers/thunderbolt/icm.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2518,6 +2518,9 @@ struct tb *icm_probe(struct tb_nhi *nhi)
25182518
case PCI_DEVICE_ID_INTEL_ADL_NHI1:
25192519
case PCI_DEVICE_ID_INTEL_RPL_NHI0:
25202520
case PCI_DEVICE_ID_INTEL_RPL_NHI1:
2521+
case PCI_DEVICE_ID_INTEL_MTL_M_NHI0:
2522+
case PCI_DEVICE_ID_INTEL_MTL_P_NHI0:
2523+
case PCI_DEVICE_ID_INTEL_MTL_P_NHI1:
25212524
icm->is_supported = icm_tgl_is_supported;
25222525
icm->driver_ready = icm_icl_driver_ready;
25232526
icm->set_uuid = icm_icl_set_uuid;

drivers/thunderbolt/nhi.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1415,6 +1415,12 @@ static struct pci_device_id nhi_ids[] = {
14151415
.driver_data = (kernel_ulong_t)&icl_nhi_ops },
14161416
{ PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_RPL_NHI1),
14171417
.driver_data = (kernel_ulong_t)&icl_nhi_ops },
1418+
{ PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_MTL_M_NHI0),
1419+
.driver_data = (kernel_ulong_t)&icl_nhi_ops },
1420+
{ PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_MTL_P_NHI0),
1421+
.driver_data = (kernel_ulong_t)&icl_nhi_ops },
1422+
{ PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_MTL_P_NHI1),
1423+
.driver_data = (kernel_ulong_t)&icl_nhi_ops },
14181424

14191425
/* Any USB4 compliant host */
14201426
{ PCI_DEVICE_CLASS(PCI_CLASS_SERIAL_USB_USB4, ~0) },

drivers/thunderbolt/nhi.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ extern const struct tb_nhi_ops icl_nhi_ops;
7474
#define PCI_DEVICE_ID_INTEL_TITAN_RIDGE_DD_BRIDGE 0x15ef
7575
#define PCI_DEVICE_ID_INTEL_ADL_NHI0 0x463e
7676
#define PCI_DEVICE_ID_INTEL_ADL_NHI1 0x466d
77+
#define PCI_DEVICE_ID_INTEL_MTL_M_NHI0 0x7eb2
78+
#define PCI_DEVICE_ID_INTEL_MTL_P_NHI0 0x7ec2
79+
#define PCI_DEVICE_ID_INTEL_MTL_P_NHI1 0x7ec3
7780
#define PCI_DEVICE_ID_INTEL_ICL_NHI1 0x8a0d
7881
#define PCI_DEVICE_ID_INTEL_ICL_NHI0 0x8a17
7982
#define PCI_DEVICE_ID_INTEL_TGL_NHI0 0x9a1b

0 commit comments

Comments
 (0)