diff options
author | Krzysztof Kozlowski <[email protected]> | 2024-08-18 19:29:51 +0200 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2024-08-21 21:06:05 +0100 |
commit | bd5eebf4d3f02cdd069e5014a502ac7a310e3f03 (patch) | |
tree | f967c95898787808f481cc21cbc226067eb55d39 | |
parent | 0f718e10da81446df0909c9939dff2b77e3b4e95 (diff) |
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]>
-rw-r--r-- | Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml b/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml index ec34c48d4878..ef9dcc365eab 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: |