Repository navigation
arm64: dts: apple: t6031, t6034: enable PCIe CLKREQ on J514/J516 - #3856
Conversation
T6031/T6034 already muxes the PCIe CLKREQ# lines on AP GPIOs 0-3 (pcie_pins in t6031-gpio-pins.dtsi, attached to pcie0 in t6031-die0.dtsi), and both onboard endpoints on J514/J516 — port00 (BCM4388 Wi-Fi/BT) and port01 (GL9755 SD card reader) — advertise L1SubCap (PCI-PM L1.1/L1.2, ASPM L1.1/L1.2) and Clock PM. Without supports-clkreq on the root ports, pcie_aspm leaves L1 substates and Clock PM off by default. Add supports-clkreq to port00 and port01 on all four M3 Max MacBook Pro boards (J514c, J516c, J514m, J516m), matching T6030 J514s and T6041 J614c/J616c. Signed-off-by: Marcelo Alcantara <maralc@gmail.com>
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
There was a problem hiding this comment.
🔵 Needs a closer look
Reported pinmux checks, capability checks, and DTB builds do not establish hardware stability with PCIe L1 substates and clock gating enabled on the four boards; maintainer validation of idle/wake, suspend/resume, and peripheral I/O remains necessary.
No open issues 🎉
What changed in this PR
Adds PCIe CLKREQ support declarations for four M3 Max MacBook Pro boards, matching the existing pattern on related Apple platforms.
Changes:
- Adds
supports-clkreqto the Wi-Fi/Bluetooth and SD reader root ports on each board. - Documents the CLKREQ GPIO routing and intended L1 substates and Clock PM support.
| File | Description |
|---|---|
| arch/arm64/boot/dts/apple/t6034-j516m.dts | Declares CLKREQ support for both J516M ports. |
| arch/arm64/boot/dts/apple/t6034-j514m.dts | Declares CLKREQ support for both J514M ports. |
| arch/arm64/boot/dts/apple/t6031-j516c.dts | Declares CLKREQ support for both J516C ports. |
| arch/arm64/boot/dts/apple/t6031-j514c.dts | Declares CLKREQ support for both J514C ports. |
Review effort: Balanced
|
Hardware pre-condition note on 16-inch M3 Max (
|
DjDeveloperr
left a comment
There was a problem hiding this comment.
Reviewed abc4d6b. pcie0 already muxes AP GPIO 0-3 as CLKREQ, and both endpoints advertise L1.1/L1.2 and Clock PM, so supports-clkreq on port00/port01 matches t6030-j514s. Merge needs a boot of this DTB at this head on a J514/J516 M3 Max: lspci showing L1SS and ClockPM enabled on both links, Wi-Fi throughput and an SD card read/write, and a suspend/resume cycle with both devices back.
|
Merge status: one item left, a J514/J516 M3 Max boot with this DTB. The change is approved, and its merge into current To close it, please boot an M3 Max (the J516C is fine) with a DTB built from this PR, installed with
One boot of a DTB that carries this PR, #3854 and #3855 unchanged counts for all three. Local checks on the merge result (hosted CI stand-in)
|
|
Merging at |
Summary
On M3 Max MacBook Pro boards (
t6031-j514c,t6031-j516c,t6034-j514m,t6034-j516m),pcie0already claims AP GPIOs 0–3 asfunction periph1(pcie_pinsint6031-gpio-pins.dtsi, attached int6031-die0.dtsi), and both active onboard PCIe endpoints —port00(BCM4388 Wi-Fi/BT) andport01(GL9755 SD card reader) — advertiseL1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+andClockPM+. Withoutsupports-clkreq;on the root ports,drivers/pci/pcie/aspm.cleaves L1 substates and Clock PM disabled by default.Add
supports-clkreq;to&port00and&port01on all four M3 Max MacBook Pro DTS files (t6031-j514c.dts,t6031-j516c.dts,t6034-j514m.dts,t6034-j516m.dts), matchingt6030-j514s.dts(#3793) andt6041-j614c-j616c.dtsi.Tested: MacBook Pro 16-inch (M3 Max, J516C, T6031) at abc4d6b (live pinmux verified
2b3000000.pinctrlpins 0–3 claimed by580000000.pcieasperiph1,lspci -vvverified L1.1/L1.2 and ClockPM caps on00:00.0/01:00.0and00:01.0/02:00.0; ARM64 kernel + DTB build b1202-103918-3651 and all four board DTBs compile with zero new warnings; checkpatch--strictclean; Codex review VERIFIED01a23427-73a4-75d1-b4e9-39a20be8b9c5).Risk: two-way · T6031/T6034 J514/J516 PCIe root ports
port00/port01ASPM L1SS and Clock PM