[PATCH 0/3] Introduce Thunderbolt/USB4 <-> USB Type-C port mapping

Alan Borzeszkowski
2025-04-14T17:55:59Z

Hello everyone,

This patch series introduces the creation of symlinks between
Thunderbolt/USB4 ports and their corresponding USB Type-C ports. The
primary goal is to provide users with clear visibility into which USB4
port is connected via a specific Type-C port. This provides the same
functionality that is already present in Chromebooks.

Alan Borzeszkowski (3):
thunderbolt: Expose usb4_port_index() to other modules
thunderbolt: Add Thunderbolt/USB4 <-> USB3 match function
usb: typec: Connect Type-C port with associated USB4 port

drivers/thunderbolt/tb.h | 1 +
drivers/thunderbolt/usb4.c | 14 +++++++--
drivers/thunderbolt/usb4_port.c | 56 ++++++++++++++++++++++++++++-----
drivers/usb/typec/port-mapper.c | 23 ++++++++++++--
include/linux/thunderbolt.h | 18 +++++++++++
5 files changed, 99 insertions(+), 13 deletions(-)

base-commit: 306a14d03f47fa152c7e47be544d8d582d387a20
--
2.43.0