Repository navigation
projects: linux: add DT binding ordering, items, and subject rules - #933
Merged
Merged
Conversation
A review of a new dt-bindings patch showed that the dt-bindings maintainer raised, and Sashiko missed, the following three conventions: - the canonical property order (interrupts after clocks, power-domains after interrupts) - per-entry items descriptions instead of free-form clock descriptions repeating min/maxItems - the redundant "binding" word in dt-bindings: subjects Record all three in the dt-bindings maintainer note so reviews of future binding patches apply them, covering both the schema (the properties: and required: lists) and the DTS node under examples:. The subject rule is worded as an explicit reviewer check rather than a convention: in E2E runs of the same patch, the convention-style wording was never acted on (two runs in a row did not flag the subject), while the check wording reported the finding (Low) alongside the schema findings. Signed-off-by: Selvarasu Ganesan <selvarasu.g@samsung.com>
Sashiko review✓ No issues found across 1 commit. |
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.
A review of a new dt-bindings patch showed that the dt-bindings maintainer raised, and Sashiko missed, the following three conventions:
Record all three in the dt-bindings maintainer note so reviews of future binding patches apply them, covering both the schema (the properties: and required: lists) and the DTS node under examples:.
The subject rule is worded as an explicit reviewer check rather than a convention: in E2E runs of the same patch, the convention-style wording was never acted on (two runs in a row did not flag the subject), while the check wording reported the finding (Low) alongside the schema findings.
Ref:
https://lore.kernel.org/all/20261026-talented-wolf-of-karma-8abbbd@quoll/
https://lore.kernel.org/all/20261026-obedient-aardvark-of-pleasure-67e5bd@quoll/