linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/3] Apple M1 USB4/Thunderbolt DART support
@ 2023-11-26 15:16 Sven Peter
  2023-11-26 15:16 ` [PATCH v4 1/3] dt-bindings: iommu: dart: Add t8103-usb4-dart compatible Sven Peter
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Sven Peter @ 2023-11-26 15:16 UTC (permalink / raw)
  To: Hector Martin, Sven Peter
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Alyssa Rosenzweig,
	Joerg Roedel, Will Deacon, Robin Murphy, linux-arm-kernel, asahi,
	iommu, devicetree, linux-kernel

Hi,

The M1 SoCs have a second slightly different variant of the regular
DART used for the USB4 PCIe ports. It supports 64 instead of 16 streams
which requires a minor change to the MMIO layout.
There seems to be no way to tell them apart from the regular DARTs by
just looking at the DART_PARAMs register so we have to add a new
compatible for those.

Changes since v3:
  none

Changes since v2:
  - drop the manual bypass disable
  - added Rob's tag

Changes since v1:
  - apple,t8103-usb4-dart instead of apple,t8103-dart-usb4 as the
    compatible
  - collected Hector's tags

Best,

Sven

Sven Peter (3):
  dt-bindings: iommu: dart: Add t8103-usb4-dart compatible
  iommu: dart: Write to all DART_T8020_STREAM_SELECT
  iommu: dart: Add support for t8103 USB4 DART

 .../devicetree/bindings/iommu/apple,dart.yaml |  1 +
 drivers/iommu/apple-dart.c                    | 35 +++++++++++++++++--
 2 files changed, 34 insertions(+), 2 deletions(-)

-- 
2.34.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-11-27 10:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-26 15:16 [PATCH v4 0/3] Apple M1 USB4/Thunderbolt DART support Sven Peter
2023-11-26 15:16 ` [PATCH v4 1/3] dt-bindings: iommu: dart: Add t8103-usb4-dart compatible Sven Peter
2023-11-26 15:17 ` [PATCH v4 2/3] iommu: dart: Write to all DART_T8020_STREAM_SELECT Sven Peter
2023-11-26 15:17 ` [PATCH v4 3/3] iommu: dart: Add support for t8103 USB4 DART Sven Peter
2023-11-26 17:32 ` [PATCH v4 0/3] Apple M1 USB4/Thunderbolt DART support Neal Gompa
2023-11-27 10:15 ` Joerg Roedel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).