Skip to content

arm64: configs: enable the J700 SMC thermal policy and T8140 AOP audio - #32

Merged
RyanTheTide merged 1 commit into
aurora-wipfrom
series/neo-j700-config-20260926
Sep 25, 2026
Merged

RyanTheTide merged 1 commit into
aurora-wipfrom
series/neo-j700-config-20260926

Conversation

@RyanTheTide

@RyanTheTide RyanTheTide commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Two-line asahi.config change so that a defconfig plus the Asahi fragment builds the drivers the merged J700 device tree relies on: CONFIG_APPLE_SMC_CPU_THERMAL=y (the J700-only CPU thermal policy from #22, a bool that only acts on apple,j700 machines; without it apple-soc-cpufreq refuses T8140 P-states above 2) and CONFIG_SND_SOC_APPLE_T8140_AOP_AUDIO=m (the T8140 AOP audio driver from #13).

Reworked from an earlier draft only in its commit message (trailer format, the reasoning spelled out). Verified by resolving defconfig asahi.config on this tree: APPLE_SMC_CPU_THERMAL=y, SND_SOC_APPLE_T8140_AOP_AUDIO=m, with ARM_APPLE_SOC_CPUFREQ and SENSORS_MACSMC_HWMON still modules and CPU_FREQ_THERMAL=y. Not run on hardware.

🤖 Generated with Claude Code

The J700 device tree now requests the SMC CPU thermal policy
(apple,cpu-thermal-policy on the SMC hwmon node) and describes the
T8140 AOP audio paths, but asahi.config still leaves both drivers off.
A defconfig plus the Asahi fragment therefore builds a kernel in which
apple-soc-cpufreq refuses the T8140 P-states above 2, because the
thermal gate is absent, and the T8140 AOP audio module does not exist.

Enable the SMC CPU thermal policy built in (it is a bool, only acts on
apple,j700 machines, and its entry points are exported so cpufreq and
macsmc-hwmon stay modules) and build the T8140 AOP audio driver as a
module. With the base defconfig's CPU_FREQ_THERMAL, Kconfig resolves
CONFIG_APPLE_SMC_CPU_THERMAL=y and
CONFIG_SND_SOC_APPLE_T8140_AOP_AUDIO=m while ARM_APPLE_SOC_CPUFREQ and
SENSORS_MACSMC_HWMON remain modules.

Compile-tested only (Kconfig resolution); not run on hardware.

Assisted-by: LLM checkpatch
Signed-off-by: Ryan Murray <[email protected]>
@RyanTheTide
RyanTheTide force-pushed the series/neo-j700-config-20260926 branch from cada0de to 8b9f367 Compare September 25, 2026 17:07
@RyanTheTide RyanTheTide changed the title arm64: configs: enable J700 CPU thermal and AOP audio arm64: configs: enable the J700 SMC thermal policy and T8140 AOP audio Sep 25, 2026
@RyanTheTide
RyanTheTide marked this pull request as ready for review September 25, 2026 17:07
@RyanTheTide
RyanTheTide merged commit e5b917c into aurora-wip Sep 25, 2026
@RyanTheTide
RyanTheTide deleted the series/neo-j700-config-20260926 branch September 26, 2026 12:45
cb2206 pushed a commit to cb2206/linux that referenced this pull request Oct 7, 2026
…silicon#32)

The kernel carries device trees for the M3 Ultra (t6032) and M4 and later
chips (t8132, t8142, t8152), but neither is_m3 nor is_neo matched them, so
the installer took the M1/M2 path there: it installed m1n1-aurora and
rebuilt boot.bin with an m1n1 that can't start them, leaving the Mac to be
recovered from macOS.

install_all and uninstall_all now stop first, with nothing downloaded or
changed, unless the device tree names a chip in SUPPORTED_SOCS (M1, M2,
the MacBook Neo and the four M3s). --agent-prompt and --reset-touchid,
which install nothing, still run anywhere.

Fixes: chriskearney/aurora-linux#32
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01FwdG63dRaMrRbYrUBkSa1i
cb2206 pushed a commit to cb2206/linux that referenced this pull request Oct 7, 2026
Kernel 7.1.12.aurora2-11.37 (aurora-linux air/t8122 8819303): the
unified M1/M2/M3 kernel. Only the five M3 (T8122) device trees and the
14" J514S tree change from 11.36; every other Mac's trees are identical.
The T8122 GPU and display nodes stay disabled and the driver fails
closed, so an M3 Air is kernel-only here (framebuffer), exactly as in
11.36; the Air GPU/display handoff stays in the test channel.

Installer:
- M3 Pro 16" J516S keeps its display+GPU handoff, now on m1n1-aurora
  1.6.1.aurora7 (passes each Mac's PMP values; kernel reads them).
- 14" J514S handoff is opt-in with --m3-handoff (not on by default).
- M3 Air: no Air m1n1 shipped, so it stays kernel-only; --m3-handoff on
  an Air refuses cleanly.
- New --m3-report writes one sanitised report file on an M3.
- Refuses chips this release can't boot (M3 Ultra, M4+), nothing changed (aurora-silicon#32).
- The m3-serial.py tool-lookup fix carries over.

M1, M2 and the MacBook Neo are unchanged.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_01FwdG63dRaMrRbYrUBkSa1i
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