Skip to content

Commit bd5eebf

Browse files
krzkjic23
authored andcommitted
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 <[email protected]> Reviewed-by: Fabrice Gasnier <[email protected]> Acked-by: Conor Dooley <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
1 parent 0f718e1 commit bd5eebf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ properties:
5454
It's not present on stm32f4.
5555
It's required on stm32h7 and stm32mp1.
5656
57-
clock-names: true
57+
clock-names:
58+
minItems: 1
59+
maxItems: 2
5860

5961
st,max-clk-rate-hz:
6062
description:

0 commit comments

Comments
 (0)