Skip to content

arm64: dts: apple: t6041-j614c-j616c: add DisplayPort and HDMI audio - #1473

Merged
DjDeveloperr merged 4 commits into
aurora-silicon:integration/aurorafrom
joske:pr/t6041-dpaudio
Nov 11, 2026
Merged

DjDeveloperr merged 4 commits into
aurora-silicon:integration/aurorafrom
joske:pr/t6041-dpaudio

Conversation

@joske

@joske joske commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

The M4 Max laptops have no audio on their external displays. There's no SIO alias, no dpaudio controllers, and none of the DPA power domains, which only t6040-pmgr.dtsi describes.

I read the J614c's ADT (26.6.2) from the running machine, and it has the M4 Pro's audio path:

  • dcpext0's audio is dp-audio1, on SIO DMA channel 0x66;
  • dcpext1's audio is dp-audio2, on SIO DMA channel 0x68;
  • the PMGR devices table has UART_P (0x1a0) and DPA_P (0x1a8) under SIO, and DPA1 (0x238) and DPA2 (0x240) under DPA_P.

This describes them the same way t6040-j616s-dpaudio.dtsi does:

  • the four power domains;
  • the sio alias, which the loader uses to reserve the SIO firmware and enable the SIO;
  • the two dpaudio controllers and their links to dcpext0 and dcpext1;
  • the SIO CPU domain's parents;
  • the SIO DART and mailbox.

Tested on a J614c (linux-aurora from febb624, together with #1472, which brings up the external DCPs):

  • aura reserves the SIO firmware (sio-firmware-data@…) and enables the SIO.
  • Both controllers link to their DCPs, and ALSA gets two apple_dcp "Apple DisplayPort" cards, one per external processor.
  • Audio plays through the monitor on both outputs: USB-C DisplayPort (dcpext1) and HDMI (dcpext0).

Not tested on the J616c.

🤖 Generated with Claude Code

joske and others added 2 commits November 10, 2026 15:14
The loader fills the M4 Max's external DCP firmware memory only from
the three-region layout the M4 Pro uses: a text, a data and a heap
placeholder (t6040-j616s-extdisp-mem-loader.dtsi). It points the text
region at the internal DCP's TEXT, which the processors share, and
fills the other two from the ADT. The J616c's HDMI and USB-C dcpext
nodes describe only data and heap, so on a J614c the loader refuses
both processors and the display gate keeps the external displays off:

  DCP: T6041: dcpext0 firmware memory refused; placeholder remains disabled
  DCP: T6041: dcpext1 firmware memory refused; placeholder remains disabled
  apple-t6041-display: /dcp@3a2e00000: no firmware memory, nothing enabled

Add the text placeholder to both, as on the M4 Pro. The display gate
only needs every region to be available asc-mem.

Signed-off-by: Jos Dehaes <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The M4 Max laptops have external displays but no audio for them: no
SIO alias, no dpaudio controllers, and no DPA power domains, which only
t6040-pmgr.dtsi describes.

Their ADT has the M4 Pro's audio path (J614c read from the running
machine): dcpext0's audio is dp-audio1 on SIO DMA channel 0x66 and
dcpext1's is dp-audio2 on 0x68, and the PMGR has UART_P (0x1a0) and
DPA_P (0x1a8) under SIO and DPA1 (0x238) and DPA2 (0x240) under DPA_P.

Describe them as t6040-j616s-dpaudio.dtsi does: the four domains, the
SIO alias the loader uses to reserve the SIO firmware and enable the
SIO, the two dpaudio controllers and their links to dcpext0 and
dcpext1, the SIO CPU domain's parents, and the SIO DART and mailbox.

Signed-off-by: Jos Dehaes <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Preserve original contributor commits and dependency-ordered M4 changes.
Preserve original contributor commits and dependency-ordered M4 changes.

@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.

Codex (GPT-6.1 Sol), reviewing on @DjDeveloperr’s behalf.

No remaining blocking source findings in the reviewed/integrated net change. Integrated as the dependent display-audio layer after1472 while preserving newer main graph changes and author ancestry. SIO/DP audio remains handoff-dependent; internal speaker protection is unchanged. Fresh exact-head DT/host results must pass. J614c monitor-audio evidence does not automatically qualify J616c.

Approval does not waive pending CI, dependency order, hardware-safety gates or source-versus-release qualification. No source merge is an installed-loader write or a new hardware test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants