Skip to content

arm64: dts: apple: enable the J614s SD reader - #818

Merged
RyanTheTide merged 1 commit into
aurora-silicon:j614s/experimental-dtsfrom
notmysegv:codex/j614s-sd-reader
Nov 1, 2026
Merged

RyanTheTide merged 1 commit into
aurora-silicon:j614s/experimental-dtsfrom
notmysegv:codex/j614s-sd-reader

Conversation

@notmysegv

Copy link
Copy Markdown
Member

Describe the J614s GL9755 SD reader using the existing Apple PCIe and SMC GPIO bindings. Enable the second port and its DART, assign its bus, and put both CLKREQ pin groups on the controller to avoid duplicate pin claims. The J614s firmware describes the SD power action as an active-high gP19 SMC output; the PCIe driver can assert it via pwren-gpios.

This is based on #795. The card-detect and write-protect polarity matches the existing GL9755 descriptions for other Apple laptops.

Validation on a J614s:

  • Compiled the proposal against the arm64: dts: apple: add the J614s (MacBook Pro 14-inch, M4 Pro) #795 tree. Also booted a source-built J614s DT containing these changes, the board facts from arm64: dts: apple: use J614s panel and firmware identifiers #816, and a local loader-compatibility include, with a local Aura/U-Boot integration stack. That U-Boot had the earlier runtime SD device-tree rewriting removed; Aura's separate SD power action was also removed.
  • Linux linked the SD PCIe port, bound GL9755 to sdhci-pci, and detected an SDXC card at SDR104 including its two partitions. Wi-Fi and Bluetooth PCI functions remained enumerated; no SD pin conflict appeared in the checked boot log.
  • A prior boot with equivalent SD properties added at runtime also detected the card after insertion.

The exact upstream-only branch was not booted by itself. The test does not establish whether earlier firmware left the supply on, nor qualify card write-protect behavior, suspend or long-term I/O reliability.

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.
@RyanTheTide
RyanTheTide merged commit 11d6acc into aurora-silicon:j614s/experimental-dts Nov 1, 2026
RyanTheTide added a commit that referenced this pull request Nov 1, 2026
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]>
RyanTheTide added a commit that referenced this pull request Nov 2, 2026
arm64: dts: apple: add the J614s (MacBook Pro 14-inch, M4 Pro)

The J614s ships EXPERIMENTAL. It has not been booted here, and nothing in
this tree is claimed as proven on the J614s.

J614s: internal speakers disabled pending bring-up. The J614s board file
disables &sound and all six amps, and macaudio's J614 config has the
speakers off. The headphone jack card stays enabled.

Hardware evidence comes from mchalunderscore's J614s boots of this tree's
values on combined stacks with local loader changes, as described in
#816 (GPU, display, keyboard,
trackpad, Wi-Fi, NVMe root),
#818 (GL9755 SD reader,
SDXC card at SDR104) and
#813 (Touch ID enrolment and
authentication with the T6040 SEP profile). DJ compile checked the tree.

Gates on the merged tree (aurora-wip 8eb5b79 plus this branch): W=1 for
the three DTBs, macaudio.o and sep.o with no new warnings; dtbs_check with
only the existing ANE findings; dt_binding_check for apple,macaudio clean;
host tests 175/175. The J616s and J616s tether DTBs decompile identical to
aurora-wip's apart from the model string, so the J616s thermal fix from
#857 is carried unchanged. The
J614s DTB carries the same switch-on trips.

Assisted-by: LLM
Signed-off-by: Ryan Murray <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants