Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
1780386
pinctrl: apple: Add the T8152 compatible
joshuaswarren Oct 22, 2026
4f833b2
soc: apple: sart: Add the SARTv4 register layout
joshuaswarren Oct 22, 2026
8024caf
nvme: apple: Add T8152 ANS support
joshuaswarren Oct 22, 2026
24d1bb1
pmdomain: apple: Add T8152 PSD service slot power domains
joshuaswarren Oct 22, 2026
e123886
phy: apple: Add a T8152 fixed-host USB2 PHY driver
joshuaswarren Oct 22, 2026
5763038
usb: core: hub: Disable autosuspend for the 05ac:800f hub
joshuaswarren Oct 22, 2026
b871c3a
arm64: dts: apple: t8152-j873g: Add the peripherals that have drivers
joshuaswarren Oct 22, 2026
781ef18
iommu/apple-dart: Add the T8152 Gen3 DART
joshuaswarren Oct 23, 2026
48cbf4a
usb: dwc3: apple: Add the T8152 fixed-role USB2 controller
joshuaswarren Oct 23, 2026
9fbb356
arm64: dts: apple: t8152-j873g: Add the PMGR domains and the USB nodes
joshuaswarren Oct 23, 2026
1045b8d
dma: apple-admac: add T8152 (admac-evolution) support
joshuaswarren Oct 23, 2026
7d52ab5
soc: apple: aop: add the T8152 (Mac mini) hardware config
joshuaswarren Oct 23, 2026
92c67d4
iommu/apple-dart: add owned-streams and inherited-roots for T8152
joshuaswarren Oct 24, 2026
65356f5
dma: apple-admac: T8152 channels have per-channel 16 KiB apertures
joshuaswarren Oct 23, 2026
9fbf2d1
reset: apple-cio: add apple,t8152-cio-reset
joshuaswarren Oct 23, 2026
3583338
ASoC: apple: t8140-aop-audio: add the T8152 variant
joshuaswarren Oct 24, 2026
3c45a71
ASoC: apple: macaudio: add apple,j873-macaudio
joshuaswarren Oct 24, 2026
8fad78c
soc: apple: mailbox: add the T8152 ACIO counted-FIFO mailbox
joshuaswarren Oct 23, 2026
94ff26c
soc: apple: mailbox: add the T8152 ASCWrap v8 AOP mailbox compatible
joshuaswarren Oct 24, 2026
327a8f6
dt-bindings: sound: cirrus,cs42l84: add the DAI common properties
joshuaswarren Oct 24, 2026
cce84c9
arm64: dts: apple: t8152-j873g: add the audio I2C codecs
joshuaswarren Oct 24, 2026
d86085c
dt-bindings: soc: apple: aop: no power domain on T8152
joshuaswarren Oct 24, 2026
4b2bead
arm64: dts: apple: t8152-j873g: add the AOP audio chain
joshuaswarren Oct 24, 2026
43f2664
ASoC: apple: t8140-aop-audio: limit the T8152 speaker with a thermal …
joshuaswarren Oct 24, 2026
68c6401
ASoC: apple: t8140-aop-audio: give the T8152 speaker plain PCM
joshuaswarren Oct 25, 2026
444f88a
ASoC: apple: macaudio: give the J873 speaker link a rising RX edge
joshuaswarren Oct 25, 2026
394a040
ASoC: apple: t8140-aop-audio: scale the T8152 speaker words to 24 bits
joshuaswarren Oct 25, 2026
8108707
ASoC: apple: t8140-aop-audio: high-pass the T8152 speaker at 100 Hz
joshuaswarren Oct 25, 2026
df7f942
ASoC: apple: t8140-aop-audio: set the T8152 speaker ceiling
joshuaswarren Oct 25, 2026
e9d9aa0
ASoC: apple: macaudio: enable the J873 speaker
joshuaswarren Oct 25, 2026
c4fb78e
usb: dwc3: apple: use raw core register access for the T8152 sequence
joshuaswarren Nov 4, 2026
0394489
selftests: apple-dcp: track the T8152 fixed role in the dwc3 fixture
joshuaswarren Nov 4, 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 @@ -44,6 +44,7 @@ properties:
- apple,t8132-pmgr
- apple,t8140-pmgr
- apple,t8142-pmgr
- apple,t8152-pmgr
- const: apple,t8103-pmgr
- const: syscon
- const: simple-mfd
Expand Down
1 change: 1 addition & 0 deletions Documentation/devicetree/bindings/dma/apple,admac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ properties:
- const: apple,t8122-admac
- const: apple,t8122-admac
- const: apple,t8140-admac
- const: apple,t8152-admac

reg:
maxItems: 1
Expand Down
50 changes: 49 additions & 1 deletion Documentation/devicetree/bindings/iommu/apple,dart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ properties:
- apple,t8103-usb4-dart
- apple,t8110-dart
- apple,t6000-dart
- apple,t8152-dart
- items:
- enum:
- apple,t6000-dart
Expand All @@ -42,11 +43,42 @@ properties:
- const: apple,t8110-dart

reg:
maxItems: 1
minItems: 1
maxItems: 2

interrupts:
maxItems: 1

apple,static-topology:
type: boolean
description: |
apple,t8152-dart only. Do not touch the DART registers at probe. Use a
fixed topology and defer the tunables, parameter read, lock check, reset
and fault handling to the first runtime resume (the first consumer). For
DARTs behind a power or availability gate that firmware controls.

apple,num-streams:
$ref: /schemas/types.yaml#/definitions/uint32
description: Stream count assumed by apple,static-topology (default 16).

apple,inherited-roots:
type: boolean
description: |
apple,t8152-dart only. Treat the DART as locked even though its PROTECT
lock bit is clear: the bootloader left the listed streams translating
with page-table roots that hold firmware mappings, so the DART is never
reset, TCR/TTBR are never written, and consumers publish into the vacant
slots of the inherited roots (the path used for locked DARTs).

apple,owned-streams:
$ref: /schemas/types.yaml#/definitions/uint32-array
description: |
apple,t8152-dart only. The DART is shared with firmware and
coprocessors (the T8152 SBR DART): only these stream ids belong to the
OS. Consumer iommus entries never reference another stream, latched
exceptions of other streams are not acknowledged, and the DART tunables
are left as firmware set them.

clocks:
description:
Reference to the gate clock phandle if required for this IOMMU.
Expand Down Expand Up @@ -115,6 +147,22 @@ properties:
and filtering state without a separate page-table root. Source and
destination must differ, and both must exist on the controller.

allOf:
# Only apple,t8152-dart has a second register region (the shared TLB invalidate doorbell).
- if:
properties:
compatible:
contains:
const: apple,t8152-dart
then:
properties:
reg:
minItems: 2
else:
properties:
reg:
maxItems: 1

required:
- compatible
- reg
Expand Down
1 change: 1 addition & 0 deletions Documentation/devicetree/bindings/iommu/apple,sart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ properties:
- apple,t6000-sart
- apple,t8015-sart
- apple,t8103-sart
- apple,t8152-sart

reg:
maxItems: 1
Expand Down
23 changes: 23 additions & 0 deletions Documentation/devicetree/bindings/mailbox/apple,mailbox.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ properties:
AOP setup-port mailbox with a separate register layout.
const: apple,t8140-aop-setup-mailbox

- description:
T8152 ASCWrap v8 counted-FIFO mailbox, a plain 0x80-byte
post-office window without wrapper registers.
const: apple,t8152-ascwrap-v8-mailbox

- description:
An older ASC mailbox interface found on T2 and A11 that is also
used for the NVMe coprocessor and the system management
Expand Down Expand Up @@ -155,6 +160,23 @@ allOf:
- const: send-not-empty
- const: recv-empty

- if:
properties:
compatible:
contains:
const: apple,t8152-ascwrap-v8-mailbox
then:
properties:
interrupts:
minItems: 2
maxItems: 2
interrupt-names:
items:
- const: send-empty
- const: recv-not-empty
iommus: false
apple,dma-range: false

- if:
properties:
compatible:
Expand All @@ -164,6 +186,7 @@ allOf:
- apple,t6021-ane-mailbox
- apple,t8112-ane-mailbox
- apple,t8140-aop-setup-mailbox
- apple,t8152-ascwrap-v8-mailbox
then:
properties:
interrupts:
Expand Down
18 changes: 15 additions & 3 deletions Documentation/devicetree/bindings/nvme/apple,nvme-ans.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ properties:
- apple,t8112-nvme-ans2
- apple,t6000-nvme-ans2
- const: apple,nvme-ans2
- const: apple,t8152-nvme-ans2

reg:
minItems: 2
Expand Down Expand Up @@ -125,13 +126,24 @@ allOf:
reg-names:
maxItems: 2

# T8152 has no reset line and no PMGR power domains for the ANS: the ANS is
# a virtual PMGR device there.
- if:
not:
properties:
compatible:
contains:
const: apple,t8152-nvme-ans2
then:
required:
- resets
- power-domains
- power-domain-names

required:
- compatible
- reg
- reg-names
- resets
- power-domains
- power-domain-names
- mboxes
- interrupts
- apple,sart
Expand Down
79 changes: 79 additions & 0 deletions Documentation/devicetree/bindings/phy/apple,t8152-usb2-phy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/phy/apple,t8152-usb2-phy.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Apple T8152 USB2 PHY

maintainers:
- Joshua Warren <816217+joshuaswarren@users.noreply.github.com>

description: |
The USB2 and eUSB2 register banks support a fixed host or fixed peripheral
connection independently of the ATC USB3 and USB4 lanes. Firmware supplies
device-specific calibration. Both independent USB power domains must stay
active while the PHY runs.

$defs:
tunable:
$ref: /schemas/types.yaml#/definitions/uint32-matrix
description: |
Register offset, clear mask, and set value triples for the usb2 bank.
The bootloader supplies these at boot; they are not part of the board file.
items:
items:
- description: Aligned byte offset within the usb2 register bank
- description: Bits to clear
- description: Bits to set

properties:
compatible:
const: apple,t8152-usb2-phy

reg:
items:
- description: USB2 PHY register bank
- description: eUSB2 PHY register bank

reg-names:
items:
- const: usb2
- const: eusb2

'#phy-cells':
const: 0

power-domains:
items:
- description: USB always-on domain
- description: USB controller domain

power-domain-names:
items:
- const: usb-aon
- const: usb

apple,tunable-usb2phy-dflt:
$ref: '#/$defs/tunable'
description: Default calibration, applied before the role calibration.

apple,tunable-usb2phy-host:
$ref: '#/$defs/tunable'
description: Host calibration, applied before the PHY leaves reset.

apple,tunable-usb2phy-dev:
$ref: '#/$defs/tunable'
description: |
Device-mode calibration, applied before the PHY leaves reset in peripheral
mode.

required:
- compatible
- reg
- reg-names
- '#phy-cells'
- power-domains
- power-domain-names

additionalProperties: false
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ properties:
- apple,t8122-pinctrl
- apple,t8132-pinctrl
- apple,t8140-pinctrl
- apple,t8152-pinctrl
- const: apple,t8103-pinctrl
- items:
# Do not add additional SoC to this list.
Expand Down Expand Up @@ -91,6 +92,11 @@ patternProperties:

additionalProperties: false

'^.+-hog(-[0-9]+)?$':
type: object
required:
- gpio-hog

allOf:
- $ref: pinctrl.yaml#

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ properties:
- apple,t8132-pmgr-pwrstate
- apple,t8140-pmgr-pwrstate
- apple,t8142-pmgr-pwrstate
- apple,t8152-pmgr-pwrstate
- const: apple,t8103-pmgr-pwrstate

reg:
Expand Down
107 changes: 107 additions & 0 deletions Documentation/devicetree/bindings/power/apple,t8152-psd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/power/apple,t8152-psd.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Apple T8152 PSD service slot power domain

maintainers:
- Joshua Warren <816217+joshuaswarren@users.noreply.github.com>

allOf:
- $ref: power-domain.yaml#

description: |
The T8152 (M6) power state director (PSD) gates some blocks, among them the
USB controllers and their DARTs, behind a per-port service slot. Each
slot has a 0x100 byte register window at the PSD base plus (slot << 8) with
the status (0x80), request (0x90), diagnostic (0xa0) and valid (0xbc)
registers. A consumer must power the parent PMGR domains of the block
first, then request state 0 (running) and wait for the acknowledge. This
node models that as a power domain: the PMGR domains are its parents
(power-domains), powering it on writes the request. Power-off requests
state 6 (off).

A "apple,t8152-psd-group" node covers several slots that are brought up
together: one reg window per slot, requested in reg order with the active
state given by apple,psd-states, and put back to state 6 in reverse order.

properties:
compatible:
enum:
- apple,t8152-psd
- apple,t8152-psd-group

reg:
minItems: 1
maxItems: 3

"#power-domain-cells":
const: 0

power-domains:
description:
Parent PMGR power domains, powered before the slot request. Absent when
the block has no PMGR power state.
minItems: 1
maxItems: 4

label:
description: Name of the power domain.

apple,psd-states:
$ref: /schemas/types.yaml#/definitions/uint32-array
minItems: 1
maxItems: 3
description:
Active PSD state requested for each reg window, in reg order (default
0, running). Each value is 0 to 5.

apple,psd-timeout-ms:
description: Acknowledge timeout in milliseconds (default 1000).

required:
- compatible
- reg
- "#power-domain-cells"

unevaluatedProperties: false

examples:
- |
soc {
#address-cells = <2>;
#size-cells = <2>;

ps_usb_aon: power-controller-aon {
#power-domain-cells = <0>;
};

ps_usb: power-controller-usb {
#power-domain-cells = <0>;
};

power-controller@1000 {
compatible = "apple,t8152-psd";
reg = <0x0 0x1000 0x0 0x100>;
#power-domain-cells = <0>;
power-domains = <&ps_usb_aon>, <&ps_usb>;
label = "psd_example";
};
};
- |
soc {
#address-cells = <2>;
#size-cells = <2>;

power-controller@2000 {
compatible = "apple,t8152-psd-group";
reg = <0x0 0x2000 0x0 0x100>,
<0x0 0x2100 0x0 0x100>,
<0x0 0x2200 0x0 0x100>;
apple,psd-states = <0 2 2>;
#power-domain-cells = <0>;
label = "psd_group_example";
};
};
Loading
Loading