Skip to content

arm64: dts: apple: t8152-j804: describe PMC/CLPC and G18G GPU (on #4373) - #4375

Open
stefanodvx wants to merge 5 commits into
aurora-silicon:mainfrom
stefanodvx:feat/j804-gpu
Open

stefanodvx wants to merge 5 commits into
aurora-silicon:mainfrom
stefanodvx:feat/j804-gpu

Conversation

@stefanodvx

Copy link
Copy Markdown
Contributor

What:
Stacked on #4373 (and #4372). Includes the shared T8152 PMC/CLPC (t8152-j873-pmc.dtsi) and G18G GPU (t8152-j873-gpu.dtsi) descriptions on the MacBook Pro (14-inch, M6, J804). All SGX (0x580000000), GFX/GFX1 ASCWrap v8 mailbox (0x582600000/0x582e00000, IRQs 300/260 and 301/261), and PMC (0x302800000/0x3029c6000) register windows and interrupts match the J804 ADT identically.

Tested:

  • 7f4850a5 — MacBook Pro 14-inch (M6, Mac18,1, J804, T8152, stub 26B7124, kernel 7.3.0-53.fc45.aurora.aarch64 with aura usb: typec: tipd: Limit the retries of a held mux by time, not count #359 + 26B7124 G18G profile): PASS — /chosen/aurora,g18g-gpu-firmware-profile published as G18G-RTKit-3514.41.1.release; both GFX/GFX1 ASCWrap v8 mailboxes and all 8 reserved-memory regions enabled; aurora-g18 580000000.gpu stage 10 powered PSD services 3/81/82, decoded G18G rev B1, 1 dies, 2 clusters x 6 cores, 12 active (core mask 0xfff), booted GFX (32 us) and GFX1 (117 us) RTKit roles, initialized MMU/scheduler/render targets with 0 GPU errors and 0 failed systemd units.

Risk:
Two-way door (J804 board DT only; asahi refuses with ENODEV without a verified loader receipt).

Not yet:

LiamRay11 and others added 5 commits December 4, 2026 22:19
Add the T8152 compatible for the keyboard backlight PWM controller,
which uses the apple,s5l-fpwm fallback.

Signed-off-by: LiamRay11 <228416644+LiamRay11@users.noreply.github.com>
Signed-off-by: stefano <69367859+stefanodvx@users.noreply.github.com>
The T8152 AP GPIO bank uses uncached T8140 register access so reserved
pins do not fault on probe; switch the shared T8152 AP pinctrl node in
t8152-j873-n1.dtsi to match while keeping the distinct AOP controller
on T8103 access.

Signed-off-by: LiamRay11 <228416644+LiamRay11@users.noreply.github.com>
Signed-off-by: DjDeveloperr <hey@djdev.me>
Signed-off-by: stefano <69367859+stefanodvx@users.noreply.github.com>
Turn the disabled J804 inventory into a board description for a RAM
boot from the loader, on top of the shared T8152 description:

  - the twelve CPUs with the first two unmanaged performance states per
    cluster
  - AIC, timer, boot framebuffer, and the shared T8152 CPU idle node
  - SMC mailbox, pcIO output for the trackpad AFE reset, and hwmon keys
    (fan monitored only, temperatures discovered)
  - watchdog, AP pinctrl with reserved no-restore pins, I2C1 (disabled
    jack codec) and I2C3, and FPWM keyboard backlight
  - boot NOR and PMGR via t8152-j873-qspi.dtsi plus SIO/I2C power states

All addresses, interrupts, GPIO ranges, and properties are verified
against the J804 (Mac18,1) ADT.

Signed-off-by: LiamRay11 <228416644+LiamRay11@users.noreply.github.com>
Signed-off-by: stefano <69367859+stefanodvx@users.noreply.github.com>
Include the shared T8152 ANS2 NVMe description (t8152-j873-nvme.dtsi;
all register bases and interrupts match the J804 ADT) and describe the
three exposed USB-C host controllers (usb-drd0, usb-drd1, usb-drd3),
their two Gen3 DART instances (0x20000 windows), and ATC USB power
domains for loader-initialized USB2 host operation.

Signed-off-by: stefano <69367859+stefanodvx@users.noreply.github.com>
Include the shared T8152 PMC/CLPC (t8152-j873-pmc.dtsi) and G18G GPU
(t8152-j873-gpu.dtsi) descriptions. All SGX, GFX/GFX1 ASCWrap v8
mailbox, and PMC register windows and interrupts match the J804 ADT.

Signed-off-by: stefano <69367859+stefanodvx@users.noreply.github.com>
@stefanodvx
stefanodvx requested review from a team as code owners December 4, 2026 23:00
@github-actions github-actions Bot added area:bringup Area from CODEOWNERS (bot) door:two-way Revertible or not, from Merge risk (bot) needs-review No approving review from Core or Omarchy Mac yet (bot) labels Dec 4, 2026
@github-actions

github-actions Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

Merge readiness at 7f4850a5: not ready yet

Check Detail
CI at head no failing: dt-checks
Review ok approved by RyanTheTide
Requested changes ok none
Hardware row at head ok the PR body at 7f4850a5
Conflicts ok none
PR text ok Risk: two-way · (J804 board DT only; asahi refuses with ENODEV without a verified loader receipt).

Areas: area:bringup

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

@RyanTheTide RyanTheTide left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Verdict: MERGE at 7f4850a

Checked: Reviewed the delta from #4373 and compiled the exact J804 DT. The shared fragments resolve the PMC/CLPC link, both mailbox phandles and eight reserved-memory regions. The compiler reports unit-name warnings in the reused GPU fragment. The J804 receipt reports both RTKit roles initialized using the companion loader.

Merge #4373 first. GPU activation in the reported configuration depends on the companion Aura work. Hosted DT and host-test jobs were skipped on this head.

@github-actions github-actions Bot removed the needs-review No approving review from Core or Omarchy Mac yet (bot) label Dec 5, 2026
@github-actions github-actions Bot added the ci-failing A check failed at the PR head (bot) label Dec 5, 2026
@RyanTheTide

Copy link
Copy Markdown
Contributor

CI dt-checks (47443094185) failed with 3 new CHECK_DTBS schema warnings on arch/arm64/boot/dts/apple/t8152-j804.dtb:

  • /soc/gpu@580000000: failed to match any schema with compatible: ['apple,agx-t8152']
  • /soc/mailbox@582600000: failed to match any schema with compatible: ['apple,t8152-gfx-ascwrap-v8']
  • /soc/mailbox@582e00000: failed to match any schema with compatible: ['apple,t8152-gfx-ascwrap-v8']

Adding apple,agx-t8152 and apple,t8152-gfx-ascwrap-v8 to the matching GPU / mailbox DT binding schemas will clear dt-checks.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:bringup Area from CODEOWNERS (bot) ci-failing A check failed at the PR head (bot) door:two-way Revertible or not, from Merge risk (bot)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants