Repository navigation
arm64: dts: apple: t8132: enable the Neural Engine on every M4 board - #2792
Draft
RyanTheTide wants to merge 1 commit into
Draft
RyanTheTide wants to merge 1 commit into
RyanTheTide wants to merge 1 commit into
Conversation
Every T8132 has the ANE; the DT enabled it, with its three DARTs, on the J713 only, the board it was first run on (#1952). The node's resources and power domains are the SoC's, and the driver binds only when the loader hands off the firmware preload (aura#260 does so for any apple,t8132-ane node), so enable it in the SoC file and drop the J713 copy. The J713's DT is unchanged. Not tested on the J604, J715, J623/J624 or J773g (desk audit, lane SPEC-M3M4). Signed-off-by: Ryan Murray <[email protected]>
Contributor
Author
|
Review at ea50ee1 (non-author, draft). No blocker found; ready once the listed rows are in.
Small points, not blocking:
Assisted-by: LLM (Claude:Opus 5.5) |
This branch has not been deployed
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.
Replaces #2244 (same changes, commit trailers fixed).
Problem. Every T8132 has the Neural Engine, but the DT enabled it (and its three DARTs) only in
t8132-j713.dts, the board it first ran on. The J604, J715, the iMacs and the Mac mini never get the node.Change. Enable
ane,ane_dart,ane_dart1andane_dart2int8132-peripherals.dtsiand drop the J713 copy. The driver still binds only when the loader hands off the firmware preload (aura#260 does that for anyapple,t8132-anenode), so a board whose loader doesn't hand it off behaves as today.Testing. cpp + dtc on all six T8132 boards: same warning counts as the base. J713's sorted decompile is byte-identical to the base. On J604, J715 and J773g the only change is those four nodes going from disabled to okay.
Rows from #2244. DjDeveloperr ran it on a J773g (Mac mini M4) with aura#260, 4 boots: the preload identity is accepted, all three DARTs come up, the ANE stage reports
program ran=1 refused=0,/dev/accel/accel0is present, 0 IRQ timeouts (row).Still to run. An inference on a board other than the J713 (the J773g row had no HWX fixture), and one boot on a J604 or J715.