Skip to content

arm64: dts: apple: t8132-dcp: add #address-cells and #size-cells to dcp - #4004

Merged
DjDeveloperr merged 1 commit into
aurora-silicon:mainfrom
espentrydal:fix/t8132-dcp-address-cells
Dec 3, 2026
Merged

DjDeveloperr merged 1 commit into
aurora-silicon:mainfrom
espentrydal:fix/t8132-dcp-address-cells

Conversation

@espentrydal

Copy link
Copy Markdown
Contributor

What: Add #address-cells = <2> and #size-cells = <2> to dcp@30ae00000 in arch/arm64/boot/dts/apple/t8132-dcp.dtsi. The node defines child nodes (such as piodma) without declaring address/size cells, triggering repeated OF Missing '#address-cells' / Missing '#size-cells' WARN_ON() traces at boot on T8132 boards.

Tested:

  • At PR head 4c85a32bbc8 (base 53732c475cb):
    • scripts/checkpatch.pl --strict: 0 errors, 0 warnings, 0 checks.
    • make LLVM=1 ARCH=arm64 apple/t8132-j604.dtb apple/t8132-j713.dtb apple/t8132-j773g.dtb: 0 errors, 0 warnings.
  • Hardware (MacBook Pro 14" M4, apple,j604 / apple,t8132, OS/system fw 26.6.2, mBoot-18000.161.10, aura 1.0.0b18, Arch Linux ARM, 7.3.0-j604-dev+ carrying this commit): all boot-time OF Missing '#address-cells'/'#size-cells' WARNs are gone, kernel taint is 8196 (no TAINT_WARN), 0 failed units, 0 new kernel errors.

Risk: two-way door · M4 (t8132) boards including t8132-dcp.dtsi. Plain DT property addition; trivially revertible.

Not yet: Standalone boot at this exact single-commit head 4c85a32bbc8 (hardware run was on the J604 branch carrying this exact diff) and hardware verification on non-J604 T8132 boards (J713, J715, J773g).

The dcp@30ae00000 node defines child nodes (such as piodma) without
declaring #address-cells or #size-cells, triggering repeated OF
"Missing '#address-cells'/'#size-cells'" WARN_ON() traces at boot on
T8132 boards.

Add #address-cells = <2> and #size-cells = <2> to dcp@30ae00000.

Signed-off-by: Espen Trydal <espen@trydal.io>
@espentrydal
espentrydal requested review from a team as code owners December 2, 2026 22:21
@github-actions github-actions Bot added area:bringup Area from CODEOWNERS (bot) blast:m4 Macs affected, from Merge risk (bot) door:two-way Revertible or not, from Merge risk (bot) needs-review No approving review from Core or Omarchy Mac yet (bot) labels Dec 2, 2026
@github-actions

github-actions Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Merge readiness at 4c85a32b: not ready yet

Check Detail
CI at head ok 2 checks passed
Review ok approved by DjDeveloperr
Requested changes ok none
Hardware row at head ok in the PR body at 4c85a32b
Conflicts ok not computed yet
PR text ok Risk: two-way · M4 (t8132) boards including t8132-dcp.dtsi. Plain DT property addition; trivially revertible.

Areas: area:bringup

Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels.

@DjDeveloperr DjDeveloperr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve at 4c85a32bbc87. The only board where this does anything at run time is the J604, and there it only removes the warning.

  • J713, J715: they already set both properties in t8132-j713-j715.dtsi. With properties sorted, their DTBs are identical to main's.
  • J773g, J623, J624: the two properties land on a dcp node that is disabled, with a disabled piodma child, so no device is created from either.
  • J604: without the properties, the kernel warns once and walks up to /soc, which has 2 and 2. The lookup returns the same cells as before, so nothing is parsed differently. I also found no use of this node's cells in aura's kboot.c.

Checked on the merge with main b902937859ec: the J604, J713, J715, J773g, J623 and J624 DTBs build, and dt-validate output is the same as main's on all six. checkpatch --strict is clean. The full host tests pass on the six PRs of this series merged together (1028/1028). dtc W=1 now prints avoid_unnecessary_addr_size for the J604, J773g, J623 and J624, as it already does for the J713 and J715. That warning is not part of dt-checks.

Still owed before merge: one J604 boot at this exact head, which you list as not done. It should show no Missing '#address-cells' or '#size-cells' line for /soc/dcp@30ae00000, and the panel up. No other board needs a row.

@github-actions github-actions Bot removed the needs-review No approving review from Core or Omarchy Mac yet (bot) label Dec 2, 2026
@DjDeveloperr

Copy link
Copy Markdown
Contributor

Landing this at 4c85a32bbc87. In my review I asked for a J604 boot at this exact head. The hardware line in the PR text is from the j604-fixes branch, so it isn't that boot, although the readiness table lists it as a row at this head. I'm taking it as a carried row:

  • git patch-id --stable is c918e247ddbd both for this commit and for 6908821a10bd on j604-fixes.
  • t8132-dcp.dtsi is the same blob (63119f25282d) here and in four published states of that branch from 11-29 on, including its tip.
  • Between that branch's base and main, neither t8132-dcp.dtsi nor t8132-j604.dts changed.

Hosted checks didn't run on this fork PR, so I ran them locally on the merge with main 2b2681932a5c. Main has moved since, without touching t8132-dcp.dtsi.

Check Result
scripts/checkpatch.pl --strict 0 errors, 0 warnings, 0 checks
make LLVM=1 CHECK_DTBS=1 for all six T8132 DTBs build; messages the same as on main, no new dtc warning
apple-dart-pd-check.py, apple-sibling-drift.py, main vs merge, on those six 0 new
run-host-tests.py --only t8132 and --only apple-dcp (with #4006 applied too) 4/4 and 1/1

What changes in the DTBs: the J713 and J715 are the same once properties are sorted. The J604 gains only the two properties, with the values /soc already gave it. The J773g, J623 and J624 gain them on a disabled dcp with a disabled piodma, so J713 or J773g rows wouldn't show anything here.

dtc at W=1 prints one new avoid_unnecessary_addr_size line each for the J604, J773g, J623 and J624. The J713 and J715 already print it, and W=1 isn't part of dt-checks.

@DjDeveloperr
DjDeveloperr merged commit 622a059 into aurora-silicon:main Dec 3, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:bringup Area from CODEOWNERS (bot) blast:m4 Macs affected, from Merge risk (bot) door:two-way Revertible or not, from Merge risk (bot)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants