Skip to content

arm64: dts: apple: t6041-j614c-j616c: add the left-back USB-C port and MagSafe - #1468

Merged
DjDeveloperr merged 1 commit into
aurora-silicon:integration/aurorafrom
joske:pr/t6041-j614c-usbc0
Nov 11, 2026
Merged

DjDeveloperr merged 1 commit into
aurora-silicon:integration/aurorafrom
joske:pr/t6041-j614c-usbc0

Conversation

@joske

@joske joske commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

The M4 Max laptops describe two of their three USB-C ports, the left-front and the right one. The left-back port and the MagSafe controller are missing.

I read the J614c's ADT (26.6.2) from the running machine. It has the J614s's setup: nub-spmi-a0 hpm0 (left-back, port 1, at 0xc, interrupts 11/17/19), hpm5 (at 0x8, interrupts 63/69/71), and usb-drd0 and atc-phy0 for port 1. The J616c's dump has the same left-back port.

This adds hpm0 with the left-back connector and hpm5, as on the M4 Pro boards. The port runs the same way the other two do on these boards: USB 2 through atcphy0, with their tunables.

Tested on the J614c:

  • Four Type-C ports register. hpm5 is sink-only, as expected for MagSafe.
  • Charging: a charger on the left-back port negotiates PD as sink.
  • Data: a USB stick in the left-back port enumerates on 382280000.usb (high speed, host role) and shows up as a disk.

Not tested on the J616c.

🤖 Generated with Claude Code

…d MagSafe

The M4 Max laptops describe two of their three USB-C ports: the
left-front and right ones. The left-back port's controller, PHY and
Type-C controller, and the MagSafe controller, are not described.

The J614c's ADT (26.6.2, read from the running machine) has the
J614s's: nub-spmi-a0 hpm0 (left-back, port 1, at 0xc) with event, sleep
and wake interrupts 11, 17 and 19, hpm5 (at 0x8) with 63, 69 and 71,
and usb-drd0 and atc-phy0 for port 1. The J616c's ADT has the same
three ports.

Add hpm0 with the left-back connector and hpm5 as the M4 Pro boards do,
and run the port as the other two run: USB 2 through atcphy0, with
their tunables.

Signed-off-by: Jos Dehaes <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

@DjDeveloperr DjDeveloperr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codex (GPT-6.1 Sol), reviewing on @DjDeveloperr’s behalf.

No blocking findings. This adds the J614c/J616c left-back CD321x/Type-C endpoint and MagSafe charger description while retaining the existing port graph; the GPIO/IRQ/USB2 role wiring matches the qualified shared controller scheme. Posted J614c cold/hot attach and charging behavior is hardware evidence; J616c's follow-up remains untested. Both exact-head DT and host checks pass. This source addition is a prerequisite carried by1476, so land it first.

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