Skip to content

Commit 6f14a21

Browse files
committed
thunderbolt: Add Intel Barlow Ridge PCI ID
Intel Barlow Ridge is the first USB4 v2 controller from Intel. The controller exposes standard USB4 PCI class ID in typical configurations, however there is a way to configure it so that it uses a special class ID to allow using s different driver than the Windows inbox one. For this reason add the Barlow Ridge PCI ID to the Linux driver too so that the driver can attach regardless of the class ID. Tested-by: Pengfei Xu <pengfei.xu@intel.com> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
1 parent 0209c80 commit 6f14a21

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

drivers/thunderbolt/nhi.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1517,6 +1517,8 @@ static struct pci_device_id nhi_ids[] = {
15171517
.driver_data = (kernel_ulong_t)&icl_nhi_ops },
15181518
{ PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_MTL_P_NHI1),
15191519
.driver_data = (kernel_ulong_t)&icl_nhi_ops },
1520+
{ PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_BARLOW_RIDGE_HOST_80G_NHI) },
1521+
{ PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_BARLOW_RIDGE_HOST_40G_NHI) },
15201522

15211523
/* Any USB4 compliant host */
15221524
{ 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_TITAN_RIDGE_DD_BRIDGE 0x15ef
7676
#define PCI_DEVICE_ID_INTEL_ADL_NHI0 0x463e
7777
#define PCI_DEVICE_ID_INTEL_ADL_NHI1 0x466d
78+
#define PCI_DEVICE_ID_INTEL_BARLOW_RIDGE_HOST_80G_NHI 0x5781
79+
#define PCI_DEVICE_ID_INTEL_BARLOW_RIDGE_HOST_40G_NHI 0x5784
7880
#define PCI_DEVICE_ID_INTEL_MTL_M_NHI0 0x7eb2
7981
#define PCI_DEVICE_ID_INTEL_MTL_P_NHI0 0x7ec2
8082
#define PCI_DEVICE_ID_INTEL_MTL_P_NHI1 0x7ec3

0 commit comments

Comments
 (0)