Repository navigation
Conversation
Add the T6050 command-state CPU-frequency profile with explicit firmware thermal ownership. Preserve the 7.3 thermal-policy paths for existing platforms. Signed-off-by: Dj <[email protected]> [J775D: taken from aurora-silicon/linux 490ccd5 onto aurora-wip 72b4b56, the binding keeps its file's own SPDX line] Signed-off-by: Jeff Queisser <[email protected]> Signed-off-by: Erik Bourget <[email protected]>
DjDeveloperr
added a commit
that referenced
this pull request
Nov 9, 2026
The T6050 clusters' DVFS command register reads back the last request it accepted, not a measured state, so the profile verifies each transition against that readback, with a 2 ms timeout. On this chip the firmware owns the clusters' thermal limits; the profile refuses a cluster whose node doesn't say so (apple,firmware-managed-thermal), and the binding requires that property for apple,t6050-cluster-cpufreq. Tested on J714s (M5 Pro, bare metal under aura Stage 2): all three clusters bind (M 300-4380 MHz, P 300-4608 MHz, schedutil) with no DVFS error; idle clusters sit at 300 MHz and loaded ones at their top state. Clocks measured with a dependent add chain go from iBoot's 2.65/1.34/ 1.31 GHz to 4.29/4.38/4.60 GHz (with WFI idle); one-thread work is 1.6x faster on M and 3.4x on P, and idle system power drops from 20.1 to 7.2-7.9 W while idle still spins under idle=nop. Carried for the bare-metal kit by Erik Bourget (#944). Signed-off-by: Diljit Singh <[email protected]>
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.
T6050's CPU clusters have no cpufreq profile, so they stay at the boot loader's states. This adds DJ's T6050 command-state profile. It registers only when the cluster's DT node asserts
apple,firmware-managed-thermal: firmware keeps throttling, voltage and PLL control, and without that assertion the driver refuses DVFS.Commit by Dj. On J716c (MacBook Pro 16-inch, M5 Max) this runs as part of the full T6050 stack (
j716c/t6050-platform): the machine boots to userspace from NVMe with all 18 CPUs, N1 Wi-Fi up and CPU frequency scaling active. The cluster policies come up and report changing frequencies.Created with Claude Opus 5.5 in Claude Code.