]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
dt-bindings: gpu: samsung: constrain clocks in top-level properties
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 12 Nov 2023 18:44:01 +0000 (19:44 +0100)
committerRob Herring <robh@kernel.org>
Fri, 8 Dec 2023 13:24:19 +0000 (07:24 -0600)
commitf1d797b6da5e4a7cacc04eb9a49fe1a421169ff3
tree36bfbcf16ec550b2706ad4518f065ae10c14ce77
parent6b91e0ee7fc9e5b0ec0a8150ddc5fea15786ec7e
dt-bindings: gpu: samsung: constrain clocks in top-level properties

When number of clock varies between variants, the Devicetree bindings
coding convention expects to have widest constraints in top-level
definition of the properties and narrow them in allOf:if:then block.

This is more readable and sometimes allows to spot some errors in the
bindings.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20231112184403.3449-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/gpu/samsung-g2d.yaml
Documentation/devicetree/bindings/gpu/samsung-scaler.yaml