Repository navigation
arm64: dts: apple: add the J614s (MacBook Pro 14-inch, M4 Pro) - #795
Conversation
f7619ec to
2b2ec81
Compare
The 14-inch M4 Pro uses the existing T6040 SEP and fingerprint sensor profile. Admit its board compatible alongside J616s. On a J614s with the board-specific boot and firmware setup, fingerprint enrollment and authentication work, including after a reboot.
Override the inherited J616s panel, audio chassis, touchpad, radio and fingerprint firmware identifiers with the J614s values used by a working J614s installation.
Describe the GL9755 reader, its SMC power enable, PCIe port and DART on J614s. Select both CLKREQ pins on the controller to avoid conflicting claims on the port.
Bring the J614s board up to aurora-wip, which is now the base of this pull request. integration/aurora carries an older J616s tree. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
Fold in mchalunderscore's J614s panel, chassis, radio, trackpad and Touch ID identifiers from #816 Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
Fold in mchalunderscore's J614s GL9755 SD reader description from #818 Both pull requests appended to the end of t6040-j614s.dts. Keep both blocks as they are. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
Fold in mchalunderscore's change admitting the T6040 SEP profile on J614s from #813 Apple's J614s and J616s device trees describe the SEP and the Touch ID sensor the same way, and the change was tested with enrolment and authentication on a J614s. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
The J614s (MacBook Pro 14-inch, M4 Pro) has the same speaker amps and headphone codec on the same AOP streams as the J616s, in a different chassis with different speakers. Add the speaker and jack card compatibles for it, so the 14-inch reports its own identity to userspace. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
Apple's J614s device tree describes the same six SN012776 amps, TDM slots, sense layout and CS42L84 jack as the J616s. Only the chassis and speakers differ (acoustic ID 34 against 35). That is rule 2 of the table: same amps and layout, different chassis, so a compatible of its own sharing the J616 data. The card is then AppleJ614, not AppleJ616, so no J616 speaker profile, DSP tuning or UCM file is picked for the 14-inch speakers. There is no qualified J614 speaker protection profile yet. Until one exists the speakers stay at the lock this driver applies at probe: the amp volume is held at its lowest step, and only a protection daemon holding the Speaker Volume Unlock control can lift it. speakersafetyd has no J614 profile. speakerguardd starts only for profiled cards, and the J614 profile in its unreleased set says qualified = false, which it refuses to govern without an explicit opt-in. So nothing takes the lock on this card. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
Apple's device trees for the J614s and J616s (MacBook Pro 14-inch and 16-inch, M4 Pro) are the same apart from the board identity, the panel, the speaker tuning, the Wi-Fi module, the trackpad and the power limits. Including the whole J616s board file left the 14-inch reporting 16-inch values to drivers and userspace, the J616 speaker card among them. Move the J616s board file into t604x-j614-j616.dtsi without the board values, as the J314/J316, J414/J416 and J514/J516 generations do, and label the Wi-Fi, Bluetooth, panel and trackpad nodes so the board files can set them. Each board file now sets its compatible and model, the brcm,board-type, the panel compatible and size, the AOP audio chassis name, the speaker and jack cards, the trackpad firmware and the Touch ID firmware names. The J616s and J616s tether DTBs decompile to the same tree as before. For the J614s the values are those of #816 and the SD reader of #818, with two changes: - The speaker and jack cards are apple,j614-macaudio and apple,j614-macaudio-jack ("MacBook Pro J614"), not the J616 cards. The J616 speaker protection profile and tuning are for the 16-inch speakers. With the J614 cards the speakers stay locked until a J614 protection profile exists. - adj-height-mm is 189, as on the J314s, J414s and J514s, which have the same 3024x1964 panel. It is the height below the notch and is only read while the notch is hidden. The SD reader stays J614s-only for now: Apple's J616s tree describes it the same way, but it has not been tried on a J616s. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
Our model strings name the machine without its release date. Use "Apple MacBook Pro (14-inch, M4 Pro)" and "Apple MacBook Pro (16-inch, M4 Pro)". The boot loader already drops the date when it builds the SMBIOS tables, so About pages do not change. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
|
Snippet from the requested commands' outputs on macOS: |
|
Tested on my J614s with the head of this PR ( The requested Linux checks from this boot: Context for the speaker result: I deliberately blacklist |
aurora-wip added the RTC aliases and the ANE performance domain to t6040-j616s.dts. Both describe hardware the J614s and J616s share, so they go into t604x-j614-j616.dtsi. The J616s DTB still decompiles to the aurora-wip one apart from the model string. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
…rs off The J614s ships experimental and its speakers need their own bring-up. There is no J614 protection profile and the speakers have not been measured, so nothing may drive them. Give the J614 speaker card its own configuration with the speakers disabled, so the driver never binds the speaker link even if the card is enabled. In the J614s device tree disable the speaker card and the six SN012776 amps as well, so no amp driver probes and no stream can reach them. The headphone jack card is unchanged. The J616s keeps its configuration and its DTB is unchanged. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
Bring in the J616s thermal fix from #857. The J616s board file is now a thin file on top of t604x-j614-j616.dtsi, so the change goes into the shared dtsi: a passive switch-on trip below each control trip (100/116 C for the die and CPU zones, 90/101 C for the GPU zones) and a sustainable power of 51300 mW on the seven GPU zones. The J614s gets the same trips. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
…nto integration/aurora Bring integration/aurora up to the aurora-wip tip 9ff2b9a. After this merge the two branches have the same tree. The range contains the fleet14o source c243830 (aurora-silicon#857, aurora-silicon#858, aurora-silicon#795, aurora-silicon#859), which was promoted on all four machines on 2026-11-02 and 03, and the merges after it: aurora-silicon#861 (apple-dcp selftest stubs for aurora-silicon#858), aurora-silicon#860 (SEP keybag in the shared xART window, the aurora-wip copy of aurora-silicon#856), aurora-silicon#724 (J616s boot NOR, both parts), aurora-silicon#779 (ALS colour temperature ABI), aurora-silicon#862 (J700 GD25UF16E boot NOR, the Neo bless fix), aurora-silicon#863 (J616s ANE H16 start stall), aurora-silicon#797 (T6000 DCS whole-word writes) and aurora-silicon#803 (G17 keeps innocent clients alive across another client's recovery). aurora-silicon#858 and aurora-silicon#860 make the same changes integration/aurora already had as aurora-silicon#855 and aurora-silicon#856, so they merge without conflicts. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
What
Adds the MacBook Pro 14-inch, M4 Pro (J614s, T6040) on aurora-wip.
Apple's J614s and J616s device trees are the same apart from the board identity, panel, speaker tuning, Wi-Fi module, trackpad and power limits. So the J616s board file is now a shared
t604x-j614-j616.dtsiwith thint6040-j614s.dtsandt6040-j616s.dtsfiles, the same shape as the J314/J316, J414/J416 and J514/J516 boards. The J614s board file sets:apple,j614s, model "Apple MacBook Pro (14-inch, M4 Pro)"apple,panel-j614, 302 x 196 mm, 189 mm below the notchbrcm,board-type = "apple,mriya"J614, speaker cardapple,j614-macaudio, jack cardapple,j614-macaudio-jacktpmtfw-j614s.bin,mesacal-j614s.bin,msrk-j614s.binThe kernel side adds the J614 speaker and jack cards to macaudio (sharing the J616 data, same amps and layout) and their binding, and admits J614s to the T6040 SEP profile. The J616s model also drops its date, "Apple MacBook Pro (16-inch, M4 Pro)".
The base is now aurora-wip (integration/aurora had an older J616s tree), brought up to date with a merge.
Folded in
All by mchalunderscore, merged with their commits kept:
Speakers
Off. The J614s internal speakers are disabled pending bring-up: the J614s board file sets
&soundand all six amps to disabled, andmacaudio_j614_cfghasenable_speakers = false. The headphone jack card stays enabled. There is no qualified J614 protection profile yet, so nothing here drives the speaker amps. The 16-inch speaker profile and tuning are never used on the 14-inch.Thermal
aurora-wip's J616s thermal fix (#857) is merged in and carried in the shared dtsi, so both boards get the passive switch-on trips (100/116 C die and CPU, 90/101 C GPU) and 51300 mW sustainable power on the GPU zones.
Validated
Needs a J614s owner
From macOS:
From Linux on this branch:
Still open: the boot NOR JEDEC ID (the QSPI NVRAM table stays read-only on J614s until then), the J614s SMC key table and thermal budgets (J616s values for now, as a backstop behind the PMP), and a J614 speaker protection profile.