From: Krzysztof Kozlowski Date: Sun, 18 Aug 2024 17:29:51 +0000 (+0200) Subject: dt-bindings: iio: st,stm32-adc: add top-level constraints X-Git-Tag: v6.12-rc1~39^2~37^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bd5eebf4d3f02cdd069e5014a502ac7a310e3f03;p=thirdparty%2Fkernel%2Flinux.git dt-bindings: iio: st,stm32-adc: 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 clock-names. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Fabrice Gasnier Acked-by: Conor Dooley Link: https://patch.msgid.link/20240818172951.121983-1-krzysztof.kozlowski@linaro.org Signed-off-by: Jonathan Cameron --- diff --git a/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml b/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml index ec34c48d48782..ef9dcc365eab5 100644 --- a/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml +++ b/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml @@ -54,7 +54,9 @@ properties: It's not present on stm32f4. It's required on stm32h7 and stm32mp1. - clock-names: true + clock-names: + minItems: 1 + maxItems: 2 st,max-clk-rate-hz: description: