]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
thunderbolt: Add support for Intel Panther Lake-M/P
authorMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 14 May 2024 07:15:14 +0000 (10:15 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Dec 2024 13:02:09 +0000 (14:02 +0100)
commit 8644b48714dca8bf2f42a4ff8311de8efc9bd8c3 upstream.

Intel Panther Lake-M/P has the same integrated Thunderbolt/USB4
controller as Lunar Lake. Add these PCI IDs to the driver list of
supported devices.

Cc: stable@vger.kernel.org
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/thunderbolt/nhi.c
drivers/thunderbolt/nhi.h

index 7af2642b97cb8133f1e4d49854cb41f323c2c8ed..7c42e303740af2be3d7eff9013d9bb0ab8556c64 100644 (file)
@@ -1520,6 +1520,14 @@ static struct pci_device_id nhi_ids[] = {
          .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_PTL_M_NHI0),
+         .driver_data = (kernel_ulong_t)&icl_nhi_ops },
+       { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_PTL_M_NHI1),
+         .driver_data = (kernel_ulong_t)&icl_nhi_ops },
+       { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_PTL_P_NHI0),
+         .driver_data = (kernel_ulong_t)&icl_nhi_ops },
+       { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_PTL_P_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 7a07c7c1a9c2c6782e238e8a5785a0fec1783dff..16744f25a9a069edbe7b273aaf9af57dea68390d 100644 (file)
@@ -92,6 +92,10 @@ extern const struct tb_nhi_ops icl_nhi_ops;
 #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_DEVICE_ID_INTEL_PTL_M_NHI0                 0xe333
+#define PCI_DEVICE_ID_INTEL_PTL_M_NHI1                 0xe334
+#define PCI_DEVICE_ID_INTEL_PTL_P_NHI0                 0xe433
+#define PCI_DEVICE_ID_INTEL_PTL_P_NHI1                 0xe434
 
 #define PCI_CLASS_SERIAL_USB_USB4                      0x0c0340