Repository navigation
arm64: dts: apple: t600x: enable ADT-present peripherals and tunnel PIODMA - #3514
Conversation
…IODMA
Describe every ADT-present T6000/T6001/T6002 peripheral block that does
not depend on a bootloader firmware handoff or carry a known hardware
hazard as enabled in the shared dtsi files, and move the USB4 PCIe-C
PIODMA engines into their tunnel containers so they populate alongside
their tunnel DART when a PCIe tunnel comes up.
Specifically:
- Move apciec0..3_piodma into usb4-pcie-tunnel-{0..3} in t600x-pciec.dtsi
with status okay (disabling apciec3_piodma on J314/J316 where ATC3 has
no PCIe tunnel) and update adt-coverage/t6000-j316s.txt.
- Use the dma@ node name (matching t6040-peripherals.dtsi) for the
non-slave auxiliary DMA engines (apciec*_piodma, ane*_dma, ave*_dma)
whose bindings omit #dma-cells, keeping dtbs_check clean.
- Enable DisplayPort input blocks (atc*_dpin*), ANE/AVE auxiliary DMA
(ane*_dma, ave*_dma), pwm1, i2c5 (and J375 ethernet_sideband),
battery-monitor, and aop_spmi0 with its radio PMU children across
T6000/T6001/T6002.
- Bring T6001/T6002 peripherals to parity with T6000 by enabling
aic_timebase, dwi, dockchannel_uart, mcc, soc_events, soc_errors,
ProRes codecs/DARTs (apr*), and secondary AVE encoders/DARTs (ave1..3).
Loader-gated nodes (framebuffer, reserved-memory, disp0_dart, dcpext*,
pmp), driverless peripheral_clocks (would defer consumers), CPU cluster
PMGR power states, unqualified secondary ANE power states, and documented
hazards (i2c4 sd-card-control, nub_spmi1 Maverick PMIC, spi4 DP855) stay
disabled.
Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
There was a problem hiding this comment.
Verdict: FINISH, then merge at 098982dc
Blockers:
- Queued CI checks (
dt-checks,host-tests,pr-text,readiness) are still pending; wait for green CI. - Missing live J316s (M1 Pro) DT-only boot + regression row (queued in
Tested:) and independent maintainer approval before merge.
Checked:
- Clean shared-dtsi DT enablement across T6000/T6001/T6002 (
t600x-die0.dtsi,t600x-pciec.dtsi,t600{0,1,2}-peripherals.dtsi,adt-coverage/t6000-j316s.txt) movingapciec0..3_piodmaintousb4-pcie-tunnel-{0..3}so PIODMA populates on demand with its tunnel DART. - Local validation clean across all 6
t600*DTBs (CHECK_DTBS=y0 new warnings,apple-adt-coverage.pyMISSING=0 broken=0,apple-dart-pd-check.py0 new,apple-sibling-drift.py0 new,checkpatch --strict0/0);MERGEABLEonmain, no Apple material, tool attribution, private serials, or single-board gating.
Evidence
- Head:
098982dc3629(base: main,mergeable: MERGEABLE,+70/-192across 12 files).
There was a problem hiding this comment.
Verdict: FINISH, then merge at 098982dc3629
Blockers: none in the DT. Before merge: CI green, a J316s DT-only trial row, and a regression row on a second family.
Checked: built all 6 T600x DTBs (J314s, J316s, J314c, J316c, J375c, J375d) at this head and diffed effective status against main 844781f: 12-45 enables per board, 0 disables, and apciecN_piodma moved into the tunnel containers. No UNSAFE node is enabled: the J316s Maverick PMIC (spmi@2920a9300/pmic@e, nvmem parity errors past 16 B) and sd-card-control@20 ("never probe") stay off. No aura code looks up any of the renamed nodes by path (checked aura main).
Nit: the dma-controller@ → dma@ renames (ANE/AVE DMA and the moved engines) aren't needed. dma-controller is the DT spec's generic node name for a DMA engine, and keeping it makes the diff smaller.
|
J316s (M1 Pro) row at
Not covered: a PCIe device behind a tunnel (enclosure row, fleet eGPU matrix) and the other T600x boards. |
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
|
J413 (T8112) unaffected-family regression control for The J413 trial passed display and audio enumeration, network, USB4 configuration (2/2), and one short RTC wake. There were zero new DART faults and zero SELinux denials. The same USB PM prepare message occurred on the saved control and the trial. The Mac returned to saved fleet89, with the prior Stage 2 digest, empty next entry, Enforcing, and zero failed units. J413 source row: #3515 (comment) |
There was a problem hiding this comment.
The shared tunnel move keeps each PIODMA child paired with its port DART and preserves the existing stream ID. The exact J316s DT trial covers the target. The J413 control uses byte-identical DTBs with and without this T600x change. The author reports no new dtschema, power-domain or sibling drift warnings. Keep hosted DT/CI and the documented hardware scope.
|
Pinging code owners @aurora-silicon/omarchy-mac @aurora-silicon/aurora-maintainers for merge notice at |
…600x-j314-j316.dtsi t602x-j414-j416.dtsi includes t600x-j314-j316.dtsi, and T602x defines m2_apciec3_piodma rather than apciec3_piodma, so referencing &apciec3_piodma in t600x-j314-j316.dtsi broke compilation of T602x DTBs. Move the &apciec3_piodma disable to the four T6000/T6001 laptop board files (t6000-j314s, t6000-j316s, t6001-j314c, t6001-j316c). All six T600x DTBs are byte-for-byte identical to the prior head, and all 139 Apple DTBs build cleanly. Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
|
Fixed the Verified locally:
|
|
The J316s target row and J413 unaffected-family control carry to |
There was a problem hiding this comment.
The disable now lives on the four T600x laptops where ATC3 is HDMI-only, avoiding the undefined T600x label in the T602x shared include. The author reports all 139 DTBs build and six T600x outputs match the prior head byte-for-byte, preserving the J316s evidence. Keep hosted DT checks.
|
Merge notice for @aurora-silicon/omarchy-mac and @aurora-silicon/aurora-maintainers at |
|
Merged as
Revert: |
What: Enable ADT-present peripheral blocks across T6000/T6001/T6002 in the shared dtsi files and move the USB4 PCIe-C PIODMA engines (
apciec0..3_piodma) intousb4-pcie-tunnel-{0..3}so they populate on demand with their tunnel DART.Tested: Head
de76a0531f5180(all 139 Apple DTBs build cleanly; all 6 T600x DTBs byte-for-byte identical to tested098982dc3629, where live J316s DT-only boot row PASS and J413 T8112 unaffected-family control PASS). Local full DT validation at098982dc3629across all 6t600*DTBs (t6000-j314s,t6000-j316s,t6001-j314c,t6001-j316c,t6001-j375c,t6002-j375d):CHECK_DTBS=y(dtschema 2026.9) 234 base / 234 head / 0 new warnings;apple-adt-coverage.py(t6000-j316s) MISSING=0 broken=0;apple-dart-pd-check.py0 new;apple-sibling-drift.py0 new;checkpatch.pl --strict0 errors / 0 warnings. J316s (M1 Pro) DT-only boot + regression row queued with DT-COMPLETE.Risk: two-way · T6000/T6001/T6002 (M1 Pro, M1 Max, M1 Ultra). Most newly enabled nodes have no matching Linux driver (
dpin,ane-dma,pwm1,battery-monitor,radio-pmu,aqc107-i2c) or populate only on USB4 PCIe tunnel activation (apciec*_piodma);i2c5,aop_spmi0,ave*_dma, and T6001/T6002 parity blocks (apr*,ave1..3,mcc,dwi,aic_timebase,dockchannel_uart,soc_events,soc_errors) bind existing drivers already active on T6000.Not yet: J316s (M1 Pro) hardware boot + smoke row at
098982dc3629(queued via DT-COMPLETE) and second-family regression row before merge.Revert:
git revert <merge-sha>cleanly restores all 12 files (arch/arm64/boot/dts/apple/t600*andadt-coverage/t6000-j316s.txt); no on-disk or firmware state is modified.Before you request review
t600x).checkpatch.pl --strict,CHECK_DTBS=y,apple-adt-coverage.py,apple-dart-pd-check.py, andapple-sibling-drift.py.Details
Enabled blocks (shared dtsi first)
t600x-pciec.dtsi,t600x-j314-j316.dtsi,adt-coverage/t6000-j316s.txt):apciec0..3_piodmaintousb4_0_pcie_tunnel..usb4_3_pcie_tunnelwithstatus = "okay"soapple_cio_populate_pcie_tunnel()populates each engine alongsideapciecN_dartandapciecN(and disablesapciec3_piodmaon J314/J316 where ATC3 has no PCIe tunnel).dma@node name (matchingt6040-peripherals.dtsi) for the non-slave auxiliary DMA engines (apciec*_piodma,ane*_dma,ave*_dma) whose bindings omit#dma-cells, avoiding false matches againstdma-controller.yaml.t6000-peripherals.dtsi,t6001-peripherals.dtsi,t6001-j375c-peripherals.dtsi,t6002-peripherals.dtsi,t600x-die0.dtsi,t6000-aux-spmi.dtsi,t6002-aux-spmi.dtsi,t6001-j375c-control.dtsi,t6002-j375d-control.dtsi):atc*_dpin0/1), ANE/AVE auxiliary DMA (ane*_dma,ave*_dma),pwm1,i2c5(+ethernet_sidebandon J375),battery_monitor, andaop_spmi0with its radio PMU children.aic_timebase,dwi,dockchannel_uart,mcc,soc_events,soc_errors, ProRes codecs/DARTs (apr*), and secondary AVE encoders/DARTs (ave1..3).Intentionally kept disabled
reserved-memory/{globals,hw-cal-a,hw-cal-b},/chosen/framebuffer@0,disp0_dart,dcpext*,pmp,pmp_report_*.peripheral_clocks): enabling without a clock driver would defer consumers (ave,scaler,jpeg).t6000-peripherals.dtsipower-controller@{0..70}) and unqualified secondary ANE power states (ps_ane1_sys/ps_ane1_sys_cpu).i2c4(sd-card-control@20),nub_spmi1(maverick-pmicparity errors past 16 B),spi4(dp855/tmp103onperipheral_clocks 380).pmgr_south/south die on T6000,atc2/3on T6002 die1.Evidence
Disabled node counts (base
844781f1b56b-> head098982dc3629):t6000-j314s: 66 -> 50 (-16)t6000-j316s: 64 -> 48 (-16)t6001-j314c: 89 -> 58 (-31)t6001-j316c: 89 -> 58 (-31)t6001-j375c: 100 -> 64 (-36)t6002-j375d: 203 -> 150 (-53)Local checks at
098982dc3629:scripts/checkpatch.pl --no-tree --strict: 0 errors, 0 warnings, 0 checks (935 lines)CHECK_DTBS=y(t600*.dtb, dtschema 2026.9): base 234 warn, head 234 warn, NEW=0scripts/dtc/apple-adt-coverage.py --board t6000-j316s:MISSING=0 mapped=481 waived=231 broken=0 total=712scripts/dtc/apple-dart-pd-check.py:DARTs without a usable power domain: 0, new: 0scripts/dtc/apple-sibling-drift.py:drift 54, new 0, resolved 0