Skip to content

arm64: dts: apple: t8103: enable SIO on every board (needs an M1 tester) - #1114

Draft
RyanTheTide wants to merge 1 commit into
mainfrom
dt2/t8103-sio-all-boards
Draft

RyanTheTide wants to merge 1 commit into
mainfrom
dt2/t8103-sio-all-boards

Conversation

@RyanTheTide

@RyanTheTide RyanTheTide commented Nov 7, 2026 •

Copy link
Copy Markdown

Split out of #1029 so that one can merge as description and bindings only.

This enables SIO (and its alias) on every T8103 board. Only the J274 had it before, and the node comment says the boot loader must bring SIO up first. Nobody here has an M1 (T8103) Mac, so this waits for a tester: boot one of J293/J313/J456/J457 with this DTB and check that SIO probes and that HDMI/DP audio works, with no new boot-log errors.

DisplayPort audio over the Type-C ports goes through dpaudio1, which the
shared jxxx include enables on every T8103 board, but its only DMA
provider, SIO, was enabled and aliased on the Mac mini alone. On the
MacBook Air, MacBook Pro and both iMacs dpaudio1 therefore could not get
its channel and never probed.

Move the sio alias and the SIO enable into t8103-jxxx.dtsi, as
t8112-jxxx.dtsi already does. The bootloader finds the node through the
alias to fill in the SIO firmware parameters.

Signed-off-by: Ryan Murray <81541646+RyanTheTide@users.noreply.github.com>
Assisted-by: LLM
(cherry picked from commit 3afa738)
RyanTheTide added a commit that referenced this pull request Nov 7, 2026
Merge train 11-08: after DT2's split (SIO enables moved to draft #1114) this is only the iMac sep aliases; the M2 j413 DTB is byte-identical. dt-checks (0 new warnings) and host-tests CI green.
@RyanTheTide

Copy link
Copy Markdown
Author

Rebuilt on the current integration/aurora (514ae1f). This merges cleanly and still changes only t8103-j274.dts and t8103-jxxx.dtsi.

fleet74 config, LLVM=1 ARCH=arm64 W=1, DTBs for J274/J293/J313/J456/J457 vs the same tip without this PR:

  • Without it: J293, J313, J456 and J457 have no sio alias and sio@236400000 is disabled, while dpaudio1 (audio-controller@238334000) is okay with its dmas pointing at that disabled SIO.
  • With it: all five boards have sio = "/soc/sio@236400000" and SIO okay. J274 only moves its alias line.
  • dtc warnings are the same apart from the shifted J274 line numbers.

Still needs a boot on a T8103 laptop or iMac: SIO probes, DP/HDMI audio over Type-C works, no new boot-log errors.

@RyanTheTide

Copy link
Copy Markdown
Author

Closing for now: enabling SIO on every M1 board needs a boot row on an M1 Mac, which we can't run; happy to reopen with a tester.

@RyanTheTide RyanTheTide reopened this Nov 22, 2026
@RyanTheTide

Copy link
Copy Markdown
Author

Reopened and kept as a draft; the comment above lists what it still needs before review.

@mmdisbrow

Copy link
Copy Markdown

Tested #1114 (21e911cb4236) on an M1 MacBook Air (apple,j313, apple,t8103, macOS 13.5 firmware). apple-sio and dcp-dp-audio probed cleanly with no deferred probes, ALSA exposed the DisplayPort card, and both drivers stayed clean across 4 s2idle cycles with no new boot-log errors.

Machine and build

  • Hardware. MacBook Air M1 (apple,j313, apple,t8103).
  • Firmware. asahi,os-fw-version: 13.5, asahi,system-fw-version: 26.6.2.
  • Kernel. Local 7.3.0-tier2-j313-ARCH+ build on integration/aurora (377060f3688a) with this PR's exact diff at 21e911cb4236, plus rtc: apple-pmu: enable T8103 (Sera) PMU RTC and 192-vector nub-spmi interrupt #2714 (29e245e97e7c) and phy: apple: atc: apply the AXI2AF tunables at probe #2836 (fe1c51dd3cb0), booted in multi-user.target (installed Mesa does not yet support the 7.3 aurora GPU driver). W=1 0 warnings on the modified objects.
  • DTB. Built from this tree, with DCP/DCPEXT iommus base_hi set to 0x0f (carried over from the installed m1n1 FDT for this machine's 13.5 DCP firmware) instead of the tree's 0x00. No SIO or dpaudio node changed.

Live J313 probe and s2idle receipts

  • Live DT: alias sio -> /soc/sio@236400000, /soc/sio@236400000/status = okay.
  • Kernel log: apple-sio 236400000.sio: RTKit: Initializing (protocol version 12) and apple-sio 236400000.sio: SIO protocol v9.
  • Driver binding (verified both at boot and after 4 s2idle cycles):
    • 236400000.sio -> apple-sio
    • 238334000.audio-controller -> dcp-dp-audio
    • Neither device appeared in devices_deferred.
    • ALSA registered card 8 [DisplayPort]: apple_dcp - Apple DisplayPort alongside 0 [AppleJ313] (macaudio) and 1 [AppleJ313HPAI] (aop_audio).
  • For comparison, on this machine's 7.2.11 kernel without arm64: dts: apple: t8103: enable SIO on every board (needs an M1 tester) #1114: sio@236400000 is disabled, there is no sio alias, and ALSA lists only cards 0 and 1 (no DisplayPort card), even though 238334000.audio-controller still binds dcp-dp-audio.
  • Boot log: 0 error-level kernel messages at boot and 0 apple-sio or dcp-dp-audio error/timeout/defer lines across boot and all 4 s2idle cycles. The only failed unit (omarchy-mac-touchid-activate.service) and the per-resume PS fpwm1 line also appear on 7.2.11 (0 new).

Not tested

Assisted-by: LLM (Google:Gemini 4 Neon, Anthropic:Claude Opus 5.5, OpenAI:GPT-6.2 Sol)

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