Skip to content

projects: linux: add DT binding ordering, items, and subject rules - #933

Merged
rgushchin merged 1 commit into
sashiko-dev:mainfrom
selvarasu-g:docs/dt-bindings-rules
Nov 20, 2026
Merged

rgushchin merged 1 commit into
sashiko-dev:mainfrom
selvarasu-g:docs/dt-bindings-rules

Conversation

@selvarasu-g

Copy link
Copy Markdown
Contributor

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.

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/

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-bot

sashiko-bot Bot commented Nov 20, 2026

Copy link
Copy Markdown

Sashiko review

✓ No issues found across 1 commit.

Full review log on sashiko.sashiko.dev

@rgushchin
rgushchin merged commit 27ff632 into sashiko-dev:main Nov 20, 2026
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.

2 participants