Repository navigation
Conversation
…s it
On T6050 the SMC registers its input, power and hwmon cells, the PCIO
and low GPIO banks and the described reboot and RTC cells. The gP bank
(apple,smc-gpio) is only in the list for the other SoCs. The J716s's N1
port names its power line on that bank (pwren-gpios = <&smc_gpio 0x13
...>), so pcie-apple's port probe waits for a GPIO provider that never
appears: "Port /pcie@1cb0000000/pci@0,0 probe fail", deferred forever,
and no PCIe device, Wi-Fi or Bluetooth.
Register the gP bank with the T6050 described cells, under a cell name
of its own ("macsmc-gpio" is the PCIO bank's; gpio-macsmc binds both by
compatible). Only the J716s's tree describes the bank today, so no other
T6050 board changes.
Tested on one J716s (27.2 stub 26B123, omarchy-m5's v272-17 kernel with
this change) with pwren-gpios kept in its tree: the gP bank registers
("First GPIO key: gP01"), pcie-apple probes the N1 port with no
deferral, and Wi-Fi and Bluetooth come up.
Signed-off-by: Julian Arango <95070226+ja-818@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Review at 2e607bf. Changes requested, for the commit trailer only. The change itself is right.
Row owed: once #2922 is in, a J716s boot on this tree at its head, showing the gP bank registering, |
DjDeveloperr
requested changes
Nov 23, 2026
DjDeveloperr
left a comment
Contributor
There was a problem hiding this comment.
Formal §1–§6 pre-PR checklist review at 2e607bfb94239d634a4787ce64503f1cf79e977b.
Code & Fork CI Safety Audit
- Code (
drivers/mfd/macsmc.c, +5/-2) — Clean: AddingMFD_CELL_OF("macsmc-gp-gpio", NULL, NULL, 0, 0, "apple,smc-gpio")toapple_smc_t6050_described_devs[]is sound and safe.apple_smc_add_described_devices()checksof_get_compatible_child(smc->dev->of_node, cells[i].of_compatible)(and balancesof_node_put(np)) before callingdevm_mfd_add_devices(), so T6050 devicetrees without anapple,smc-gpiochild node are completely unchanged. Using"macsmc-gp-gpio"avoids aPLATFORM_DEVID_NONEname collision withapple_smc_described_devs's"macsmc-gpio"(apple,smc-pcio-gpio), anddrivers/gpio/gpio-macsmc.cbinds both by compatible and already handlesapple,j716sgP13. - Fork CI Safety: Workflow run
45109476074(Host tests, forkja-818/linux) isaction_required. The diff touches onlydrivers/mfd/macsmc.c(no workflow, script, Makefile, or Kconfig edits) and is safe for maintainer CI approval once re-pushed.
Blockers
- §4 Commit attribution (Hard Blocker):
Commit2e607bfb94239d634a4787ce64503f1cf79e977bcontainsCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>in its commit message. Per §4 of the pre-PR checklist, commits must carry human identity and a humanSigned-off-by:only, with zero AI co-author, sign-off, orAssisted-by:trailers inside commits. Please drop theCo-Authored-By:line from the commit and re-push. - §5 Evidence & CI:
- Fork CI (
Host tests) has not run yet (action_required). - The J716s test result in the commit/PR was collected on a different kernel tree (
omarchy-m5v272-17), and this change is a no-op onaurora-silicon/linuxuntil the J716s DT dependency (#2922) adds theapple,smc-gpionode. Once re-pushed (and paired with #2922), please post a J716s boot row onaurora-silicon/linuxconfirming thegPbank registration (First GPIO key: gP01),pcie-appleN1 probe without deferral, Wi-Fi/Bluetooth up, and regression counts (0 SELinux denials, 0 failed units, 0 new kernel errors).
- Fork CI (
Checklist Summary
- §1 No model gating: Pass (uses existing
apple_smc_t6050_described_devsDT-described cell mechanism; no board gate added). - §2 Production-ready, no hacks: Pass.
- §3 Safety: Pass.
- §4 Clean-room & attribution: Blocked on
Co-Authored-By:AI trailer in commit2e607bfb94. - §5 Evidence: Blocked on fork CI (
action_required) and owed J716s hardware row on this tree. - §6 Naming: Pass.
Assisted-by: LLM (Gemini 4 Neon)
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.
On T6050 macsmc registers the gP bank (
apple,smc-gpio) only for the other SoCs, so the J716s's N1 port (pwren-gpioson gP13) defers pcie-apple's probe forever: no PCIe, Wi-Fi or Bluetooth. This registers the bank with the T6050 described cells, under its own cell name ("macsmc-gpio" is the PCIO bank's). Only the J716s's tree describes it, so no other board changes. Seen on one J716s: Wi-Fi and Bluetooth come up with pwren-gpios kept. Report: betizzel/omarchy-m5#28.🤖 Generated with Claude Code