Thread (27 messages) 27 messages, 11 authors, 2023-12-04

Re: [PATCH v3] docs: dt-bindings: add DTS Coding Style document

From: Francesco Dolcini <francesco@dolcini.it>
Date: 2023-11-29 11:17:48
Also in: linux-amlogic, linux-arm-msm, linux-devicetree, linux-doc, linux-mediatek, linux-rockchip, linux-samsung-soc, lkml, workflows

On Wed, Nov 29, 2023 at 11:19:15AM +0100, Krzysztof Kozlowski wrote:
On 29/11/2023 08:29, Francesco Dolcini wrote:
quoted
On Sat, Nov 25, 2023 at 07:44:22PM +0100, Krzysztof Kozlowski wrote:
quoted
---
+Following order of properties in device nodes is preferred:
+
+1. compatible
+2. reg
+3. ranges
+4. Standard/common properties (defined by common bindings, e.g. without
+   vendor-prefixes)
...
quoted
On point 4, do you have a more explicit way to define what is an actual
standard/common property? You mention the vendor-prefixes as an example,
is this just an example or this is the whole definition?
The actual definition is: defined by common bindings, which are:
meta-schemas and schemas in dtschema, and common bindings per subsystem
(e.g. leds/common.yaml).

Lack of vendor-prefix is I think 99% accurate in this matter, but there
are some "linux," ones.
Got it, thanks! I would suggest to incorporate in some way this additional
explanation in v4.

Francesco

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help