Skip to content

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

Closed
selvarasu-g wants to merge 2 commits into
sashiko-dev:mainfrom
selvarasu-g:docs/dt-bindings-rules
Closed

selvarasu-g wants to merge 2 commits 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:

  1. https://lore.kernel.org/all/20261026-talented-wolf-of-karma-8abbbd@quoll/
  2. 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

@sashiko-bot

sashiko-bot Bot commented Nov 20, 2026

Copy link
Copy Markdown

Sashiko review — v2

Commit 2/2 — 5da3f2ce Merge branch 'main' into docs/dt-bindings-rules

  • [HIGH] projects/linux/prompts/maintainers/dt-bindings.md: the merge commit
    lacks a Signed-off-by trailer and records the Git author as the single-word
    handle selvarasu-g instead of a full real name. Rebase the branch onto main
    to drop the merge commit, or amend the author and add a real-name
    Signed-off-by: Selvarasu Ganesan selvarasu.g@samsung.com trailer.

Full review and stage logs on sashiko.sashiko.dev

@selvarasu-g

Copy link
Copy Markdown
Contributor Author

There is a merge conflict due to rebase issue in my locally.

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