thunderbolt: Add support for Intel Lunar Lake
authorMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 20 May 2022 10:47:11 +0000 (13:47 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 14 Dec 2023 06:07:45 +0000 (08:07 +0200)
Intel Lunar Lake has similar integrated Thunderbolt/USB4 controller as
Intel Meteor Lake with some small differences in the host router (it has
3 DP IN adapters for instance). Add the Intel Lunar Lake PCI IDs to the
driver list of supported devices.

Tested-by: Pengfei Xu <pengfei.xu@intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/nhi.c
drivers/thunderbolt/nhi.h

index 4b7bec74e89fbcf02b17ae44b54087dac01518b2..fb4f46e51753ab8f3952c7093489571d6a40a1b7 100644 (file)
@@ -1517,6 +1517,10 @@ static struct pci_device_id nhi_ids[] = {
          .driver_data = (kernel_ulong_t)&icl_nhi_ops },
        { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_MTL_P_NHI1),
          .driver_data = (kernel_ulong_t)&icl_nhi_ops },
+       { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_LNL_NHI0),
+         .driver_data = (kernel_ulong_t)&icl_nhi_ops },
+       { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_LNL_NHI1),
+         .driver_data = (kernel_ulong_t)&icl_nhi_ops },
        { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_BARLOW_RIDGE_HOST_80G_NHI) },
        { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_BARLOW_RIDGE_HOST_40G_NHI) },
 
index 0f029ce758825e0a05c16def1b7255f9742e338b..7a07c7c1a9c2c6782e238e8a5785a0fec1783dff 100644 (file)
@@ -90,6 +90,8 @@ extern const struct tb_nhi_ops icl_nhi_ops;
 #define PCI_DEVICE_ID_INTEL_TGL_H_NHI1                 0x9a21
 #define PCI_DEVICE_ID_INTEL_RPL_NHI0                   0xa73e
 #define PCI_DEVICE_ID_INTEL_RPL_NHI1                   0xa76d
+#define PCI_DEVICE_ID_INTEL_LNL_NHI0                   0xa833
+#define PCI_DEVICE_ID_INTEL_LNL_NHI1                   0xa834
 
 #define PCI_CLASS_SERIAL_USB_USB4                      0x0c0340