dt-bindings: example-schema: don't use enum as fallback, explain clock-names
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 12 Jun 2023 09:26:11 +0000 (11:26 +0200)
committerRob Herring <robh@kernel.org>
Thu, 15 Jun 2023 17:25:44 +0000 (11:25 -0600)
commit9e654c047061016cb4a07f5c4f3b1596eb481fa6
tree0be970085243e809f42bf3ab92ae2ec5aee90283
parent0f8e5651095bcf6e60330c8d558fd1227e0d71b3
dt-bindings: example-schema: don't use enum as fallback, explain clock-names

Compatibles with multiple entries should have usually only one fallback
compatible thus enum followed by enum is not a common case.  Use 'const'
as second compatible to show the recommended approach.

Explain also when clock-names are not really necessary.

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