Skip to content

dmaengine: apple-sio: DisplayPort audio channel records as macOS writes them - #1282

Merged
RyanTheTide merged 1 commit into
integration/aurorafrom
dpa3/sio-macos-record
Nov 9, 2026
Merged

RyanTheTide merged 1 commit into
integration/aurorafrom
dpa3/sio-macos-record

Conversation

@RyanTheTide

Copy link
Copy Markdown
Contributor

Split out of #1280, which stays a draft until the Neo SIO boots.

macOS 26.6 writes the record [2, 0, 0x800, 0x600, 0x800, 0] for a T6041 DisplayPort audio channel, and [2, 0, 0x800, 0x800, 0x800, 0] for a T8140 one (clean-room spec, Daybreak t-5905). The T6041 backend sent 5 as the limit. That value is the host's mailbox call timeout and is not part of the record. This sends 0x800.

It also adds the T8140 backend data (protocol 10, the T6041 tables, refill at 0x800 from the ADT dp-audio records). No device tree enables the T8140 SIO yet, so that part has no effect until #1280 lands.

KUnit apple-sio* passes 22/22. The new cases check both records and the T8140 match.

Hardware, J616s (silent; streams only into the Acer QG270 S3, which has no speakers):

This does not touch sound/soc/apple, mca, macaudio or the speaker DT nodes.

🤖 Generated with Claude Code

macOS 26.6 writes a six-word record for a DisplayPort audio channel:
[2, 0, 0x800, 0x600, 0x800, 0] on T6041 and [2, 0, 0x800, 0x800, 0x800, 0]
on T8140. The T6041 backend sent 5 as the limit: that is the host's mailbox
call timeout, not part of the record. Send 0x800, as on the earlier SoCs.

Add the T8140 (MacBook Neo) SIO: its firmware reports protocol 10 and takes
the T6041 boot tables and driver-owned arrays (its ADT describes the same
map-range, DMA shim and device-type tables key for key); its DisplayPort
audio channels refill at 0x800, as its ADT dp-audioN records say.

KUnit apple-sio-t6041: the T6041 and T8140 records, and the T8140 match.

Signed-off-by: Ryan Murray <[email protected]>
Assisted-by: LLM
@RyanTheTide
RyanTheTide merged commit a2ae11f into integration/aurora Nov 9, 2026
1 check passed
@RyanTheTide
RyanTheTide deleted the dpa3/sio-macos-record branch November 9, 2026 04:26
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.

1 participant