Skip to content
Merged
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
15 changes: 15 additions & 0 deletions arch/arm64/boot/dts/apple/t6050-j714c.dts
Original file line number Diff line number Diff line change
Expand Up @@ -221,12 +221,27 @@
status = "okay";
};

/* The MTP and its DockChannel FIFO, which carry the keyboard and trackpad */
&mtp_mbox {
status = "okay";
};

&mtp_dart {
status = "okay";
};

&mtp {
status = "okay";
};

/*
* The keyboard and trackpad: the HID transport on the MTP's DockChannel FIFO.
* The J714c's MTP firmware owns the trackpad AFE reset, so there is no reset
* GPIO here, unlike the J716c.
*/
&mtp_dockchannel {
status = "okay";

mtp_hid: input@8000 {
compatible = "apple,dockchannel-hid";
reg = <0x8000 0x1000>, <0xc000 0x1000>,
Expand Down
15 changes: 15 additions & 0 deletions arch/arm64/boot/dts/apple/t6050-j714s.dts
Original file line number Diff line number Diff line change
Expand Up @@ -238,12 +238,27 @@
status = "okay";
};

/* The MTP and its DockChannel FIFO, which carry the keyboard and trackpad */
&mtp_mbox {
status = "okay";
};

&mtp_dart {
status = "okay";
};

&mtp {
status = "okay";
};

/*
* The keyboard and trackpad: the HID transport on the MTP's DockChannel FIFO
* (ADT dockchannel-mtp/mtp-transport: multi-touch, keyboard, stm, actuator,
* tp-accel), as on J716s.
*/
&mtp_dockchannel {
status = "okay";

mtp_hid: input@8000 {
compatible = "apple,dockchannel-hid";
reg = <0x8000 0x1000>, <0xc000 0x1000>,
Expand Down
15 changes: 15 additions & 0 deletions arch/arm64/boot/dts/apple/t6050-j716c.dts
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,23 @@
status = "okay";
};

/* The MTP and its DockChannel FIFO, which carry the keyboard and trackpad */
&mtp_mbox {
status = "okay";
};

&mtp_dart {
status = "okay";
};

&mtp {
status = "okay";
};

/* The keyboard and trackpad: the HID transport on the MTP's DockChannel FIFO */
&mtp_dockchannel {
status = "okay";

mtp_hid: input@8000 {
compatible = "apple,dockchannel-hid";
reg = <0x8000 0x1000>, <0xc000 0x1000>,
Expand Down
15 changes: 15 additions & 0 deletions arch/arm64/boot/dts/apple/t6050-j716s.dts
Original file line number Diff line number Diff line change
Expand Up @@ -527,8 +527,23 @@
status = "okay";
};

/* The MTP and its DockChannel FIFO, which carry the keyboard and trackpad */
&mtp_mbox {
status = "okay";
};

&mtp_dart {
status = "okay";
};

&mtp {
status = "okay";
};

/* The keyboard and trackpad: the HID transport on the MTP's DockChannel FIFO */
&mtp_dockchannel {
status = "okay";

mtp_hid: input@8000 {
compatible = "apple,dockchannel-hid";
reg = <0x8000 0x1000>, <0xc000 0x1000>,
Expand Down
15 changes: 15 additions & 0 deletions arch/arm64/boot/dts/apple/t6050-k114-k116.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -190,11 +190,26 @@
status = "disabled";
};

/* The MTP and its DockChannel FIFO, which carry the keyboard and trackpad */
&mtp_mbox {
status = "okay";
};

&mtp_dart {
status = "okay";
};

&mtp {
status = "okay";
};

/*
* The keyboard, trackpad and touchscreen: the HID transport on the MTP's
* DockChannel FIFO, laid out as on J716c (ADT dockchannel-mtp/mtp-transport).
*/
&mtp_dockchannel {
status = "okay";

mtp_hid: input@8000 {
compatible = "apple,dockchannel-hid";
reg = <0x8000 0x1000>, <0xc000 0x1000>,
Expand Down
9 changes: 9 additions & 0 deletions arch/arm64/boot/dts/apple/t6050-max.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,11 @@
* +0x8000; interrupts [677, 676, 679, 678]: 676..679 in send-empty, send-not-empty, recv-empty,
* recv-not-empty order), dart-mtp 0x294800000 (interrupt 659, SID 0, vm-base 0x100_00004000),
* dockchannel-mtp 0x294b14000 for its interrupts (660) and 0x294b28000.. for the FIFOs.
*
* Only the laptops have this block: their ADTs carry mtp, dart-mtp and dockchannel-mtp, while
* the desktops' (J775c, J873s) carry none of them, and nothing brings the MTP up there. Its
* registers are then not live, so the first access at probe takes an SError. The four nodes are
* therefore off here, and each laptop board that adds the HID transport turns them on.
*/
&die0 {
mtp_mbox: mailbox@294608000 {
Expand All @@ -151,6 +156,7 @@
interrupt-names = "send-empty", "send-not-empty",
"recv-empty", "recv-not-empty";
#mbox-cells = <0>;
status = "disabled";
};

mtp_dart: iommu@294800000 {
Expand All @@ -159,6 +165,7 @@
interrupts = <AIC_IRQ 0 659 IRQ_TYPE_LEVEL_HIGH>;
#iommu-cells = <1>;
apple,dma-range = <0x100 0x4000 0x0 0xffff0000>;
status = "disabled";
};

mtp: mtp@294600000 {
Expand All @@ -170,6 +177,7 @@
mboxes = <&mtp_mbox>;
iommus = <&mtp_dart 0>;
#helper-cells = <0>;
status = "disabled";
};

mtp_dockchannel: fifo@294b14000 {
Expand All @@ -183,6 +191,7 @@
#size-cells = <1>;
interrupt-controller;
#interrupt-cells = <2>;
status = "disabled";
};

#if defined(T6050_J714C) || defined(T6050_J716C)
Expand Down
Loading