Repository navigation
arm64: dts: apple: t6030-j514s: enable CLKREQ# on internal PCIe links - #3793
Conversation
There was a problem hiding this comment.
🔵 Needs a closer look
The modified J514S DTB lacks hardware boot testing, leaving L1SS/Clock PM stability and wake behavior unverified for Wi-Fi/BT, SD-card I/O, and suspend/resume.
No open issues 🎉
What changed in this PR
Adds board-specific CLKREQ# declarations for the 14-inch M3 Pro MacBook Pro (J514S), opting its internal PCIe links into the default L1 substates and Clock PM behavior introduced by #2735.
Changes:
- Adds
supports-clkreqto the Wi-Fi/Bluetooth and SD card reader ports. - Documents the corresponding CLKREQ# pins, AP GPIOs 163 and 164.
| File | Description |
|---|---|
| arch/arm64/boot/dts/apple/t6030-j514s.dts | Declares CLKREQ# support on port00 and port01, scoped to J514S. |
Review effort: Balanced
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
On the 14" M3 Pro (J514S), both internal PCIe root ports route CLKREQ# through pinctrl_ap (AP GPIO 163 periph1 for port00 BCM4388 Wi-Fi/BT and AP GPIO 164 periph1 for port01 GL9755 SD card reader), and both ends of each link advertise ASPM and PCI-PM L1.1/L1.2 substates. Without supports-clkreq on the root ports, the default ASPM policy keeps L1 PM substates and Clock PM disabled. Add supports-clkreq to port00 and port01 on J514S so L1.1, L1.2, and Clock PM are enabled by default. Signed-off-by: Marcelo Alcantara <maralc@gmail.com>
0cfa7b0 to
2ef9503
Compare
|
Live hardware pre-condition receipt on 14-inch M3 Pro (
|
|
Paired A/B/A L1.1/L1.2 hardware validation on 14" M3 Pro ( Both internal links (
(Note: |
DjDeveloperr
left a comment
There was a problem hiding this comment.
The DT change is right: both CLKREQ# pins are already muxed to the PCIe block, and the A/B/A run shows both links handle L1.1/L1.2 (-360 mW idle, Wi-Fi and SD clean).
One gate remains before merge: a J514s boot with this DTB in boot.bin. That run should show L1SubCtl1 enabled from boot (no sysfs toggle) on both links, Wi-Fi and the SD reader working, and ideally one sleep/wake. The sysfs run proves the hardware, not this DTB.
|
Merge status: one item left, a J514s boot with this DTB. The change is approved, and its merge into current To close it, please boot the J514s with a DTB built from this PR (a lab run keeps the old
One boot of a DTB that carries this PR and #3794 unchanged counts for both. Local checks on the merge result (hosted CI stand-in)
|
|
Merging at |
…#561) + T6031/T6034 USB4 tunnels (#562) (#4533) Pin linux-aurora and aurora-userpages to immutable tag aurora-7.3.0-6 (omacom/linux-aurora a756afc0d5dd on carry/aurora-7.3.0-6), built from integration/aurora-7.3 (omacom/linux-aurora 9109b19be7a5): - Adds omacom/linux-aurora#546: the 14" M3 Max (J514C/J514M) records take the 3024x1964 J514 panel, swap stamps and the nits block, GPU firmware rows are per chip so a J514C on the 14.8 stub keeps native graphics, the J514M checks for the 30-core GPU, and a J514M/J516M owner can admit an unpinned GPU firmware build with aurora.g15_accept_text_prefix - Adds aurora-silicon/linux#3793 (omacom/linux-aurora#561): J514S PCIe CLKREQ for ASPM L1 substates - Adds aurora-silicon/linux#4014 (omacom/linux-aurora#562): T6031/T6034 USB4 PCIe tunnels on ATC0-2 - Preserves intake 4a42f3105002 and the 24 carries from 7.3.0.aurora5-1 Signed-off-by: Scott Jones <scottajones@gmail.com>
Problem
On the 14" M3 Pro (J514S, T6030), both internal PCIe root ports (
port00BCM4388 Wi-Fi/BT andport01GL9755 SD card reader) omitsupports-clkreqint6030-j514s.dts. Even thoughpinctrl_apalready muxes both CLKREQ# pins (PIN163andPIN164->580000000.pcie function periph1) and both endpoints advertise L1.1/L1.2 substates and Clock PM, the default ASPM policy (drivers/pci/pcie/aspm.c) leaves L1.1/L1.2 and Clock PM disabled (ASPM: default states L1).Change
Add
supports-clkreq;to&port00(pci@0,0, AP GPIO 163) and&port01(pci@1,0, AP GPIO 164) inarch/arm64/boot/dts/apple/t6030-j514s.dts, following #2735.Tested: J514S 14" M3 Pro (T6030) live pinmux & PCIe inspection (
j1201-232845-076a&j1202-001502-d4b3) confirmedPIN163/PIN164muxed to580000000.pcie function periph1and both endpoints (01:00.0/01:00.1,02:00.0) expose L1SS/ClkPM knobs at 0; at 0cfa7b0 verifiedcheckpatch.plclean and compiled DTB withsupports-clkreqonpci@0,0andpci@1,0(Stage 2boot.binDTB swap boot on J514S still pending; volunteer test Mac has tier-1 recovery without OOB reset).Risk: two-way · J514S (T6030) internal PCIe links (
port00Wi-Fi/BT andport01SD reader);pcie_aspm.policyoverrides remain honored.