Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
dafefeb
Merge integration/aurora 3cd5e0bb7671 into the J873g USB4 stack
sithglan Nov 23, 2026
b620188
dt-bindings: phy: apple,atcphy: add the T8152 fixed-USB3 PHY
sithglan Nov 19, 2026
2273dcf
phy: apple: atc: add T8152 for a fixed-USB3 port
sithglan Nov 19, 2026
cc129b6
arm64: dts: apple: j873: USB3 on the front ports
sithglan Nov 19, 2026
2695b85
dt-bindings: apple: describe T8142 USB4 and PCIe-C
sithglan Nov 17, 2026
3287c55
PCI: apple: support T8142 PCIe-C MSI slices
sithglan Nov 17, 2026
587148e
dt-bindings: mailbox: apple,mailbox: add the T8152 ACIO mailbox
sithglan Nov 19, 2026
71033d0
dt-bindings: reset: apple,t8103-cio-reset: add T8152
sithglan Nov 17, 2026
bc0c7fd
reset: apple-cio: add T8152
sithglan Nov 17, 2026
14ebf73
dt-bindings: iommu: apple,dart: add the T8152 ACIO and PCIe-C DARTs
sithglan Nov 17, 2026
4859b9f
iommu: apple-dart: initialize the cold T8152 ACIO and PCIe-C DARTs
sithglan Nov 23, 2026
097d8ff
dt-bindings: pci: apple,pcie: add T8152 PCIe-C
sithglan Nov 17, 2026
7dd09da
PCI: apple: add T8152 PCIe-C
sithglan Nov 19, 2026
58a5cb1
dt-bindings: thunderbolt: add the T8152 USB4 routers
sithglan Nov 17, 2026
cfb210c
thunderbolt: apple: support the T8152 routers
sithglan Nov 17, 2026
8148fc3
dt-bindings: phy: apple,atcphy: add the T8152 Type-C ports in CIO mode
sithglan Nov 20, 2026
f50b17d
phy: apple: atc: run the T8152 Type-C ports in CIO mode
sithglan Nov 20, 2026
d35db36
dt-bindings: display: apple,t8152-dcp-iboot: add the USB-C ports' PHYs
sithglan Nov 20, 2026
5e18531
drm/apple: power the T8152 ATC PHYs through their PHY driver
sithglan Nov 20, 2026
c61cdee
arm64: dts: apple: t8152-j873g: describe the rear ports' ATC PHYs
sithglan Nov 20, 2026
a714359
thunderbolt: apple: stop the T8152 routers before a reboot
sithglan Nov 20, 2026
e251b2c
arm64: dts: apple: t8152-j873g: enable the rear USB4 ports
sithglan Nov 20, 2026
1b969ed
arm64: dts: apple: t8152-j873g: power domains for the ACIO DARTs
sithglan Nov 22, 2026
55d7bb2
Merge the #2486 merge of main into thomas/j873-usb4
sithglan Nov 24, 2026
c64dfbc
phy: apple: atc: refuse T8152 USB4 before powering up without tunables
sithglan Nov 24, 2026
91a6d06
Merge branch 'main' into thomas/j873-usb4
sithglan Nov 24, 2026
c73f091
Merge branch 'main' into thomas/j873-usb4
sithglan Nov 24, 2026
77a5537
Merge branch 'main' into thomas/j873-usb4
sithglan Nov 24, 2026
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 @@ -243,6 +243,14 @@ patternProperties:
apple,tunable-post:
$ref: /schemas/types.yaml#/definitions/uint32-matrix
description: As the node's apple,tunable-post, for this port's PHY.
phys:
maxItems: 1
description:
The port's ATC PHY in DisplayPort use (PHY_TYPE_DP). A DCP powers
it while it drives the PHY, from before its cold start until its
power-down, and keeps it powered for a display the bootloader
started; the PHY driver powers the PHY's domains meanwhile and
keeps it out of USB4. The PHY refuses this while it runs USB4.
mode-switch:
type: boolean
description:
Expand Down Expand Up @@ -315,6 +323,7 @@ examples:
<0x3 0x03a13a00 0x0 0xc0>;
reg-names = "atc", "atc-ps", "atc-psd";
apple,dfp-endpoint = <3>;
phys = <&atc3_phy 6>;
mode-switch;

port {
Expand Down
26 changes: 23 additions & 3 deletions Documentation/devicetree/bindings/iommu/apple,dart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ properties:
- apple,t8110-dart
- apple,t6000-dart
- apple,t8152-dart-gen3
- apple,t8152-acio-dart
- apple,t8152-pciec-dart
- apple,t8152-avd-dart
- items:
- const: apple,t8140-ane-dart
Expand Down Expand Up @@ -384,6 +386,8 @@ allOf:
contains:
enum:
- apple,t8152-dart-gen3
- apple,t8152-acio-dart
- apple,t8152-pciec-dart
- apple,t8152-avd-dart
then:
description:
Expand All @@ -392,9 +396,12 @@ allOf:
locked, and the operating system only adds page table entries in
root slots that are empty at handoff. Their TLB command register
answers translation queries; a stream is invalidated through the
TLB invalidation aperture instead. The T8152 AVD instance uses the
same invalidation aperture, but starts unlocked with inactive streams
and is initialized by the operating system after its PSD domain is on.
TLB invalidation aperture instead. The DARTs of the rear USB4
routers (ACIO NHI streams) and of their PCIe-C tunnels use the same
invalidation aperture, each at its own slot, but start unlocked with
inactive streams and are initialized by the operating system.
The T8152 AVD instance uses the same aperture, starts unlocked with
inactive streams and is initialized after its PSD domain is on.
properties:
reg:
minItems: 2
Expand Down Expand Up @@ -423,6 +430,19 @@ allOf:
- apple,dma-range
- apple,tunable

- if:
properties:
compatible:
contains:
enum:
- apple,t8152-acio-dart
- apple,t8152-pciec-dart
then:
# apple,tunable: the bootloader copies it from the ADT (dart-acioN,
# dart-apciecN); a device tree describes these DARTs without one.
required:
- apple,dma-range

additionalProperties: false

examples:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,14 @@ properties:
recv-not-empty interrupts.
const: apple,t8152-ascwrap-v8-mailbox

- description:
T8152 ACIO mailbox of a USB4 router's coprocessor, a 0x80 window
with the counted FIFOs of the SMC mailbox, described with its
send-empty and recv-not-empty interrupts.
items:
- const: apple,t8152-cio-mailbox
- const: apple,t8152-smc-mailbox

- description:
ASC mailboxes are the most common variant found on the M1 used
for example for the display controller, the system management
Expand Down
3 changes: 3 additions & 0 deletions Documentation/devicetree/bindings/pci/apple,pcie.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ properties:
- const: apple,t6000-pciec
- const: apple,t6050-pciec
- const: apple,t8142-pciec
- const: apple,t8152-pciec
- items:
- const: apple,t8132-pciec
- const: apple,t8122-pciec
Expand Down Expand Up @@ -376,6 +377,7 @@ allOf:
enum:
- apple,t8132-pciec
- apple,t8142-pciec
- apple,t8152-pciec
- apple,t6040-pciec
then:
required:
Expand Down Expand Up @@ -504,6 +506,7 @@ allOf:
- apple,t6040-pciec
- apple,t6050-pciec
- apple,t8142-pciec
- apple,t8152-pciec
then:
properties:
reg:
Expand Down
85 changes: 68 additions & 17 deletions Documentation/devicetree/bindings/phy/apple,atcphy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,17 @@ description: >
DisplayPort also requires separate bootloader-provided calibration lists
for that bank and the common configuration in the lpdptx region.

The T8152 variant is supported as the USB3 PHY of a fixed-USB3 port only,
see apple,fixed-usb3. It is described by its core and pipehandler banks; the
core bank also holds the USB controller's DARTs. Its power domains are the
ATC's PMGR power states and PSD service the PHY needs, in the order they are
powered up. Lane 0 is powered up and the crossbar set between the common-a
tunables and the others.
The T8152 variant is supported as the USB3 PHY of a fixed-USB3 port, see
apple,fixed-usb3, and as the PHY of a Type-C port in USB4/Thunderbolt
("Converged IO", CIO) mode alone. Its core bank also holds the USB
controller's DARTs. Its power domains are the ATC's PMGR power states and
PSD service the PHY needs, in the order they are powered up. The lanes of
the mode are powered up and the crossbar set between the common-a tunables
and the others. A fixed-USB3 port is described by its core and pipehandler
banks. A Type-C port is described by its core bank alone: its DisplayPort
alternate mode is driven by the display controller, which takes the PHY
through its DisplayPort PHY (PHY_TYPE_DP) and has the PHY's power domains
powered while it drives it, and its USB2 side is left to the bootloader.

allOf:
- $ref: /schemas/usb/usb-switch.yaml#
Expand Down Expand Up @@ -137,12 +142,14 @@ allOf:
then:
properties:
reg:
minItems: 1
items:
- description:
PHY core with its power and reset block, which also holds
the USB controller's DARTs
- description: USB3 PIPE interface controls
- description: USB3 PIPE interface controls (fixed-USB3 port)
reg-names:
minItems: 1
items:
- const: core
- const: pipehandler
Expand Down Expand Up @@ -189,11 +196,28 @@ allOf:
then:
properties:
"#reset-cells": false
mode-switch: false
orientation-switch: false
ports: false
required:
- apple,fixed-usb3
if:
required:
- apple,fixed-usb3
then:
properties:
mode-switch: false
orientation-switch: false
ports: false
reg:
minItems: 2
reg-names:
minItems: 2
else:
properties:
reg:
maxItems: 1
reg-names:
maxItems: 1
required:
- mode-switch
- orientation-switch
- ports
else:
properties:
apple,fixed-usb3: false
Expand Down Expand Up @@ -382,11 +406,12 @@ properties:
apple,fixed-usb3:
type: boolean
description: >
T8152 only, and required there. The port's SuperSpeed lanes go straight
to a USB3 device or hub, with no Type-C mux in between, so the PHY runs
USB3 on lane 0 from probe on and ignores mux and orientation changes. It
provides only the USB3 PHY of its USB controller, which is a host, and
leaves the controller's USB2 side and reset to the bootloader.
T8152 only. The port's SuperSpeed lanes go straight to a USB3 device or
hub, with no Type-C mux in between, so the PHY runs USB3 on lane 0 from
probe on and ignores mux and orientation changes. It provides only the
USB3 PHY of its USB controller, which is a host, and leaves the
controller's USB2 side and reset to the bootloader. Without it a T8152
PHY is a Type-C port's, run in CIO mode alone.

apple,dp-alt-mode:
type: boolean
Expand Down Expand Up @@ -704,4 +729,30 @@ examples:
<&ps_atc2_common_dp_0>, <&ps_atc2_common_dp_1>;
/* The bootloader adds the tunables from the ADT. */
};

phy@413000000 {
compatible = "apple,t8152-atcphy";
reg = <0x4 0x13000000 0x0 0x84000>;
reg-names = "core";

#phy-cells = <1>;
orientation-switch;
mode-switch;
power-domains = <&ps_atc3_usb_aon>, <&ps_atc3_common>,
<&ps_atc3_common_dp_0>, <&ps_atc3_common_dp_1>;
/* The bootloader adds the tunables from the ADT. */

ports {
#address-cells = <1>;
#size-cells = <0>;

port@0 {
reg = <0>;

endpoint {
remote-endpoint = <&typec3_ss>;
};
};
};
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ properties:
- enum:
- apple,t8103-cio-reset
- apple,t8142-cio-reset
- apple,t8152-cio-reset
- apple,t6050-cio-reset
- apple,t6000-cio-reset
- apple,t6041-cio-reset
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ properties:
oneOf:
- const: apple,t8103-usb4-acio
- const: apple,t8142-usb4-acio
- const: apple,t8152-usb4-acio
- const: apple,t6040-usb4-acio
- const: apple,t6050-usb4-acio
- items:
Expand Down Expand Up @@ -69,6 +70,14 @@ properties:
- const: rc
- const: sram
- const: cpu
- description:
T8152, whose router CPU is started by a reconfiguration request
through its mailbox and has no window of its own
items:
- const: rc
- const: sram
- const: pcie-adapter
- const: router-ap-fw

mboxes:
maxItems: 1
Expand Down Expand Up @@ -185,8 +194,12 @@ properties:
const: 1

ranges:
maxItems: 1
description: Single 16 MiB MMIO window containing all child registers
minItems: 1
maxItems: 2
description:
16 MiB MMIO window containing the child registers. On T8152 a second
range maps the shared Gen3 DART TLB invalidation aperture for the
router's DART.

nonposted-mmio: true

Expand Down Expand Up @@ -254,12 +267,23 @@ allOf:
- apple,t6040-usb4-acio
- apple,t8132-usb4-acio
- apple,t8142-usb4-acio
- apple,t8152-usb4-acio
then:
properties:
reg:
minItems: 4
reg-names:
minItems: 4
- if:
properties:
compatible:
not:
contains:
const: apple,t8152-usb4-acio
then:
properties:
ranges:
maxItems: 1
- if:
properties:
compatible:
Expand All @@ -269,6 +293,7 @@ allOf:
- apple,t6050-usb4-acio
- apple,t8132-usb4-acio
- apple,t8142-usb4-acio
- apple,t8152-usb4-acio
then:
properties:
pinctrl-names:
Expand Down Expand Up @@ -319,6 +344,7 @@ allOf:
enum:
- apple,t6050-usb4-acio
- apple,t8142-usb4-acio
- apple,t8152-usb4-acio
then:
properties:
apple,tunable-router-ap-fw: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ properties:
oneOf:
- const: apple,t8103-usb4-nhi
- const: apple,t8142-usb4-nhi
- const: apple,t8152-usb4-nhi
- const: apple,t6040-usb4-nhi
- const: apple,t6050-usb4-nhi
- items:
Expand Down Expand Up @@ -131,6 +132,7 @@ allOf:
contains:
enum:
- apple,t8142-usb4-nhi
- apple,t8152-usb4-nhi
- apple,t6040-usb4-nhi
- apple,t6050-usb4-nhi
then:
Expand All @@ -155,6 +157,7 @@ allOf:
- apple,t8122-usb4-nhi
- apple,t8132-usb4-nhi
- apple,t8142-usb4-nhi
- apple,t8152-usb4-nhi
- apple,t6040-usb4-nhi
- apple,t6050-usb4-nhi
then:
Expand Down
Loading
Loading