Skip to content

ci: check every Apple device tree against its bindings - #1099

Merged
RyanTheTide merged 1 commit into
integration/aurorafrom
dt2/ci-dt-checks
Nov 7, 2026
Merged

RyanTheTide merged 1 commit into
integration/aurorafrom
dt2/ci-dt-checks

Conversation

@RyanTheTide

Copy link
Copy Markdown

Adds a device tree job to CI so the "describe every device" work cannot quietly add schema warnings.

What the job does on every change to arch/arm64/boot/dts/apple/, the bindings, include/dt-bindings/ or scripts/dtc/:

  • builds all Apple device trees with CHECK_DTBS=y at the base and at the head of the change, and fails when the head has a warning the base does not;
  • runs dt_binding_check on every binding the change adds or edits;
  • uploads both warning lists as an artifact, so the existing warnings stay visible while they are burnt down.

Phandle values inside the schema messages are masked, so adding a node (which renumbers phandles) does not show up as dozens of "new" warnings.

Tested on the buildbox with the same script: base = integration/aurora 43c790f, head = a test merge of #1029, #1030, #1034 and #1043. 119 DTBs at both ends, 535 vs 525 unique warning lines, 0 new, 14 removed (the #1030 dpaudio fixes), and the two touched bindings pass. Before masking, the same run reported 4 "new" warnings that were only renumbered phandles.

🤖 Generated with Claude Code

Run CHECK_DTBS on all Apple device trees at the base and the head of a
change and fail when the head adds a schema warning, and run
dt_binding_check on every binding the change adds or edits. Phandle
values in the messages are masked so a renumbering is not reported as
new. The existing warnings stay visible in the job artifact while they
are burnt down; new device tree work cannot add to them.

Signed-off-by: Ryan Murray <81541646+RyanTheTide@users.noreply.github.com>
Assisted-by: LLM
@RyanTheTide
RyanTheTide merged commit cd9c645 into integration/aurora Nov 7, 2026
2 checks passed
@RyanTheTide
RyanTheTide deleted the dt2/ci-dt-checks branch November 16, 2026 05:05
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