Repository navigation
Commit 27ff632
projects: linux: add DT binding ordering, items, and subject rules
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>1 parent ba80c87 commit 27ff632
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
0 commit comments