thunderbolt: Add support for Intel Raptor Lake
Subsystems (2)
PATCH 1/1 thunderbolt: Add support for Intel Raptor Lake
From: George D Sworo <[email protected]>
Raptor Lake has the same integrated Thunderbolt/USB4 controller as Intel Alder Lake. By default it is still using firmware based connection manager so we can use most of the Alder Lake flows.
--- drivers/thunderbolt/icm.c | 2 ++ drivers/thunderbolt/nhi.c | 4 ++++ drivers/thunderbolt/nhi.h | 2 ++ 3 files changed, 8 insertions(+)
drivers/thunderbolt/icm.c +2 -0
@@ -2516,6 +2516,8 @@ struct tb *icm_probe(struct tb_nhi *nhi)case PCI_DEVICE_ID_INTEL_TGL_H_NHI1 :case PCI_DEVICE_ID_INTEL_ADL_NHI0 :case PCI_DEVICE_ID_INTEL_ADL_NHI1 : +case PCI_DEVICE_ID_INTEL_RPL_NHI0 : +case PCI_DEVICE_ID_INTEL_RPL_NHI1 : icm->is_supported = icm_tgl_is_supported; icm->driver_ready = icm_icl_driver_ready; icm->set_uuid = icm_icl_set_uuid;
drivers/thunderbolt/nhi.c +4 -0
@@ -1366,6 +1366,10 @@ static struct pci_device_id nhi_ids[] = { .driver_data = (kernel_ulong_t)&icl_nhi_ops }, { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_ADL_NHI1), .driver_data = (kernel_ulong_t)&icl_nhi_ops }, + { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_RPL_NHI0), + .driver_data = (kernel_ulong_t)&icl_nhi_ops }, + { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_RPL_NHI1), + .driver_data = (kernel_ulong_t)&icl_nhi_ops },/* Any USB4 compliant host */ { PCI_DEVICE_CLASS(PCI_CLASS_SERIAL_USB_USB4, ~0) },
drivers/thunderbolt/nhi.h +2 -0
@@ -72,6 +72,8 @@ extern const struct tb_nhi_ops icl_nhi_ops;#define PCI_DEVICE_ID_INTEL_TITAN_RIDGE_4C_BRIDGE 0x15ea#define PCI_DEVICE_ID_INTEL_TITAN_RIDGE_4C_NHI 0x15eb#define PCI_DEVICE_ID_INTEL_TITAN_RIDGE_DD_BRIDGE 0x15ef +#define PCI_DEVICE_ID_INTEL_RPL_NHI0 0xa73e +#define PCI_DEVICE_ID_INTEL_RPL_NHI1 0xa76d#define PCI_DEVICE_ID_INTEL_ADL_NHI0 0x463e#define PCI_DEVICE_ID_INTEL_ADL_NHI1 0x466d#define PCI_DEVICE_ID_INTEL_ICL_NHI1 0x8a0d
Signature · 1 line
2.17.1
Hi George,
Quoted 8 lines · George D Sworo
From: George D Sworo <[email protected]>
Raptor Lake has the same integrated Thunderbolt/USB4 controller as Intel Alder Lake. By default it is still using firmware based connection manager so we can use most of the Alder Lake flows.
Signed-off-by George D Sworo <[email protected]>Change-Id Ida8d0876913baa1ffb3c0bc888d6503f3175406e
This does not belong to the kernel changelogs so I dropped it. I also moved the PCI IDs to follow the numeric ordering in nhi.h. With those changes I applied to thunderbolt.git/next, thanks!
I assume you have actually tested this on RPL?
Quoted 9 lines · Mika Westerberg
Hi George,
Quoted 6 lines · George D Sworo
From: George D Sworo <[email protected]>
Raptor Lake has the same integrated Thunderbolt/USB4 controller as Intel Alder Lake. By default it is still using firmware based connection manager so we can use most of the Alder Lake flows.
Quoted 8 lines
Quoted 2 lines
Signed-off-by George D Sworo <[email protected]>Change-Id Ida8d0876913baa1ffb3c0bc888d6503f3175406eThis does not belong to the kernel changelogs so I dropped it. I also moved the PCI IDs to follow the numeric ordering in
nhi.h. With those changes I applied to thunderbolt.git/next, thanks!I assume you have actually tested this on RPL?
Yes. We have tested and verified
Thanks