Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
6a53182
arm64: dts: apple: t6050: add disabled acio0/1/3 routers
satchlj Nov 9, 2026
e1c7e39
arm64: dts: apple: provide loader-filled DROM placeholders
satchlj Nov 11, 2026
2273711
arm64: dts: apple: rebase the J775c compatibility board layout
satchlj Nov 13, 2026
a4622d3
arm64: dts: apple: retain enabled laptop routers with shared inventory
DjDeveloperr Nov 16, 2026
58ca6d6
selftests: asahi: cover adopted-link Clock PM policy
DjDeveloperr Nov 16, 2026
a3b69a9
arm64: dts: apple: consolidate J775c into one final board description
DjDeveloperr Nov 16, 2026
76b059e
dt-bindings: gpu: apple: describe the installed G17C loader fallback
DjDeveloperr Nov 16, 2026
553ca1a
arm64: dts: apple: t6050-j775c: disable the MTP and its dockchannel
satchlj Nov 20, 2026
6a17cdc
arm64: dts: apple: t6050-j775c: wake from the RTC alarm
satchlj Nov 19, 2026
06446cd
arm64: dts: apple: t6050-j775c: disable the AVD, like its DART and do…
satchlj Nov 21, 2026
1c8a799
arm64: dts: apple: t6050-j775c: enable the Neural Engine
satchlj Nov 21, 2026
8f07db0
arm64: dts: apple: t6050-j775c: describe the video encoders as the AV…
satchlj Nov 23, 2026
c372283
arm64: dts: apple: t6050-j775c: restore clpc apple,cpu-busy-floor
satchlj Nov 27, 2026
49e4d04
arm64: dts: apple: t6050-j775c: include t6050-studio-audio.dtsi
satchlj Nov 27, 2026
b4c4c5a
arm64: dts: apple: t6050-j775c: enable AVD, JPEG, and ProRes
satchlj Nov 27, 2026
2060cad
selftests: asahi: add no_reassign_bus to pcie-adopted-clkpm-tests stub
satchlj Nov 27, 2026
f5996af
arm64: dts: apple: t6050-j775c: give PCIe DARTs their power domain
satchlj Nov 27, 2026
bfbae8a
arm64: dts: apple: t6050-j775c: add CLPC GPU busy-share memory states
satchlj Nov 27, 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
3 changes: 3 additions & 0 deletions .github/workflows/dt-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ jobs:
echo "/usr/lib/llvm-$CLANG_VERSION/bin" >> "$GITHUB_PATH"
pip install --quiet dtschema yamllint pylibfdt

- name: GPU binding compatibility and resource contracts
run: python3 scripts/dtc/apple-agx-binding-test.py

- name: CHECK_DTBS and dt_binding_check, base vs head
id: dt
env:
Expand Down
69 changes: 69 additions & 0 deletions Documentation/devicetree/apple-j775c-compatibility.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
.. SPDX-License-Identifier: GPL-2.0-only

J775c loader compatibility and DT validation
==========================================

The J775c (Mac Studio M5 Max) board has one final description in
``arch/arm64/boot/dts/apple/t6050-j775c.dts``. The staging fragments and
separate ANE trial wrapper are not part of the board source. Consolidating
the resolved description preserves the normal board's compiled DTB byte
for byte, including its enabled and disabled device policy.

The description retains the GPU layout required by the installed Aura
b6e6faf4 loader: the GPU path below ``/soc@2300000000``, the
``apple,agx-t6050`` fallback compatible, and the ASC/SGX resource pair.
Migrating to the modern GPU layout requires a separately qualified loader
update. Do not remove this contract merely to satisfy schema validation.

The MTP DART remains disabled after its activation failed qualification.
The ANE DARTs retain their ANE_SYS suppliers. Neither the consolidation nor
the removal of the trial wrapper enables additional hardware.

Historical hardware evidence
----------------------------

At PR #1619 head 32149e08e8b191a500b40435eb0820cc78ec22fe, the former
``t6050-j775c-ane.dtb`` trial booted with SHA256
``dc88aa139f329bb568e48ba7ba80417e7d2c01ec6be49514a95ca24285dfd8d9``.
The combined kernel revision and test limits are recorded at:

https://github.com/aurora-silicon/linux/pull/1619#issuecomment-6816611851

That result applies only to the stated trial composition. It is not a new
qualification of this rebased head, the normal board DTB, GPU rendering,
audio playback, SD media, suspend, hotplug or other boards.

Rebase and remaining gates
-------------------------

The rebased stack starts at integration commit
``677be395b9d2e15d98696107ebf88191f08efbf9``. It includes Satya Benson's
shared disabled ACIO routers from PR #1579, the adopted-link Clock PM
policy from PR #1618, and the final board state from PR #1619. The original
PRs and their branches remain unchanged.

The rebase retains K114c in the existing Max router activation guards,
keeps the current PCIe radio and SD helpers, and preserves the T8142 ANE
binding constraints alongside the separate T6050 layout. J714s and J716c
explicitly retain their previously enabled routers and mailboxes when
inheriting the shared disabled inventory. The production-C Clock PM host
test covers the locked and unlocked PCI APIs, errors and adopted-host
gate; it does not qualify physical links or other M5 boards.

The GPU binding describes both the two-item G17C compatible list and the
exact three-item list carrying the installed loader's T6050 fallback.
Both forms retain the same register, mailbox, memory and performance
handoff requirements. This does not change the separate, disabled raw
T6050 GPU inventory contract. ``scripts/dtc/apple-agx-binding-test.py``
checks both valid forms and rejects malformed lists, incomplete G17C
resources and a raw T6050 node without its required interrupt inventory.

``scripts/dtc/apple-dt-check.sh`` compares normalized warning sets for all
Apple DTBs at base and head. It has no warning allowlist or board exception
mechanism. ADT coverage waivers cannot waive schema diagnostics.

Keep this work draft until affected-board hardware qualification is
complete. Any later migration to a modern loader must recheck GPU handoff
and HDMI on J775c; old hardware receipts do not qualify a new loader or
kernel composition. Accepting the existing binding contract is not new
hardware qualification.
7 changes: 7 additions & 0 deletions Documentation/devicetree/bindings/gpu/apple,agx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ properties:
- apple,agx-g17c
- apple,agx-g17d
- const: apple,agx-g17s
- description:
G17C firmware handoff with the SoC fallback required by installed
boot loaders when filling operating points and firmware resources.
items:
- const: apple,agx-g17c
- const: apple,agx-g17s
- const: apple,agx-t6050
- items:
- const: apple,agx-t8103
- const: apple,agx-g13g
Expand Down
58 changes: 56 additions & 2 deletions Documentation/devicetree/bindings/npu/apple,ane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,14 @@ properties:
minItems: 1
maxItems: 7

apple,clpc:
$ref: /schemas/types.yaml#/definitions/phandle
description: Host controller holding the DRAM and fabric floor for ANE work.

performance-domains:
maxItems: 1
description: CPU performance domain sharing the ANE voltage supply.

apple,performance-controller:
$ref: /schemas/types.yaml#/definitions/phandle
description:
Expand Down Expand Up @@ -180,7 +188,7 @@ properties:

apple,ane-type:
$ref: /schemas/types.yaml#/definitions/uint32
enum: [0xb0, 0x100, 0x110, 0x200]
enum: [0xb0, 0x100, 0x110, 0x200, 0x210, 0x220]
description: Firmware generation identifier supplied by the bootloader

apple,firmware-preloaded:
Expand Down Expand Up @@ -251,7 +259,6 @@ allOf:
properties:
compatible:
enum:
- apple,t6050-ane
- apple,t8140-ane
- apple,t8142-ane
then:
Expand All @@ -270,6 +277,53 @@ allOf:
- const: pwgate
required:
- apple,dapf-ranges
- if:
properties:
compatible:
const: apple,t6050-ane
then:
properties:
interrupts:
minItems: 2
power-domains:
maxItems: 1
apple,ane-type:
const: 0x220
oneOf:
- properties:
reg:
minItems: 3
maxItems: 4
reg-names:
minItems: 3
items:
- const: engine
- const: pmgr
- const: pwgate
- const: xl
required:
- apple,dapf-ranges
- description: Complete ADT inventory, not a firmware backend interface.
properties:
reg:
minItems: 7
reg-names:
items:
- const: engine
- const: pmgr
- const: aux-0
- const: aux-1
- const: aux-2
- const: aux-3
- const: aux-4
status:
const: disabled
required:
- status
else:
properties:
apple,clpc: false
performance-domains: false
- if:
required:
- apple,preload-data-sha256
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,18 @@ required:
- compatible
- dmas
- dma-names
- power-domains
- ports

allOf:
- if:
properties:
compatible:
contains:
const: apple,t6050-dpaudio
then:
description: The DCP service owns the power lifecycle on T6050.
else:
required:
- power-domains

additionalProperties: false
Loading
Loading