]> www.infradead.org Git - users/jedix/linux-maple.git/commit
thunderbolt: Add Thunderbolt/USB4 <-> USB3 match function
authorAlan Borzeszkowski <alan.borzeszkowski@linux.intel.com>
Mon, 14 Apr 2025 17:55:53 +0000 (19:55 +0200)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 17 Apr 2025 09:21:45 +0000 (12:21 +0300)
commite80c235994fd1d7004a4e5d64123f8f07ec80ade
treec7648f0ab1d999e8e6988d08d366de244eb41c53
parentf93b5e24640cdb375d9dc282a244b488ce0d5a07
thunderbolt: Add Thunderbolt/USB4 <-> USB3 match function

This function checks whether given USB4 port device matches with USB3.x
port device, using ACPI _DSD property.

It is designed to be used by component framework to match
USB4 ports with Type-C ports they are connected to.

Also, added USB4 config stub in case mapping function is not reachable.

Signed-off-by: Alan Borzeszkowski <alan.borzeszkowski@linux.intel.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/usb4_port.c
include/linux/thunderbolt.h