Repository navigation
arm64: dts: apple: t8132-j604: add the ATC PHY CIO calibration - #1932
Merged
RyanTheTide merged 1 commit intoNov 16, 2026
Merged
Conversation
Without the CIO calibration the ATC PHY driver serves a USB4 or Thunderbolt connection on these ports as USB2 only. The boot chain passes the SuperSpeed calibration on, but not the CIO one, so describe it here as the J713 does. The values are the J604's own, converted from its ADT for the three Type-C PHYs in the J713 file's layout. The register offsets match the J713 file entry for entry. The values differ in the per-PHY PLL and common-block words, and the J604 lane EQ list carries two more entries, which are kept in ADT order. Signed-off-by: Dylan Ironside <[email protected]> Assisted-by: LLM
IronsideXXVI
added a commit
to IronsideXXVI/omarchy-j604
that referenced
this pull request
Nov 14, 2026
kernel/: the 4 patches 1.916 adds (601 in all), same Aurora base: the boot record moves into PMU scratch the J604 keeps, an idle external display coprocessor with nothing attached stays powered (the fix candidate for the early-boot stall), the G16 performance selectors carry the value macOS publishes, and the J604 device tree describes the CIO calibration of its three Type-C PHYs. The recipe is the linux-aurora-next package. STATUS.md: 1.916 is the default as linux-aurora-next with 1.915 beside it as linux-aurora. Early-boot stall: 3 of 3 boots on 1.916 clean so far, not yet proof (6 of 22 before). Deep sleep: pm_test at the core level comes back, and probe marks put the stop between the start of the sleep driver's enter step and its first coprocessor stop. Also measured on 1.916: boot CPU registers same as a later-started core's, a scheduler utilization floor A/B (not shipped), JPEG encode at 130-142 % of macOS and H.264 encode at 83-87 % in steady state. UPSTREAM.md: aurora-silicon/linux#1932 (ATC PHY CIO calibration) and #1933 (G16 performance selectors) opened.
RyanTheTide
merged commit Nov 16, 2026
25aabbc
into
aurora-silicon:integration/aurora
2 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The J604's (MacBook Pro 14" M4, T8132) ATC PHYs get no CIO calibration. On the running J604 the live device tree's atcphy0/1/3 carry only
apple,tunable-usb3-*: the boot chain copies the SuperSpeed calibration, but there is no T8132 CIO table to copy. Without it the ATC PHY driver serves any USB4 or Thunderbolt partner on these ports as USB2 only ("USB4/Thunderbolt is not available on this port"), and CIO modes return -EOPNOTSUPP.This adds
t8132-j604-atcphy-tunables.dtsiwith the tenapple,tunable-cio-*properties for each of the three Type-C PHYs, included fromt8132-j604.dts, in the same layout as the J713's file.Where the values come from: the J604's own ADT (atc-phy0/1/3, 44 tunables each), converted into the J713 file's properties.
Every offset fits its register bank. Nothing on the boot path changes: CIO runs only when the USB-PD controller reports a USB4/Thunderbolt partner.
Checked on top of
integration/aurorabe8d4cd:arch/arm64/boot/dts/apple/is already covered.CHECK_DTBS=y apple/t8132-j604.dtbadds nothing; the existing aliases/chosen messages are already on be8d4cd. The built DTB carries the 30 new properties.t8132-j604.dts(our tree has a lab include next to it). Only the new include line is added.Tested on the J604 only (our linux-aurora-next 1.916, which carries this file): it boots with no failed units and 0 deferred devices. No USB4 or Thunderbolt device has been plugged in yet, so whether a USB4 link comes up is still to verify.
Values are per machine, so a later boot-loader change could copy them from each machine's ADT, as it already does for SuperSpeed; this file would then be the fallback.