Skip to content

arm64: configs: asahi: enable the T8140 console, boot framebuffer and port controllers - #40

Merged
RyanTheTide merged 1 commit into
aurora-wipfrom
feat/asahi-config-j700-console-typec
Oct 8, 2026
Merged

RyanTheTide merged 1 commit into
aurora-wipfrom
feat/asahi-config-j700-console-typec

Conversation

@RyanTheTide

@RyanTheTide RyanTheTide commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

defconfig asahi.config builds a kernel with no console, no display and no USB-C port controllers on the MacBook Neo (J700, T8140). This enables the three drivers the J700 needs:

  • SERIAL_APPLE_DOCKCHANNEL and its early console: the J700 console is a DockChannel UART (console=ttyDC0).
  • TYPEC_SN201202X: both USB-C ports use SN201202x controllers on SPMI.
  • DRM_SIMPLEDRM: the bootloader's simple-framebuffer is the only display path on this tree.

Testing

End to end on the J700 (27 Sep), as part of the overnight stack: the kernel was configured from defconfig asahi.config plus an overlay that carries built-ins for the tethered initramfs and never sets these three symbols. On that boot ttyDC0 carried the console, simpledrm owned fb0, and the sn201202x module registered both ports with their PD partners. Full build and checkpatch --strict are clean.

Mergeable independently of the thermal and SEP PRs; the three were applied together without conflicts.

🤖 Generated with Claude Code

… port controllers

The MacBook Neo (J700, T8140) comes up from defconfig + asahi.config
with no console, no display and no USB-C port controllers:

- its serial console is a DockChannel UART (apple,dockchannel-uart,
  console=ttyDC0), so SERIAL_APPLE_DOCKCHANNEL and its early console
  have to be built in;
- both USB-C ports are driven by SN201202x controllers on SPMI
  (apple,sn201202x);
- the only display path on this tree is the simple-framebuffer the
  bootloader hands over, which needs simpledrm.

All three were enabled in the kernel qualified on hardware on
2026-09-26 (source tree bac923a, identical to this branch's base) and
bound on that boot: ttyDC0 at 0x30812c000, Type-C port0 and port1 with
PD contracts, simpledrm fb0.

The other differences between that kernel's configuration and
defconfig + asahi.config are lab and distribution choices -- drivers
built in for the tethered initramfs, debug options, nftables, zram and
Bluetooth profiles -- and stay out of this fragment.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.

1 participant