Skip to content

arm64: dts: apple: enable the AOP and its suppliers on J775c - #3848

Merged
DjDeveloperr merged 1 commit into
mainfrom
satchlj/j775c-aop
Dec 2, 2026
Merged

DjDeveloperr merged 1 commit into
mainfrom
satchlj/j775c-aop

Conversation

@satchlj

@satchlj satchlj commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

What: Enable the AOP (aop@290c00000), its RTKit mailbox (mailbox@290608000), DART (iommu@290fc0000), and audio DMA controller (dma-controller@293800000) in t6050-j775c.dts so the T8152 AOP audio service and the Studio macaudio sound card (card0) probe on J775c over the single RTKit mailbox, matching J775d.

Tested: J775c M5 Max Mac Studio at exact head 9af323b42c4b (built on linux@main fd4bc335f080 with no other carried PRs, Stage 2 aura@main d8eb8ad4, default kernel command line): clean boot + 15 s s2idle suspend/resume (rtcwake -m mem -s 15, rc=0) — all 6 nodes status=okay and bound (apple_aop RTKit v12, apple-mailbox, apple-dart 290fc0000.iommu, apple-admac 293800000, snd_soc_t8152_aop_audio, snd-soc-macaudio + cs42l84 rev 36), card0 [AppleJ775]: macaudio - Mac Studio J775 (00-00 Primary playback/capture, 00-01 Secondary playback, Mac Studio J775 Headphone Jack input), card8 [HDMI] and card9 [USBC] unaffected, apple-mcc SLC allocation enabled on 32 planes, SDXC mmc0 unaffected, 0 DART/probe faults, 0 SELinux AVC denials, 0 failed units (also verified 2/2 boots + s2idle on pre-rebase identical-diff candidate 61a27f7583bf). Offline: scripts/checkpatch.pl --strict clean (0 errors, 0 warnings, 0 checks), 0 new dt-validate warnings, apple-dart-pd-check and apple-sibling-drift clean.

Risk: two-way door · J775c only. Enables aop, its RTKit mailbox, aop_dart, and admac_base_ns in t6050-j775c.dts. Internal speakers remain disabled by snd-soc-macaudio safety gating (driver can't assure safety on this model, disabling speakers).

Not yet: Audio PCM playback/capture and internal speaker playback (this run verified read-only probe, card/PCM registration, and s2idle retention without opening any PCM or changing mixer controls).

Details
Evidence (exact PR head 9af323b42c4b on main fd4bc335f080)
  • Test build: linux@main fd4bc335f080 + exact PR head 9af323b42c4b (no other carries), Stage 2 aura@main d8eb8ad4, default kernel command line (7.3.0-1-48.20261201-ARCH).
  • Drivers bound (pre- and post-s2idle):
    /soc/aop@290c00000 status=okay              -> 290c00000.aop driver=apple_aop
    /soc/mailbox@290608000 status=okay          -> 290608000.mailbox driver=apple-mailbox
    /soc/iommu@290fc0000 status=okay            -> 290fc0000.iommu driver=apple-dart
    /soc/dma-controller@293800000 status=okay   -> 293800000.dma-controller driver=apple-admac
    /soc/aop@290c00000/audio status=okay        -> audio.1.auto driver=snd_soc_t8152_aop_audio
    /sound status=okay                          -> sound driver=snd-soc-macaudio
    
  • ALSA cards & PCMs (/proc/asound/cards, /proc/asound/pcm):
     0 [AppleJ775      ]: macaudio - Mac Studio J775
     8 [HDMI           ]: apple_dcp - Apple HDMI
     9 [USBC           ]: apple_dcp - Apple USB-C DisplayPort
    00-00: Primary (*) :  : playback 1 : capture 1
    00-01: Secondary (*) :  : playback 1
    08-00: Apple HDMI : Apple HDMI : playback 1
    09-00: Apple USB-C DisplayPort : Apple USB-C DisplayPort : playback 1
    
  • Kernel log excerpts:
    platform 290c00000.aop: Adding to iommu group 5
    apple-admac 293800000.dma-controller: Audio DMA Controller
    apple_aop 290c00000.aop: RTKit: Initializing (protocol version 12)
    cs42l84 1-004b: Cirrus Logic CS42L84, Revision: 36
    snd-soc-macaudio sound: driver can't assure safety on this model, disabling speakers
    input: Mac Studio J775 Headphone Jack as /devices/platform/sound/sound/card0/input3
    sdhci-pci 0000:04:00.0: SDHCI controller found [17a0:9755] (rev 2)
    mmc0: SDHCI controller on PCI [0000:04:00.0] using ADMA 64-bit
    apple-dcp 2b2e00000.dcp: boot scanout retired by displayed swap 5
    apple-mcc 2220000000.memory-controller: system level cache allocation enabled on 32 planes
    
  • Suspend/resume (rtcwake -m mem -s 15): PM: suspend entry (s2idle) -> PM: suspend exit, rc=0, all 6 AOP/audio drivers and 3 ALSA cards retained post-resume, 0 new AOP/DART/audio faults, 0 SELinux AVC denials, 0 failed units.

The Studio sound card uses the AOP audio service for its CPU DAIs.
Enable the AOP, RTKit mailbox, DART and audio DMA controller so that
the service can probe. The desktop firmware starts over the existing
single mailbox, as on J775d.

Signed-off-by: Satya Benson <satya@benson.earth>
@satchlj
satchlj requested review from a team as code owners December 1, 2026 23:27
@satchlj
satchlj requested review from LiamRay11 and maralcbr December 1, 2026 23:27
@github-actions github-actions Bot added area:bringup Area from CODEOWNERS (bot) blast:m5 Macs affected, from Merge risk (bot) door:two-way Revertible or not, from Merge risk (bot) needs-review No approving review from Core or Omarchy Mac yet (bot) labels Dec 1, 2026
@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown

Merge readiness at 9af323b4: not ready yet

Check Detail
CI at head running running: dt-checks, host-tests, pr-text / pr-text
Review no needs one approving review from Core or Omarchy Mac (not the author)
Requested changes ok none
Hardware row at head ok in the PR body at 9af323b4
Conflicts ok none
PR text ok Risk: two-way · J775c only. Enables aop, its RTKit mailbox, aopdart, and admacbasens in t6050-j775c.dts. Internal speakers remain disabled by snd-soc-macaudio safety gating (driver can't assure safety on this model, disabling speakers).

Areas: area:bringup

Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels.

@DjDeveloperr DjDeveloperr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: MERGE at 9af323b42c4b.

Checked: The four J775c DT changes enable the existing AOP and its mailbox, DART and ADMAC suppliers together. The mailbox and stream mappings are unchanged. At this head all six drivers bound before and after a 15-second s2idle cycle, HDMI and USB-C audio remained present, and the internal speaker safety gate stayed active. DT and host checks passed.

@DjDeveloperr
DjDeveloperr merged commit 5de2a38 into main Dec 2, 2026
8 checks passed
@DjDeveloperr
DjDeveloperr deleted the satchlj/j775c-aop branch December 2, 2026 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:bringup Area from CODEOWNERS (bot) blast:m5 Macs affected, from Merge risk (bot) door:two-way Revertible or not, from Merge risk (bot) needs-review No approving review from Core or Omarchy Mac yet (bot)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants