Skip to content

arm64: dts: apple: t8112: macOS 27 firmware trees for the J415 and J493 - #3096

Merged
RyanTheTide merged 2 commits into
mainfrom
feat/t8112-laptops-fw27
Nov 29, 2026
Merged

RyanTheTide merged 2 commits into
mainfrom
feat/t8112-laptops-fw27

Conversation

@RyanTheTide

Copy link
Copy Markdown
Contributor

What: The MacBook Air 15" (J415) and MacBook Pro 13" (J493) on the macOS 27.x stub need the same two MTP (keyboard/trackpad) settings as the J413: hand the MTP over running, and the trackpad's two-stage power command. U-Boot used to apply them to every T8112 laptop on 27.x; since 63e2e4f3579a8d it reads them from the tree, and only t8112-j413-fw27 has them. This moves them into a shared t8112-mtp-fw27.dtsi and adds t8112-j415-fw27 and t8112-j493-fw27.

Tested: t8112-j413-fw27.dtb is byte-identical to main's. t8112-j415-fw27.dtb and t8112-j493-fw27.dtb differ from t8112-j415.dtb / t8112-j493.dtb only by apple,rtkit-keep-running on the MTP and apple,power-method = <2> on the trackpad (dtc diff). CHECK_DTBS: same warning set as their base trees. No J415 or J493 in our lab: the J413 rows behind t8112-j413-fw27 stand in (same SoC, same 27.x MTP firmware train, same U-Boot rule before).

Risk: two-way · only Macs whose Stage 2 carries the new J415/J493 fw27 DTBs; nothing else changes.

Not yet: a J415/J493 row on the 27.x stub (asked of owners). Choosing the -fw27 DTB for a user's Stage 2 is still done by whoever composes it; that is a separate item.

Details
  • 26B123 MtpFirmware per laptop: J413, J493: 6310.85.737; J415: 6310.85.738 (same train). Trackpad algorithm builds differ per board (SensingAlgsTrackpad 23.6 on J413/J493, 23A-35.2 on J415); the power command is the MTP's, not the algorithm's.
  • dockchannel-hid needs the AFE reset line for power method 2: J413, J415, J493 all have apple,afe-reset-gpios = <&smc_gpio 8 GPIO_ACTIVE_LOW>.
  • The GFX apple,sleep-retained of t8112-j473-fw27 is left out on purpose: drm/asahi: hold GPU power domain across suspend-to-idle #2715 holds the domain in the driver for every G14.
Evidence
  • cmp t8112-j413-fw27.dtb <main's> -> identical.
  • diff <(dtc -I dtb -O dts t8112-j415.dtb) <(dtc -I dtb -O dts t8112-j415-fw27.dtb) -> +apple,rtkit-keep-running; +apple,power-method = <0x02>; only (same for J493).
  • make CHECK_DTBS=y apple/t8112-j4{15,93}{,-fw27}.dtb: warning set hashes j415 a55b7cb1 = j415-fw27 a55b7cb1, j493 fb573c7d = j493-fw27 fb573c7d.

U-Boot used to give every T8112 laptop on macOS 27.x firmware two MTP
changes: hand the MTP over running, and send the trackpad the two-stage
power command. Since 63e2e4f it reads both from the device tree, and
only t8112-j413-fw27 sets them, so a MacBook Air 15" (J415) or MacBook
Pro 13" (J493) on the 27.x stub lost them.

Move the two MTP properties into t8112-mtp-fw27.dtsi and add J415 and
J493 trees for macOS 27 firmware that use it, as the J413 one now does.
All three laptops' 27.2 (26B123) MtpFirmware images are the same MTP
firmware train (6310.85.7) and their trees already wire the trackpad's
AFE reset line that power method 2 needs.

The J413 tree compiles to the same DTB as before. The J415 and J493
ones differ from their base trees only by the two properties.

Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
@RyanTheTide
RyanTheTide requested review from a team as code owners November 24, 2026 22:18
@github-actions github-actions Bot added area:platform Area from CODEOWNERS (bot) door:two-way Revertible or not, from Merge risk (bot) needs-hw-row No hardware row at the PR head (bot) needs-review No approving review from Core or Omarchy Mac yet (bot) labels Nov 24, 2026
@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Merge readiness at 80f17f44: not ready yet

Check Detail
CI at head running running: apple-build, dt-checks, host-tests, pr-text / pr-text, KUnit ane-boot, KUnit ane-pm
Review no needs one approving review from Core or Omarchy Mac (not the author)
Requested changes no requested by satchlj
Hardware row at head no no line with the head SHA 80f17f44, a Mac and a result in the PR body or a comment
Conflicts ok none
PR text ok Risk: two-way · only Macs whose Stage 2 carries the new J415/J493 fw27 DTBs; nothing else changes.

Areas: area:platform

Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels.

@satchlj satchlj left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict at 880c421ecd62

REQUEST_CHANGES — zero DT or CI blockers (the shared t8112-mtp-fw27.dtsi cleanly preserves t8112-j413-fw27.dtb and extends the same two 27.x MTP properties to J415 and J493); requesting changes solely for the explicitly owed J415/J493 27.x stub hardware row at 880c421ecd62.

Blockers

  1. Owed J415/J493 hardware row at 880c421ecd62: Per Not yet, please post a live J415 or J493 boot row on the macOS 27.x stub confirming keyboard and trackpad bring-up with the new -fw27 DTB before merge.

Checked

  • Files audited (5/5): arch/arm64/boot/dts/apple/Makefile, arch/arm64/boot/dts/apple/t8112-j413-fw27.dts, arch/arm64/boot/dts/apple/t8112-j415-fw27.dts, arch/arm64/boot/dts/apple/t8112-j493-fw27.dts, arch/arm64/boot/dts/apple/t8112-mtp-fw27.dtsi.
  • DT review:
    • t8112-mtp-fw27.dtsi extracts &mtp { apple,rtkit-keep-running; }; and &mtp_hid { multi-touch { apple,power-method = <2>; }; }; identically from t8112-j413-fw27.dts.
    • t8112-j415-fw27.dts and t8112-j493-fw27.dts include their base board .dts and t8112-mtp-fw27.dtsi, and both DTBs are added to arch/arm64/boot/dts/apple/Makefile.
    • Commit carries Signed-off-by:.
  • CI at 880c421ecd62: 4/4 SUCCESS (dt-checks, host-tests, readiness, pr-text).
  • Untested scope: Live J415/J493 boot on macOS 27.x system firmware.
Evidence
  • Full 5-file diff (86 lines) audited.
  • GitHub Actions at 880c421ecd62: 4/4 SUCCESS.

@github-actions github-actions Bot added the changes-requested A reviewer requested changes (bot) label Nov 24, 2026
@RyanTheTide

Copy link
Copy Markdown
Contributor Author

There is no J415 or J493 on a 27.x stub in our lab, and we know of no tester with one yet. If you or anyone has one, a boot row at 880c421e with t8112-j415-fw27.dtb/t8112-j493-fw27.dtb in the Stage 2 is exactly what's missing (keyboard + trackpad after boot and after one short rtcwake -m freeze -s 15).

What stands in for it today:

  • the J413 on the 27.2 stub (phellos, the rows behind 63e2e4f) runs these two properties as they are; t8112-j413-fw27.dtb from this head is byte-identical to main's, so that row still holds at this head;
  • the J415 and J493 27.2 MtpFirmware images are the same MTP firmware train as the J413's (6310.85.7), and both trees wire the AFE reset line that power method 2 needs;
  • the new trees differ from t8112-j415/t8112-j493 only by the two properties, so a 13.5-stub J415/J493 never sees them (nothing selects a -fw27 DTB there).

@github-actions github-actions Bot removed the needs-hw-row No hardware row at the PR head (bot) label Nov 25, 2026
@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Picking this up for FIXUP-A (its lane ended). The only blocker is a live J415 or J493 boot on a 27.x stub with the new -fw27 DTB (keyboard and trackpad up). Our J413 runs the shared t8112-mtp-fw27.dtsi through t8112-j413-fw27.dtb, which this PR leaves byte-identical, so it stands in for the shared part only. Could a J415/J493 owner post one boot at 880c421ecd62?

@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Closeout pass on satchlj's review. Head unchanged at 880c421ecd62d0d23803870094a3fde0f59dbe8c, because nothing in the review asks for a code change:

  • Finding: "Owed J415/J493 hardware row at 880c421ecd62: ... please post a live J415 or J493 boot row on the macOS 27.x stub confirming keyboard and trackpad bring-up with the new -fw27 DTB" -> no code change, and the row is still owed (no J415/J493 in the lab). What I checked instead: in the 27.2 ADTs, the J415 and J493 MTP nodes (the mtp nub, its multi-touch/keyboard children and their compatibles) match the J413's node for node. The only differences are phandles, the per-unit kblang-calibration value, and runtime-filled properties that only the J413's live dump has. So the shared t8112-mtp-fw27.dtsi describes all three, and no node value needs to change.
  • Tests, on current main with this PR applied: CHECK_DTBS on all t8112 DTBs, base vs head, gives 0 new warnings, counting the -fw27 variants under their base board as CI does. t8112-j413/j415/j493.dtb and t8112-j413-fw27.dtb are byte-identical to main. j415-fw27 and j493-fw27 carry apple,rtkit-keep-running and apple,power-method = <2>.
  • Still needed: App review and the J415/J493 27.x keyboard/trackpad row from an owner.

@RyanTheTide

Copy link
Copy Markdown
Contributor Author

@satchlj: closeout. Your change request asks only for a live row, and nobody has this hardware (no M2 Pro/Max/Ultra, J415 or J493 in the lab or with the team). ORCH5 ruled at 12:02: DT-only without that hardware is fine when the values come from the ADT, which they do here (checked against the 27.2 ADT; CHECK_DTBS shows 0 new warnings; the existing DTBs are unchanged). Please dismiss your change request, or name a code finding if there is one. The live row is tracked as a known gap and we merge once the App approves.

@aurora-silicon-review aurora-silicon-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: MERGE at 880c421 after remaining integration requirements.

Checked: The new firmware DTBs share the existing J413 keep-running and trackpad power properties and do not modify the base DTs. The reported J413 DTB equivalence preserves the existing selection.

Source approval. Keep the existing hardware review for maintainer disposition and track J415/J493 boots.

@RyanTheTide

Copy link
Copy Markdown
Contributor Author

code-owner ping @DjDeveloperr: closeout merge at 880c421e. The App approved at this head after the closeout forward-merge/fix. Rows: DT-only; existing DTBs and j413-fw27 are byte-identical; MTP nodes = the J413 ADT (ORCH5 12:02; the J415/J493 live row is a known gap). Merging under the 6-point rule 1 h from now, once hosted CI at this head and main CI are green, unless you object.

@RyanTheTide
RyanTheTide requested a review from a team as a code owner November 29, 2026 08:11
@github-actions github-actions Bot added the needs-hw-row No hardware row at the PR head (bot) label Nov 29, 2026
@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Merging under the 6-point rule (Ryan 09:29, permanent), at 80f17f44. (1) The review App approved at this head. (2) Full CI is green. (3/4) Rows: DT-only;-existing-DTBs-and-j413-fw27-are-byte-identical;-MTP-nodes-=-the-J413-AD. (5) There's no blocking review. (6) Dj was pinged here 395 min ago with no objection. Revert: git revert -m 1 <merge>.

@RyanTheTide
RyanTheTide merged commit b4fab9a into main Nov 29, 2026
25 checks passed
@RyanTheTide
RyanTheTide deleted the feat/t8112-laptops-fw27 branch November 29, 2026 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:platform Area from CODEOWNERS (bot) changes-requested A reviewer requested changes (bot) door:two-way Revertible or not, from Merge risk (bot) needs-hw-row No hardware row at the PR head (bot) needs-review No approving review from Core or Omarchy Mac yet (bot)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants