From 5cd16187d3f244e672659666aef40fd66b1bd197 Mon Sep 17 00:00:00 2001 From: Friedrich <261542475+aeries0x@users.noreply.github.com> Date: Tue, 10 Nov 2026 21:30:39 +0100 Subject: [PATCH] kboot: copy the T8132 USB3 calibration on the J604 too 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> --- src/kboot_atc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/kboot_atc.c b/src/kboot_atc.c index e34b1a021..c6ed6c054 100644 --- a/src/kboot_atc.c +++ b/src/kboot_atc.c @@ -872,7 +872,9 @@ static void dt_copy_atc_tunables(void *dt, const char *adt_path, const char *dt_ if (adt_node < 0) return; - if (chip_id == T8132 && !fdt_node_check_compatible(dt, 0, "apple,j713") && + if (chip_id == T8132 && + (!fdt_node_check_compatible(dt, 0, "apple,j713") || + !fdt_node_check_compatible(dt, 0, "apple,j604")) && !fdt_node_check_compatible(dt, fdt_node, "apple,t8132-atcphy") && adt_is_compatible_at(adt, adt_node, "atc-phy,t8132", 0)) { dt_copy_t8132_usb3_tunables(dt, adt_node, fdt_node);