Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,11 @@ properties:
- const: rx

iommus:
maxItems: 1
minItems: 1
maxItems: 2
description:
DART streams of the transport. A second stream carries the coprocessor's
writes into the receive ring on firmware that has one.

apple,fifo-size:
$ref: /schemas/types.yaml#/definitions/uint32
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ properties:
maxItems: 1

iommus:
maxItems: 1
minItems: 1
maxItems: 2

apple,rtkit-handoff:
enum:
Expand Down
11 changes: 10 additions & 1 deletion arch/arm64/boot/dts/apple/t6050-k114-k116.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,11 @@
status = "disabled";
};

/* The helper and its HID transport share one IOMMU group, so both list streams 0 and 1. */
&mtp {
iommus = <&mtp_dart 0>, <&mtp_dart 1>;
};

/*
* The keyboard, trackpad and touchscreen: the HID transport on the MTP's
* DockChannel FIFO, laid out as on J716c (ADT dockchannel-mtp/mtp-transport).
Expand All @@ -200,7 +205,11 @@
reg = <0x8000 0x1000>, <0xc000 0x1000>,
<0x0 0x1000>, <0x4000 0x1000>;
reg-names = "config", "data", "rmt-config", "rmt-data";
iommus = <&mtp_dart 0>;
/*
* The coprocessor writes the MTP receive ring over DART stream 1. Both
* streams must be in one IOMMU group, so the helper lists the same two.
*/
iommus = <&mtp_dart 0>, <&mtp_dart 1>;
interrupt-parent = <&mtp_dockchannel>;
interrupts = <2 IRQ_TYPE_LEVEL_HIGH>,
<3 IRQ_TYPE_LEVEL_HIGH>;
Expand Down
Loading