Repository navigation
arm64: dts: apple: t8152-j804: describe the MacBook Pro (M6) core board - #4372
Open
stefanodvx wants to merge 3 commits into
Open
stefanodvx wants to merge 3 commits into
stefanodvx wants to merge 3 commits into
Conversation
Add the T8152 compatible for the keyboard backlight PWM controller, which uses the apple,s5l-fpwm fallback. Signed-off-by: LiamRay11 <228416644+LiamRay11@users.noreply.github.com> Signed-off-by: stefano <69367859+stefanodvx@users.noreply.github.com>
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
DjDeveloperr
reviewed
Dec 5, 2026
DjDeveloperr
left a comment
Contributor
There was a problem hiding this comment.
The J804 receipt at e99a41a6d covers the core-board paths and credits the stacked NVMe/USB commit for disk root. Two items from the #2107 review still apply to this replacement:
- The J873g AP GPIO bank also switches from the cached T8103 fallback to uncached T8140. Please post a J873g control with Wi-Fi, Bluetooth, Ethernet and one sleep cycle at this revision, or preserve J873g's old fallback in this J804 patch and move the J873g change into its own tested follow-up.
- The two cluster OPP tables, cpufreq controllers and shared SMC resources are still duplicated between J804 and J873g. Please carry forward the requested shared placement in
t8152.dtsi, keeping J804-only values in its board file, or link the maintainer decision approving the split.
This carries over the open review items before #4373 and #4375 build on the board description.
The T8152 AP GPIO bank uses uncached T8140 register access so reserved pins do not fault on probe; allow the apple,t8140-pinctrl fallback for apple,t8152-pinctrl while preserving the existing T8103 fallback used by J873g and the separate AOP GPIO bank. Signed-off-by: LiamRay11 <228416644+LiamRay11@users.noreply.github.com> Signed-off-by: DjDeveloperr <hey@djdev.me> Signed-off-by: stefano <69367859+stefanodvx@users.noreply.github.com>
Place the shared T8152 SoC nodes in t8152.dtsi (disabled by default so hardware-only boards such as J833ct remain opt-in): - unmanaged CPU cluster OPP tables and cluster cpufreq controllers - SMC firmware reserved memory, SMC mailbox, and SMC controller - watchdog, AP pinctrl (uncached T8140 profile), I2C1, I2C3, and FPWM0 Then turn t8152-j804.dts into a concise board description enabling those shared blocks and keeping only J804-specific wiring (reserved GPIO pin ranges, disabled jack codec, keyboard backlight LED, SMC pcIO reset and hwmon keys, boot NOR via t8152-j873-qspi.dtsi, and SIO/I2C power states). J873g and its existing pinctrl fallback remain untouched. All addresses, interrupts, GPIO ranges, and properties are verified against the J804 (Mac18,1) ADT. Signed-off-by: LiamRay11 <228416644+LiamRay11@users.noreply.github.com> Signed-off-by: stefano <69367859+stefanodvx@users.noreply.github.com>
stefanodvx
force-pushed
the
feat/j804-core-board
branch
from
December 5, 2026 10:12
e99a41a to
46bdb00
Compare
This branch has not been deployed
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.
What:
Clean 3-commit recreation of #2107 (dropping the
Co-Authored-Bytrailers as requested, preserving original commit authorship and DCO) describing the MacBook Pro (14-inch, M6, J804) core board:apple,t8152-fpwmbinding (apple,s5l-fpwm.yaml)apple,t8152-pinctrlbinding (apple,pinctrl.yaml) allowing the uncachedapple,t8140-pinctrlfallback while preserving J873g'sapple,t8103-pinctrlfallback (t8152-j873-n1.dtsiis left untouched)arch/arm64/boot/dts/apple/t8152.dtsi(disabled by default so hardware-only boards such ast8152-j833ct.dtsstay opt-in: cluster OPP tables, cluster cpufreq controllers, SMC firmware reserved-memory, SMC mailbox/controller, watchdog, AP pinctrl, I2C1/I2C3, and FPWM0) and concise J804 board description inarch/arm64/boot/dts/apple/t8152-j804.dts(enables plus J804-onlygpio-reserved-ranges, disabled jack codec, keyboard backlight LED, SMCsmc_pcio/smc_hwmon, QSPI/PMGR)Every register base, interrupt, GPIO, and SMC key has been cross-checked against a live J804 (
Mac18,1, macOS 27.2.126B7131) ADT capture.Tested:
46bdb001MacBook Pro 14-inch (M6,Mac18,1,J804,T8152,board_id 0x22, stub26B7124) PASS:dtccompilest8152-j804.dtbandt8152-j833ct.dtbwith 0 warnings;dt-doc-validateanddt-validatepass on the pinctrl and FPWM bindings;t8152-j873g.dtbis completely untouched; compiledt8152-j804.dtbis semantically identical toe99a41a6d, which was hardware-verified on7.3.0-53.fc45.aurora.aarch64viaauraStage 1be3940f+boot=(with the stacked NVMe/USB DT commit for disk root):nproc=12, online0-11,972-1152 MHzscaling./dev/watchdogand/dev/watchdog0present.fpwm0):/sys/class/leds/kbd_backlight(max_brightness=255, write/readback0 -> 180 -> 0 -> 180, physical backlight verified lit).macsmc_hwmon(hwmon1): 169 temperature sensors,fan1(0 RPM), 4 power rails (PSTR,PDTR,PMVR,PHPC), 2 voltages (VD0R,SBAV), 1 current (ID0R).0failed units; reached Fedora GNOME Initial Setup onsimple-framebuffer.Risk:
Two-way door (J804 board DT, disabled-by-default T8152 SoC nodes in
t8152.dtsi, and T8152 PWM/pinctrl bindings; J873g is untouched).Not yet: