Skip to content

arm64: dts: apple: t6050-j714s: add the MagSafe 3 PD controller - #1686

Merged
DjDeveloperr merged 1 commit into
integration/aurorafrom
m5-parity3/j714s-magsafe
Nov 12, 2026
Merged

DjDeveloperr merged 1 commit into
integration/aurorafrom
m5-parity3/j714s-magsafe

Conversation

@DjDeveloperr

Copy link
Copy Markdown
Contributor

Stacked on #1685 (the apple,no-liquid-detection binding and tipd change); merge that first.

The M5 Pro's MagSafe 3 port has a PD controller that Linux doesn't describe: hpm5 on nub-spmi-a0, SPMI address 8. macOS drives it as "Port-MagSafe 3", feature "Power In" only, and on this machine it's the live power source (a 100 W adapter at 20 V).

The node follows the M4 Pro's MagSafe controller on J616s:

  • apple,sn201202x with no connector, since there's no USB data path;
  • no interrupts, because nub-spmi-a0 is polled on T6050, as for hpm1;
  • apple,no-liquid-detection, because the ADT lists its features-supported as <3> ("Power In"), where the USB-C ports' controllers have <1 2 3> ("TRM", "LDCM", "Power In").

Tested on the M5 Pro (J714s), 7.3.0-m5-intg4

The DTB was built from intg4's tree with only this node added; that tree's DTB rebuilds byte-identical to the default's. It booted the default kernel with #1685's sn201202x.ko.

  • MagSafe port: 1-08 binds, and its Type-C port is a USB PD sink with no contaminant attribute. tps6598x-source-psy-1-08 reads online / USB PD, matching macOS's Port-MagSafe 3, ConnectionActive.
  • USB-C ports: hpm1 and hpm2 bind as before, with contaminant: none.
  • Everything else: the TB5 dock, its USB4 NVMe and the left-front DisplayPort monitor stay up. No new errors.
  • Stock driver too: with the stock (pre-usb: typec: tipd: sn201202x: skip liquid detection where the port has none #1685) driver, the same node binds and its power supply is online as well.

🤖 Generated with Claude Code

hpm5 on nub-spmi-a0 (SID 8) is the MagSafe 3 port's PD controller (ADT
port-type 0x11). Like the MagSafe controller on J616s, it has no USB
data path, so it gets no connector node; tipd registers a Type-C port
and a power supply for it. The bus is polled on T6050, so it has no
interrupts, as for hpm1. Its ADT features-supported is <3> ("Power In"
only), so it is marked apple,no-liquid-detection.

Signed-off-by: Diljit Singh <[email protected]>
@DjDeveloperr DjDeveloperr reopened this Nov 12, 2026
@DjDeveloperr DjDeveloperr reopened this Nov 12, 2026
@DjDeveloperr
DjDeveloperr merged commit 12a3ccc into integration/aurora Nov 12, 2026
4 of 6 checks passed
@RyanTheTide
RyanTheTide deleted the m5-parity3/j714s-magsafe branch November 16, 2026 05:10
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