dt-bindings: example: Extend based on practice
authorKrzysztof Kozlowski <krzk@kernel.org>
Thu, 10 Sep 2020 18:47:06 +0000 (20:47 +0200)
committerRob Herring <robh@kernel.org>
Tue, 15 Sep 2020 22:42:11 +0000 (16:42 -0600)
commit73f76a41c4ed7def5dc2ec7c33c7e9f94e601a20
tree4873ddacc779fb0bfe8473def80289503b46307d
parent5f40bb39ad555066589bfdcbfaaab1fad56ce1b0
dt-bindings: example: Extend based on practice

Extend the example schema with common rules which seems to be not that
obvious:
1. Expecting arrays of phandles to be always ordered, regardless if
   "xxx-names" is provided (e.g. clocks),
2. Add example of altering a property based on presence of other
   property,
3. Document usage of unevaluatedProperties.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20200910184706.9677-1-krzk@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/example-schema.yaml