docs: dt: writing-schema: document expectations on example DTS
Devicetree binding maintainers expect the example DTS in a binding to show the usage of only this one particular binding, without unrelated device nodes. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20240212150524.81819-3-krzysztof.kozlowski@linaro.org Signed-off-by: Rob Herring <robh@kernel.org>
This commit is contained in:
parent
d9a41dc4de
commit
2ff94f7ce2
@ -92,8 +92,10 @@ additionalProperties / unevaluatedProperties
|
|||||||
'unevaluatedProperties: false'. Typically bus or common-part schemas.
|
'unevaluatedProperties: false'. Typically bus or common-part schemas.
|
||||||
|
|
||||||
examples
|
examples
|
||||||
Optional. A list of one or more DTS hunks implementing the
|
Optional. A list of one or more DTS hunks implementing this binding only.
|
||||||
binding. Note: YAML doesn't allow leading tabs, so spaces must be used instead.
|
Example should not contain unrelated device nodes, e.g. consumer nodes in a
|
||||||
|
provider binding, other nodes referenced by phandle.
|
||||||
|
Note: YAML doesn't allow leading tabs, so spaces must be used instead.
|
||||||
|
|
||||||
Unless noted otherwise, all properties are required.
|
Unless noted otherwise, all properties are required.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user