Skip to content

Commit f6439c5

Browse files
committed
thunderbolt: Add support for Intel Tiger Lake-H
Intel Tiger Lake-H has the same Thunderbolt/USB4 controller as Tiger Lake-LP. Add the Tiger Lake-H PCI IDs to the driver list of supported devices. Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
1 parent f8fa2c2 commit f6439c5

4 files changed

Lines changed: 10 additions & 0 deletions

File tree

drivers/thunderbolt/icm.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2284,6 +2284,8 @@ struct tb *icm_probe(struct tb_nhi *nhi)
22842284

22852285
case PCI_DEVICE_ID_INTEL_TGL_NHI0:
22862286
case PCI_DEVICE_ID_INTEL_TGL_NHI1:
2287+
case PCI_DEVICE_ID_INTEL_TGL_H_NHI0:
2288+
case PCI_DEVICE_ID_INTEL_TGL_H_NHI1:
22872289
icm->is_supported = icm_tgl_is_supported;
22882290
icm->driver_ready = icm_icl_driver_ready;
22892291
icm->set_uuid = icm_icl_set_uuid;

drivers/thunderbolt/nhi.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1345,6 +1345,10 @@ static struct pci_device_id nhi_ids[] = {
13451345
.driver_data = (kernel_ulong_t)&icl_nhi_ops },
13461346
{ PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_TGL_NHI1),
13471347
.driver_data = (kernel_ulong_t)&icl_nhi_ops },
1348+
{ PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_TGL_H_NHI0),
1349+
.driver_data = (kernel_ulong_t)&icl_nhi_ops },
1350+
{ PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_TGL_H_NHI1),
1351+
.driver_data = (kernel_ulong_t)&icl_nhi_ops },
13481352

13491353
/* Any USB4 compliant host */
13501354
{ PCI_DEVICE_CLASS(PCI_CLASS_SERIAL_USB_USB4, ~0) },

drivers/thunderbolt/nhi.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ extern const struct tb_nhi_ops icl_nhi_ops;
7575
#define PCI_DEVICE_ID_INTEL_ICL_NHI0 0x8a17
7676
#define PCI_DEVICE_ID_INTEL_TGL_NHI0 0x9a1b
7777
#define PCI_DEVICE_ID_INTEL_TGL_NHI1 0x9a1d
78+
#define PCI_DEVICE_ID_INTEL_TGL_H_NHI0 0x9a1f
79+
#define PCI_DEVICE_ID_INTEL_TGL_H_NHI1 0x9a21
7880

7981
#define PCI_CLASS_SERIAL_USB_USB4 0x0c0340
8082

drivers/thunderbolt/tb.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -784,6 +784,8 @@ static inline bool tb_switch_is_tiger_lake(const struct tb_switch *sw)
784784
switch (sw->config.device_id) {
785785
case PCI_DEVICE_ID_INTEL_TGL_NHI0:
786786
case PCI_DEVICE_ID_INTEL_TGL_NHI1:
787+
case PCI_DEVICE_ID_INTEL_TGL_H_NHI0:
788+
case PCI_DEVICE_ID_INTEL_TGL_H_NHI1:
787789
return true;
788790
}
789791
}

0 commit comments

Comments
 (0)