Repository navigation
arm64: dts: apple: t8152-j804: enable ANS2 NVMe and USB-C hosts (on #4372) - #4373
Open
stefanodvx wants to merge 4 commits into
Open
stefanodvx wants to merge 4 commits into
stefanodvx wants to merge 4 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
previously approved these changes
Dec 5, 2026
RyanTheTide
left a comment
Contributor
There was a problem hiding this comment.
Verdict: MERGE at 8d48bf6
Checked: Compared the NVMe and USB delta against the core DT parent, compiled the exact J804 DT without warnings, and verified all three USB controllers resolve to host mode with paired DARTs and port-local power domains. The shared ANS2 description is reused as-is. The J804 receipt reports mounted NVMe root and all three xHCI probes. USB3 and Type-C mode switching remain outside this change.
Merge #4372 first. Hosted DT and host-test jobs were skipped on this head.
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>
stefanodvx
force-pushed
the
feat/j804-nvme-usb
branch
from
December 5, 2026 10:12
8d48bf6 to
73f04fb
Compare
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.
What:
Stacked on #4372. Enables internal ANS2 NVMe storage and the three exposed USB-C host controllers on the MacBook Pro (14-inch, M6, J804):
t8152-j873-nvme.dtsi(ans_mbox,sart,nvme-- all register windows and interrupts match the J804 ADT identically).usb-drd0,usb-drd1, andusb-drd3(apple,t8152-dwc3), their two Gen3 DART instances (0x20000register windows per J804 ADT), and thepmgr_atcUSB power domains for loader-initialized USB2 host operation.Tested:
73f04fb4MacBook Pro 14-inch (M6,Mac18,1,J804,T8152, stub26B7124, kernel7.3.0-53.fc45.aurora.aarch64) PASS: rebased onto updated arm64: dts: apple: t8152-j804: describe the MacBook Pro (M6) core board #4372 (46bdb001),dtc0 warnings; identical NVMe/USB-C DT diff hardware-verified at8d48bf66with NVMenvme0n1(931.8 GiB,btrfsroot mounted onnvme0n1p6,/bootonnvme0n1p5, EFI onnvme0n1p4,nvme0n2..4namespaces,hwmon0Composite 34.85 C), all 3 USB-C xHCI hosts probed (402430000.usb,40a430000.usb,412430000.usb,lsusbBuses 001-006),12/12CPUs online, 0 failed systemd units.Risk:
Two-way door (J804 board DT only).
Not yet: