Repository navigation
arm64: dts: apple: Add J714s (MacBook Pro 14-inch, M5 Pro) (stacked on #413) - #414
Closed
TripleU613 wants to merge 24 commits into
Closed
TripleU613 wants to merge 24 commits into
TripleU613 wants to merge 24 commits into
Conversation
The T6050 SART keeps the per-entry config, physical address and size words in three arrays at 0x00, 0x60 and 0xc0. Addresses and sizes are in 4 KiB units, sizes up to 30 bits. Add the v4 accessors and match "apple,t6050-sart". Tested on J714c (MacBook Pro 14-inch, M5 Max) in the bring-up tree these changes come from: the NVMe controller's SART ranges are read and the internal SSD works. Signed-off-by: Eduard Moldovan <edimoldovan@gmail.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The T6050 cluster performance controllers take the same commands and report the same state as T8142's. Match "apple,t6050-cluster-cpufreq" with the T8142 data. Tested on J714c (MacBook Pro 14-inch, M5 Max) in the bring-up tree these changes come from: cpufreq on all three clusters. Signed-off-by: Eduard Moldovan <edimoldovan@gmail.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On T6050 the coprocessors come up with the handshake the boot loader uses: - the system endpoints start in the loader's order (debug, crashlog, syslog, ioreport, oslog), and tracekit is not started; - oslog notifications are not acknowledged, as on T8140 and T8142; - the boot waits until the IOP reports the ON power state, since it can acknowledge intermediate states first; - the AP power state ACK gets a 200 ms window and is not required: the loader never waits for it, and macsmc starts its endpoint right after the wake, before the SMC ACK arrives. All four are limited to "apple,t6050" machines. Tested on J714c (MacBook Pro 14-inch, M5 Max) in the bring-up tree these changes come from: ANS boots and the internal SSD works. Signed-off-by: Eduard Moldovan <edimoldovan@gmail.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The T6050 ANS2 takes the T8140 queue setup with three differences, all behind a new keep_cc_fields flag in its hardware description: - the boot loader hands the controller over disabled while the RTKit session stays live, so an enabled CC with no fatal status is enough to adopt it; - the controller reports ready only when CC keeps the entry-size fields the firmware set (IOSQES 7, 128-byte entries), so the enable keeps them instead of composing CC in nvme_enable_ctrl(); - the admin queue uses the full queue depth, the linear submission queue enable is ORed into the register, and the NVMMU TCB bases, ASQ, ACQ and AQA are written in the loader's order. Match "apple,t6050-nvme-ans2". Tested on J714c (MacBook Pro 14-inch, M5 Max) in the bring-up tree these changes come from: the internal SSD holds the Omarchy root file system. Signed-off-by: Eduard Moldovan <edimoldovan@gmail.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The T6050 MTP firmware, like T8142's, waits for the AP power state before it acknowledges its own power state. Wake "apple,t6050-mtp" with apple_rtkit_wake_early_ap() as "apple,t8142-mtp" is. Tested on J714c (MacBook Pro 14-inch, M5 Max) in the bring-up tree these changes come from: the MTP boots and the keyboard and trackpad work. Signed-off-by: Eduard Moldovan <edimoldovan@gmail.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Probe initialised critical_work twice: once through devm_work_autocancel() and again, with dbg_log_work, after blocking_notifier_chain_register(). An SMC critical-battery event arriving between the two would have its queued work re-initialised under the workqueue. Initialise both before the notifier is registered and drop the second INIT_WORK(). Link: https://github.com/rolotrealanis98/m5pro-linux/blob/main/contrib/pending/smc/patches/linux/0011-power-supply-macsmc-power-init-work-before-notifier.patch Signed-off-by: Rolando Trevino <rolotrealanis@gmail.com> Signed-off-by: Eduard Moldovan <edimoldovan@gmail.com>
Before its display coprocessor driver runs, a built-in Apple panel is a simpledrm framebuffer whose connector is Unknown-1. Omarchy treats every connector that is not eDP, LVDS or DSI as an external monitor, so closing the lid kept the session in clamshell mode instead of locking it. Give a framebuffer node with apple,internal-panel an eDP connector. Signed-off-by: Eduard Moldovan <edimoldovan@gmail.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add the T6050 (M5 Max) SoC and the MacBook Pro (14-inch, M5 Max) board to the Apple platform binding, and the T6050 compatibles to the bindings of the blocks its device tree describes: PMGR and its power states, ASC mailbox, cluster cpufreq, I2C, DART, AICv3, watchdog, FPWM, GPIO, ANS2 NVMe, SART, SPMI, the abbey PMIC NVMEM, SMC, MTP and DockChannel. Its CPU cores are "apple,sotra". Where the device tree keeps an intermediate fallback the drivers match (the MTP DART and AIC on T8142, the GPIO block and NVMe on T8140), the binding lists the T6050 chain as it is. The T6050 NVMe controller has the NVMMU region of T8132 and a fourth power domain, the PCIe lane PHY of its storage link. simple-framebuffer gains apple,internal-panel, which marks a framebuffer as an Apple laptop's built-in panel. Signed-off-by: Eduard Moldovan <edimoldovan@gmail.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add the Apple T6050 (M5 Max) SoC and the 14-inch MacBook Pro with it (J714c), from the J714c Apple Device Tree: - t6050-base.dtsi: 18 CPUs in two M clusters and one P cluster with their OPP tables, the timer and the reference clocks; - t6050-die0.dtsi: AICv3, the serial port, the six PMGR blocks, the cluster cpufreq controllers, the watchdog, the keyboard backlight PWM, the GPIO block, I2C1-3, and the MTP with its mailbox, DART and DockChannel; - t6050-pmgr.dtsi: 302 power domains. The four Type-C ports' CIO domains and atc3_common stay with the firmware: powering them at boot breaks the loader's USB 2.0 host setup; - t6050-nvme.dtsi: the ANS2 NVMe controller with its mailbox and SART; - t6050-smc.dtsi: the SMC with its GPIO, hwmon, RTC and (disabled) reboot children, and nub-spmi0 with the abbey PMIC NVMEM cells the RTC and reboot children read. Based on omarchy-m5's dt/t6050-smc.dtsi (github.com/betizzel/omarchy-m5, GPL-2.0+ OR MIT), with the full 0x4000 nub-spmi0 window from rolotrealanis98's m5pro-linux. nub-spmi0 is polled: the gen 4 SPMI driver has no interrupt support. smc_reboot stays disabled: its restart handler would take over from the watchdog's, and its PMIC scratchpad offsets are not verified; - t6050-j714c.dts: memory, the boot framebuffer marked as the built-in panel, the serial console, the keyboard and trackpad (trackpad firmware apple/tpmtfw-j714c.bin, power method 2 with firmware-managed reset: with power method 1 the MTP firmware answers the power-state request with "unknown power state"), the keyboard backlight (pwm-leds, 40000 ns period), and the SMC with the common, dual-fan and laptop sensors. The J714c SMC spells the fan mode keys F0md and F1md, so the board overrides apple,fan-mode. The keyboard and trackpad need the loader to program the MTP DAPF (m1n1 on T6050). Tested on J714c, this series booted over the resident m1n1 into the Omarchy root on the internal SSD: 18 CPUs with cpufreq on all three clusters, the MTP keyboard and multi-touch devices, the SMC power/lid input, kbd_backlight, AC and battery, the RTC, 13 hwmon inputs, and the panel as eDP-1. Signed-off-by: Eduard Moldovan <edimoldovan@gmail.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
apple_rtkit_wait_for_completion() gives the coprocessor 1 s to answer. On the T6050 (J716s, MacBook Pro 16-inch M5 Pro) the ANS firmware that iBoot hands over sometimes needs about 3 s to answer the power-state and endpoint-map handshake. With 1 s, nvme-apple fails with "ANS did not boot" / "Reset failure status: -62" and the root device never appears, although a later rebind of the same firmware succeeds. Make the handshake timeout a per-instance setting, set with apple_rtkit_set_handshake_timeout() and defaulting to the current 1000 ms, and use it for every handshake wait, including the polled apple,sync-syslog-ack path. nvme-apple asks for 10 s on the T6050 ANS only, so a dead coprocessor on any other SoC is still reported after 1 s, and a T6050 ANS that answers in time is not slowed down. The 200 ms AP power ACK window on T6050 machines is not changed. Tested on J716s (MacBook Pro 16-inch, M5 Pro) in the tree these changes come from: the boot that failed with -62 after 1 s mounts the root on the internal SSD with 10 s, on every boot since. On this tree: compile-tested. Signed-off-by: Rolando Trevino <rolotrealanis@gmail.com>
macsmc_hwmon_create_fan() returns an error, dropping the whole fan, when any of apple,fan-minimum/-maximum/-target/-mode names a key the SMC does not have. The T6050 SMC spells the mode keys F0md and F1md instead of F0Md and F1Md, so a T6050 board that includes hwmon-fan-dual.dtsi and misses the override loses both fans, although their speed keys are there. Treat the optional keys as optional: drop only that attribute, report the missing keys in one info-level line per fan, and clear the mode key, which disables manual control (fan_control), unless the minimum, maximum and target keys exist as well: the write path reads the first two before it writes the third. The missing-key path has not run on hardware: the J716s device tree has the override, and with it both fans report their speed, minimum (1350 rpm) and maximum (5349 and 5777 rpm) in the tree these changes come from, as without this change. On this tree: compile-tested. Signed-off-by: Rolando Trevino <rolotrealanis@gmail.com>
m1n1 appends "idle=nop arm64.nowfxt" to the command line on every chip whose Apple system registers are locked (M4 and later, T8140 aside), for kernels that do not preserve the state WFI loses there. It appends them after the user's arguments, so an idle= on the command line cannot override it. This kernel preserves that state (apple_wfi_quirk_init()), and idreg-override forces WFxT off on M4 and later, so on T6050 idle=nop only makes every idle CPU spin: cpuidle's WFI state calls cpu_do_idle(), which does nothing with idle=nop. Keep WFI as the idle method on T6050 (MIDR parts 0x064 and 0x065, added to cputype.h). The switch is made in apple_wfi_quirk_init(), after the register-saving key is enabled and before the secondary CPUs start; the boot CPU spins until then, as it does today. Other chips are not changed. This relies on idle=nop being in effect until that early_initcall: a loader that does not append it would let the boot CPU idle in WFI before the registers are saved, which is not changed here. Add apple_keep_idle_nop to keep idle=nop for comparisons and as a fallback that needs no new kernel. Tested on J716s (MacBook Pro 16-inch, M5 Pro) in the tree these changes come from: the system draws 9.8 W at idle on the charger instead of 16.4 W (SMC total system power), and a 56-minute idle soak with an FP consistency check on all 18 CPUs and four s2idle steps up to a real suspend/resume passed. On the 14-inch M5 Pro (J714s), betizzel measured 5.6 W against 15.3 W, and a per-CPU register check passed 250,000 1 ms sleeps on each of its 15 CPUs. On this tree: compile-tested. Link: betizzel/omarchy-m5@a5df9e4 Signed-off-by: Rolando Trevino <rolotrealanis@gmail.com>
Power method 2 with a host-driven AFE reset releases the line for a power-on and sends HasChanged immediately. The sequence validated on the J716s (MacBook Pro 16-inch, M5 Pro, MTP firmware 6320.86.1; "Touch MT ready" on 3 of 3 boots, with the reset on SMC gp1c, active low) waits 50 ms after the release before HasChanged, as this driver already does for a firmware-managed reset. Do the same for the host-driven line. Log a failure to drive the line as an error. Each assert and release is logged at debug level only, so dynamic debug can trace the line without adding a message to the boot log on every power transition. Tested on J716s in the tree these changes come from: the keyboard and the trackpad's multi-touch device come up on every boot. On this tree: compile-tested. Signed-off-by: Rolando Trevino <rolotrealanis@gmail.com>
On the J716s (MacBook Pro 16-inch, M5 Pro) closing the lid starts a
suspend through logind, and the system is awake again 0.7 s later. The
SMC's own syslog shows the cause: about 230 ms after the close
("SMC HID Event: 03 01 00") it reports the lid open ("03 00 01", event
0x72030001, the same bytes as a real opening) while the lid stays shut,
at the same moment as the trackpad coprocessor logs "Sending Cumulus
Report to enter Dependent Mode" (Cumulus is the touch AFE). The driver
takes the report at face value: it is in the sleep window, so it reports
a hard wakeup, pm_system_wakeup() aborts the suspend or ends
suspend-to-idle, and logind then reads "Lid opened".
In the sleep window, between .prepare and .complete, check a lid-open
report before passing it on. Read the SMC's lid key MSLD, the one probe
reads the initial state from: if it says closed, the report is dropped.
If it agrees but the sleep has run for lid_wake_settle_ms or less
(default 2000 ms, 0 restores the old behaviour), the report does not
wake the system either. A held-back report leaves SW_LID closed, and
.complete reports MSLD again, so the switch matches the SMC after any
wakeup. Each decision is logged with the event, the time into the sleep
and MSLD, so a test can tell which check fired.
The notifier runs in the SMC's RTKit worker and the SMC's replies are
taken from the mailbox interrupt (recv_message_early), so reading a key
there does not wait on the worker. The sleep time is taken from
CLOCK_BOOTTIME, which includes the time suspend-to-idle spends with
timekeeping suspended.
What this does not fix: if MSLD agrees with the false report, the SMC
already counts the lid as open, and the real opening that follows may
send no event at all. The system then stays asleep until a key, a
trackpad click or the power button wakes it, instead of waking at once.
Not changed: lid-close reports, the power button, and any lid-open
report outside the sleep window.
Tested on the J716s, in the tree these changes come from, with logind
suspending on lid close (s2idle): the close sleeps ("Timekeeping
suspended for 39.477 seconds") and the real opening wakes it through the
confirm path ("lid open 72030001 at +40069 ms in sleep, MSLD=0:
wakeup"). No spurious report came during that sleep, so the hold-back
path has not run on hardware yet. On this tree: compile-tested.
Signed-off-by: Rolando Trevino <rolotrealanis@gmail.com>
The 16-inch MacBook Pro with the M5 Pro (J716s, Mac17,8) is built on the T6050, like the 14-inch M5 Max (J714c): its Apple Device Tree and m1n1 identify the SoC as T6050. Add it to the Apple platform binding as an M5 Pro T6050 board. Signed-off-by: Rolando Trevino <rolotrealanis@gmail.com>
Power-off from Omarchy halted with the boot logo on screen: nothing registered a power-off handler, so the kernel turned the request into a halt. Enable the SMC reboot node and build its driver: power-off writes MBSE = off1, and restart now goes through SMC phra ahead of the watchdog. Signed-off-by: Eduard Moldovan <edimoldovan@gmail.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> [Rolando: only the t6050-smc.dtsi part of commit 38e75c9 ("arm64: apple: t6050-j714c: Power off and restart through the SMC") in edimoldovan/linux-aurora; this tree has no j714c.config, and j716s.config builds POWER_RESET_MACSMC in] Signed-off-by: Rolando Trevino <rolotrealanis@gmail.com>
Left to the MTP firmware (apple,firmware-managed-reset), the J714c's
trackpad AFE sometimes never answers its bootloader: the MTP logs
"AFE[0] Chip Boot Failure for HBPP: No HINT_L", the multi-touch
interface never reports ready, and every later start fails the same
way. It hit both disk boots and some proxy boots on Nov 7, on every
kernel build.
As on t8142-j813, give dockchannel-hid the AFE reset line instead. The
J714c ADT has multi-touch function-afe-reset = smc-pmu
pKW8('pcIO', 0x10000, 0x11c0000): SMC pcIO output 28 in the J700's
encoding, where level 1 asserts the reset. macsmc-gpio's J700 pcIO
lines become a per-machine table with a J714c entry for it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
[Rolando: commit 768d807 ("arm64: dts: apple: t6050-j714c: drive the
trackpad AFE reset line") in edimoldovan/linux-aurora, on #404's
t6050-j714c.dts, which still had apple,firmware-managed-reset and no
gpio.h include; the original carries no Signed-off-by from its author]
Signed-off-by: Rolando Trevino <rolotrealanis@gmail.com>
The J716s (MacBook Pro 16-inch, M5 Pro) Apple Device Tree describes the
trackpad's AFE reset with the same platform function as the J714c's,
multi-touch function-afe-reset = smc-pmu pKW8('pcIO', 0x10000,
0x11c0000): SMC pcIO output 28, where level 1 asserts the reset. Give
the J716s the J714c's pcIO line table.
Signed-off-by: Rolando Trevino <rolotrealanis@gmail.com>
Add the 16-inch MacBook Pro with the M5 Pro (J716s, Mac17,8), a T6050 board, on the T6050 files the J714c uses. Its Apple Device Tree lists the 18 CPUs in the order of t6050-base.dtsi. t6050-j716s.dts has: - memory, the boot framebuffer marked as the built-in panel, and the serial console, as on the J714c; - the keyboard and trackpad (trackpad firmware apple/tpmtfw-j716s.bin, power method 2, the host-driven AFE reset on SMC pcIO output 28, the same ADT template as the J714c's); - the keyboard backlight (pwm-leds on fpwm0, 40000 ns period); - the SMC with the common, dual-fan and laptop sensors and the F0md/F1md fan mode keys, as on the J714c. Restart and power-off go through the SMC (t6050-smc.dtsi): on this board the PMIC scratchpad cells it writes were read back (a restart from Linux is no longer counted as a failed boot by iBoot), and an SMC restart comes back into the boot loader as a watchdog restart does. Not described yet: USB on both Type-C ports, PCIe with the N1 (Wi-Fi and Bluetooth) and the SD reader, audio, the GPU and the display controller. As on the J714c, the keyboard and trackpad need the loader to program the MTP DAPF (m1n1 on T6050). Tested on J716s in the tree this description comes from (aurora-silicon integration/aurora with the equivalent nodes on its T6050 files): 18 CPUs, the root file system on the internal SSD, the keyboard and the trackpad's multi-touch device, kbd_backlight, AC and battery, the SMC fan, power, voltage and current sensors, the panel as eDP-1, lid-close sleep and wake, and restart and power-off through the SMC. On this tree: dtbs and dtbs_check only, not booted. In the tested tree the AFE reset was driven as SMC GPIO gp1c of the second bank, active low, which the J716s ADT names as the same line; the pcIO path has not run on this board. Signed-off-by: Rolando Trevino <rolotrealanis@gmail.com>
Add j716s.config, the drivers on the J716s boot path built in, for a root file system that carries no modules: storage (ANS NVMe, SART, RTKit helper), the SMC and its consumers with the SPMI PMIC cells, cpufreq, the DockChannel keyboard and trackpad, and the keyboard backlight. Rust and the display controller driver stay off: nothing on this boot path needs them yet. Used as make ARCH=arm64 LLVM=1 defconfig asahi.config j716s.config like the j813 fragments. Signed-off-by: Rolando Trevino <rolotrealanis@gmail.com>
…ey size
Probe reads BMDN, BMSN and BMDT with the size of the destination buffer
instead of the size of the key. SMC read requests must describe the key,
not the buffer. Read each identity key's info first, refuse a key that
is empty, unreadable or too large for the buffer, read exactly its size
and terminate the string. Also check for the SMC parent before using it.
This is the drivers/power/supply/macsmc-power.c part of commit
54b12371013e ("mfd: macsmc: Support T6050 power and pcIO consumers") on
aurora-silicon branch j716c/t6050-platform, which applies unchanged; the
gpio-macsmc, macsmc MFD and binding parts are left out. A T6050 kernel
without it hung in macsmc-power probe (J716s, 2026-11-05, last line
after "Apple SMC power/lid events"); whether these reads were the cause
is not established.
Signed-off-by: Dj <hey@djdev.me>
Signed-off-by: Erik Bourget <erik@ebourget.net>
Signed-off-by: Rolando Trevino <rolotrealanis@gmail.com>
The 14-inch MacBook Pro with the M5 Pro (J714s, Mac17,9) is built on the T6050, like the 16-inch J716s: its Apple Device Tree reports chip-id 0x6050. Add it to the Apple platform binding as an M5 Pro T6050 board. Prepared with AI assistance (Claude). The submitter must review the change and add their Signed-off-by before it can be merged. Assisted-by: Claude:claude-opus-5-5 dtschema
The 14-inch MacBook Pro with the M5 Pro (J714s, Mac17,9) is a T6050 board like the J716s. Add its device tree, in the shape of t6050-j716s.dts: the MTP keyboard and trackpad, the keyboard backlight on FPWM0, the SMC sensors with the T6050 fan mode keys, and the loader-filled framebuffer and memory. J714s values, all read from the J714s Apple Device Tree: - trackpad: multi-touch PowerMethod 2; function-afe-reset is the SMC pcIO template 0x011c000000010000, the same value as on the J714c and J716s, so SMC pcIO output 28; - keyboard backlight: pwm0 "fpwm,s5l8920x" at 0x505040000, kbd-backlight default-hz 25000 (period 40000 ns); - CPUs: binned units list fewer cores in the ADT (the unit tested lists 15 of 18: cpu5, cpu11 and cpu17 are absent). No core is disabled here; the loader removes the ones the ADT does not list, as for the other binned Apple SoCs. The J714s firmware announces its accelerometer interface as "tp-accel" rather than "tp_accel", so no node is added for it. Tested on a J714s (Mac17,9, macOS 26.6.2 firmware) with our own 7.2.2 kernels, builds #28-#31 (AsahiLinux/linux 236788c plus our patches), whose T6050 nodes are at the same addresses as here but come from a different base tree. There the SMC and keyboard-backlight nodes were added at runtime by an overlay/changeset rather than a static DT. This file itself has not been booted: - the MTP keyboard and trackpad bind; with power method 2 the trackpad comes up ("Interface multi-touch is now ready") after the host pulses SMC pcIO output 28 (assert, then release); - the SMC hwmon, power/lid input and RTC children probe with the same 13 hwmon keys as hwmon-common/fan-dual/laptop with F0md/F1md; - pwm-leds binds kbd_backlight on FPWM0 after genpd powers FPWM0 (it is off at hand-off; build #28). Whether the light turns on was not seen. Physical input, separately: on that earlier chain (our own loader and 7.2.2 kernels) the owner confirmed keyboard typing (builds FT9, FT14, FT18-r2) and reported the trackpad working on the #30 boot. That does not cover this DTS, which has not been booted. Not covered: macsmc-power. On the same J714s an earlier kernel with the macsmc-power work-init fix, but without "read battery identity strings at their key size", hard-hung in the macsmc-power probe once. It has not been retried. Offline: cpp + dtc build of t6050-j714s.dtb with no warnings (the same as t6050-j716s.dtb), dt-validate against the bindings. Depends on the J716s series (#413) and the T6050 base (#404). Prepared with AI assistance (Claude). The submitter must review the change and add their Signed-off-by before it can be merged. Assisted-by: Claude:claude-opus-5-5 dtc dtschema
The J714s (MacBook Pro 14-inch, M5 Pro) Apple Device Tree describes the
multi-touch function-afe-reset with the same SMC pcIO template as the
J714c and J716s: pKW8('pcIO', 0x10000, 0x11c0000), output 28. Use the
shared table on the J714s too, so dockchannel-hid can get its
apple,afe-reset GPIO there; without it the J714s keyboard and trackpad
fail to probe with power method 2.
On a J714s, with our own 7.2.2 kernels (builds #29-#31, not this driver), two host writes
of that template, value 1 then value 0, made a multi-touch interface
that had timed out with firmware-managed reset come up ("Interface
multi-touch is now ready"). That was a one-shot from userspace through
our own SMC write path, not dockchannel-hid's OFF/ON sequence, which
has not run on a J714s. The active-high polarity is taken from the
J716s; on the J714s only the write order is consistent with it.
The owner separately reported the trackpad working on that earlier
chain (kernel build #30); that does not cover this driver path.
Validation note: a full-tree W=1 LLVM build of gpio-macsmc.o and of the
t6050-j714s/j716s DTBs on this branch passes with no warnings, and
CHECK_DTBS=y shows no new finding on j714s. The J714s DTS commit (the parent
of this one) was written before it; its native-test notes are clarified in
the PR description.
Prepared with AI assistance (Claude). The submitter must review the
change and add their Signed-off-by before it can be merged.
Assisted-by: Claude:claude-opus-5-5
TripleU613
added a commit
to betizzel/omarchy-m5
that referenced
this pull request
Nov 9, 2026
Capture the full commit series of omacom/linux-aurora#414, omacom/m1n1#39 and #40, rolotrealanis98/linux#1, rolotrealanis98/m5pro-linux#1 and #2, and the unsubmitted m5pro-linux n1-loader-admission branch as git-am mboxes, with an index. The PRs and their forks are being closed so this repo is the single home for the work. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01H3rUWr3saGxDib7Zd5Ksyw
Author
|
Closing: consolidating all my M5/J714s work into one place, https://github.com/betizzel/omarchy-m5 (this series is preserved as a git-am mbox in patches/upstream-prs/). Thanks for the reviews. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the 14-inch MacBook Pro with the M5 Pro (J714s, Mac17,9) as a T6050 board, in the shape of
t6050-j716s.dts.Depends on #413 (J716s), which carries #404 (T6050 base). This branch is #413's head
23480bf91efdplus 3 commits of ours. The commits below them are #404/#413's, unchanged under their own authors; rebase once those land.dt-bindings: arm: apple:apple,j714sjoinsapple,j716sunder M5 Pro.arm64: dts: apple:t6050-j714s.dts+ Makefile.gpio: macsmc(added last): use the existing J714c/J716s pcIO table onapple,j714stoo. The J714s ADT has the same trackpad AFE-reset template,pKW8('pcIO', 0x10000, 0x11c0000), output 28. Without it, dockchannel-hid can't get itsapple,afe-resetGPIO on J714s, so the keyboard and trackpad don't probe.The tree after commit 3 is byte-identical to the reviewed version (tree
b7fac6a6). Commit 2's message predates commit 3, and some of its native notes (the "13 hwmon keys", the genpd power-on, the plain "physical touch not confirmed") are corrected by the Validation section below.J714s values (from the J714s Apple Device Tree):
fpwm,s5l8920x, 25 kHz);tp_accelnode: the J714s firmware names ittp-accel.Validation:
W=1 LLVM=1build ofgpio-macsmc.o,t6050-j714s.dtbandt6050-j716s.dtb: rc 0, no warnings;dt-doc-validateof apple.yaml rc 0;dt-validateadds nothing new vs j716s;checkpatch --strictflags only the missing Signed-off-by (+ MAINTAINERS);tp_accel;CHECK_DTBS=y W=1on j714s and j716s: rc 0, no new finding on j714s (the single finding,clock-ref-ncowithoutclock-frequency, comes from Add the T6050 (M5 Max) and the 14-inch MacBook Pro (J714c) #404's base and is identical on j716s).Draft: needs a human Signed-off-by. Prepared with AI assistance (
Assisted-by: Claude:claude-opus-5-5) perDocumentation/process/coding-assistants.rst, with no Signed-off-by added. @TripleU613 reviews and adds their own before this leaves draft.