Re: [PATCH] dt-bindings: example: Extend based on practice

From: Rob Herring
Date: Tue Sep 15 2020 - 17:09:54 EST


On Thu, 10 Sep 2020 20:47:06 +0200, Krzysztof Kozlowski wrote:
> 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@xxxxxxxxxx>
> ---
> .../devicetree/bindings/example-schema.yaml | 33 ++++++++++++++-----
> 1 file changed, 25 insertions(+), 8 deletions(-)
>

Applied, thanks!

I keep meaning to go work on improving this...