Repository navigation
arm64: dts: apple: t8112-j413: add the remaining CPU temperatures - #1371
Merged
Merged
Conversation
The J413 describes five of its CPU temperature keys (TCMz, Te05 and the offset keys of four P sensor sites), but its SMC reports 31, and the hottest site, Tp0o, is not among them. Add the other 26 as read-only hwmon channels after the GPU ones, so no existing channel or thermal zone index moves: TCMb, Te04 and Te06 for the E cluster and every Tp key for the P cluster. They were mapped by loading each cluster in turn: Te04-Te06 rise 8 C with the E cluster, the Tp keys 15-22 C with the P cluster. Signed-off-by: Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> Assisted-by: LLM
RyanTheTide
marked this pull request as ready for review
November 9, 2026 18:51
This was referenced Nov 11, 2026
Merged
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 J413 (MacBook Air, M2) describes five of its CPU temperature keys (TCMz, Te05, Tp01/05/09/0D). Its SMC reports 31, and the hottest sensor site under load (Tp0o, with Tp0A) is not among them.
This adds the other 26 as read-only macsmc-hwmon channels, after the GPU channels so no existing channel number or thermal zone index changes: TCMb, Te04 and Te06 (E cluster), and every remaining Tp key (P cluster). No thermal zone or trip.
Key mapping (J413, fleet kernel, read-only key reads while loading one cluster at a time for 20 s): Te04-Te06 rise 7.7-8.4 C with the E cluster; all Tp keys rise 14.5-21.8 C with the P cluster. As on the M1 Pro, each sensor site has a reading, the reading plus a fixed offset and a hotspot estimate; TCMz is the hottest hotspot key and TCMb the hottest offset key.
Testing
J413, one aura-try trial boot of its live Stage 2 with only these 26 nodes added to its DTB (never committed), production kernel 7.3.0-aurora-fleet46, 1 Hz sampling:
Kernel dt-checks: no new warnings.
🤖 Generated with Claude Code