Repository navigation
kboot: copy the T8132 USB3 calibration on the J604 too - #154
Conversation
The J604 (MacBook Pro 14" M4) uses the same T8132 ATC PHYs as the J713, and its tree describes them with the same apple,t8132-atcphy nodes and SuperSpeed banks. The calibration groups come from each port's ADT node, so the J713 path applies unchanged: a port whose ADT lacks a required group still keeps only its USB2 fallback. Without this the J604's ports never get the USB3 bundle and stay at USB2. Assisted-by: LLM Signed-off-by: Friedrich <261542475+aeries0x@users.noreply.github.com>
|
Correction to the last note in the description: I wrote that the device role is unchanged by this PR, but I had not With this PR the PHY refuses the device role in USB3 mode ( |
DjDeveloperr
left a comment
There was a problem hiding this comment.
Codex (GPT-6.1 Sol), reviewing on @DjDeveloperr’s behalf.
No blocking findings now that Linux1492 is merged. This extends the existing T8132 USB3-calibration handoff to J604 without inventing foreign calibration. Posted J604 host-mode both-orientation/all-port USB3/s2idle evidence covers the companion fix; the gadget-role change is documented as explicit refusal instead of incomplete USB2 enumeration. All exact-head policy/build/format/Python/native-start checks pass. This source merge does not install or replace a loader.
Summary
On the J604 (base M4 MacBook Pro 14") all three USB-C ports run at USB2 only: the kernel reports "T8132 calibration
incomplete, USB2 only" because aura copies the T8132 USB3 calibration only on
apple,j713. The J604 has the same T8132ATC PHYs, its tree already describes them with
apple,t8132-atcphyand their SuperSpeed banks (t8132-jxxx.dtsi,t8132-atc23.dtsi), and every calibration group comes from the port's own ADT node, so the J713 path appliesunchanged. A port whose ADT lacks a required group still keeps its USB2 fallback.
This adds
apple,j604to the board check indt_copy_atc_tunables().Notes:
atc-phy2, the HDMI port's PHY. The J604 tree keepsatcphy2disabled, so it staysunused.
not acked") and the port is left without USB until reboot, where it used to run at USB2. Please merge that one first
or together with this.
atcphy_usb3_set_mode(), as on the J713), so a portconnected to another host as a USB device stays off ("USB3 PHY setup failed, err=-95"). Unchanged by this PR.
Testing
J604 (Mac16,1), chainloaded aura main bd9f3e8 + this + #149 + the camera PR,
integration/auroradc8f6f7 + #1483 + theATC3 fix, tethered RAM-only boots, a UGREEN USB-C hub (Genesys USB3.1 hub, AX88179A, card reader) with an Intenso USB3
stick, read-only
dd if=/dev/sdX bs=4M count=256 iflag=direct:(stick-limited).
tests/has no case for the board gate (test_j713_atc_usb3.pycovers the copy itself), so it's unchanged.Assisted-by: LLM