Repository navigation
ci: check every Apple device tree against its bindings - #1099
Merged
Merged
Conversation
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
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.
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/orscripts/dtc/:CHECK_DTBS=yat the base and at the head of the change, and fails when the head has a warning the base does not;dt_binding_checkon every binding the change adds or edits;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