]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jan 2025 12:25:01 +0000 (13:25 +0100)
[ Upstream commit 2cd3da4e37453019e21a486d9de3144f46b4fdf7 ]

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>
Stable-dep-of: 8644b48714dc ("thunderbolt: Add support for Intel Panther Lake-M/P")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/thunderbolt/nhi.c
drivers/thunderbolt/nhi.h

index 331157b99e24d0fca59e22bf9620cf914cc2cf61..ada11c239e738338ef4f9e27943ee4cae5c4d724 100644 (file)
@@ -1363,6 +1363,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 c15a0c46c9cff5a60c248d9f41b1def07055f410..4b0fccf033e15121b399e809dbbd87637ab2fd95 100644 (file)
@@ -88,6 +88,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