From: Krzysztof Kozlowski Date: Sun, 18 Aug 2024 17:29:03 +0000 (+0200) Subject: dt-bindings: net: mediatek,net: add top-level constraints X-Git-Tag: v6.12-rc1~232^2~219 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=06ab21c3cb6e124bdc2da226f38bc8eb45946887;p=thirdparty%2Flinux.git dt-bindings: net: mediatek,net: add top-level constraints Properties with variable number of items per each device are expected to have widest constraints in top-level "properties:" block and further customized (narrowed) in "if:then:". Add missing top-level constraints for clocks and clock-names. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring (Arm) Link: https://patch.msgid.link/20240818172905.121829-2-krzysztof.kozlowski@linaro.org Signed-off-by: Jakub Kicinski --- diff --git a/Documentation/devicetree/bindings/net/mediatek,net.yaml b/Documentation/devicetree/bindings/net/mediatek,net.yaml index 8c00a6f75357b..9e02fd80af835 100644 --- a/Documentation/devicetree/bindings/net/mediatek,net.yaml +++ b/Documentation/devicetree/bindings/net/mediatek,net.yaml @@ -30,8 +30,13 @@ properties: reg: maxItems: 1 - clocks: true - clock-names: true + clocks: + minItems: 2 + maxItems: 24 + + clock-names: + minItems: 2 + maxItems: 24 interrupts: minItems: 1