Repository navigation
arm64: dts: apple: t8152-j804: describe PMC/CLPC and G18G GPU (on #4373) - #4375
stefanodvx wants to merge 6 commits into
Conversation
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>
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
RyanTheTide
left a comment
There was a problem hiding this comment.
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.
|
CI
Adding |
The T8152 AP GPIO bank uses uncached T8140 register access so reserved pins do not fault on probe; allow the apple,t8140-pinctrl fallback for apple,t8152-pinctrl while preserving the existing T8103 fallback used by J873g and the separate AOP GPIO bank. 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>
Place the shared T8152 SoC nodes in t8152.dtsi (disabled by default so hardware-only boards such as J833ct remain opt-in): - unmanaged CPU cluster OPP tables and cluster cpufreq controllers - SMC firmware reserved memory, SMC mailbox, and SMC controller - watchdog, AP pinctrl (uncached T8140 profile), I2C1, I2C3, and FPWM0 Then turn t8152-j804.dts into a concise board description enabling those shared blocks and keeping only J804-specific wiring (reserved GPIO pin ranges, disabled jack codec, keyboard backlight LED, SMC pcIO reset and hwmon keys, boot NOR via t8152-j873-qspi.dtsi, and SIO/I2C power states). J873g and its existing pinctrl fallback remain untouched. 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>
Add apple,agx-t8152 to apple,agx.yaml (SGX plus three PSD service windows, two GFX mailboxes, and eight boot-local firmware/UAT memory regions) and apple,t8152-gfx-ascwrap-v8 to apple,ascwrap-v6.yaml (wrapper, iop-vbar, post-office mailbox, and PSD windows) so T8152 GPU device trees pass CHECK_DTBS validation. 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>
7f4850a to
392727c
Compare
What:
Stacked on #4373 (and #4372):
apple,agx-t8152toDocumentation/devicetree/bindings/gpu/apple,agx.yamlandapple,t8152-gfx-ascwrap-v8toDocumentation/devicetree/bindings/mailbox/apple,ascwrap-v6.yamlso T8152 G18G GPU and GFX/GFX1 ASCWrap v8 mailbox nodes passCHECK_DTBS.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:
392727cdMacBook Pro 14-inch (M6,Mac18,1,J804,T8152, stub26B7124, kernel7.3.0-53.fc45.aurora.aarch64withaurausb: typec: tipd: Limit the retries of a held mux by time, not count #359 +26B7124G18G profile) PASS: rebased onto arm64: dts: apple: t8152-j804: enable ANS2 NVMe and USB-C hosts (on #4372) #4373 (73f04fb4);dt-doc-validateanddt-validatepass with 0 warnings onapple,agx.yamlandapple,ascwrap-v6.yamlacrosst8152-j804.dtb,t8152-j833ct.dtb, andt8152-j873g.dtb; identical J804 GPU DT hardware-verified at7f4850a5:/chosen/aurora,g18g-gpu-firmware-profilepublished asG18G-RTKit-3514.41.1.release, bothGFX/GFX1ASCWrap v8 mailboxes and all 8 reserved-memory regions enabled,aurora-g18 580000000.gpustage 10 powered PSD services 3/81/82, decodedG18G rev B1, 1 dies, 2 clusters x 6 cores, 12 active (core mask 0xfff), bootedGFX(32 us) andGFX1(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 and T8152 GPU/mailbox DT bindings only;
asahirefuses withENODEVwithout a verified loader receipt).Not yet:
aurausb: typec: tipd: Limit the retries of a held mux by time, not count #359 and the26B7124/26B7131G18G profile PR for Stage 2 to publish the firmware receipt on J804.