Re: [PATCH v2 19/22] thunderbolt: Add Apple Silicon support
From: Sven Peter
Date: Wed Sep 09 2026 - 11:29:37 EST
Hi,
On 09.09.26 08:06, Mika Westerberg wrote:
[...]
If it is possible, I suggest to use the same way we do in ACPI side here:
https://learn.microsoft.com/en-us/windows-hardware/drivers/pci/dsd-for-pcie-root-ports#map-native-protocols-pcie-displayport-tunneled-through-usb4-to-usb4-host-routers
It was specifically designed so that it should support DT as well (that's
why it uses the device properties _DSD).
Oh, nice, I didn't know those existed. Konrad already has a PR open to add these to dt-schema [1] and a PR that already makes use of these for dwc3 [2].
I can just write generic code similar to the ACPI one then to add the device links and split it off from this series, though I think that dt-schema PR must be merged before we're allowed to use that representation.
I'll adjust the dt-bindings here for v3 to just drop the representation as OF ports/endpoints as well.
For the PCIe/DP tunnel notifications I should be able to use the same representation, possibly with an additional usb4-adapter-index property or similar to differentiate between the two DP IN adapters, once I get to that then.
[1] https://github.com/devicetree-org/dt-schema/pull/196
[2] https://lore.kernel.org/linux-usb/20260901-topic-dwc3_tunneling_state-v3-0-22fdced8de55@xxxxxxxxxxxxxxxx/
Sven