Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: samsung: exynos-usi: add missing 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 reg, clocks and clock-names.

Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20240818172804.121666-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

+9 -6
+9 -6
Documentation/devicetree/bindings/soc/samsung/exynos-usi.yaml
··· 32 32 - enum: 33 33 - samsung,exynos850-usi 34 34 35 - reg: true 35 + reg: 36 + maxItems: 1 36 37 37 - clocks: true 38 + clocks: 39 + maxItems: 2 38 40 39 - clock-names: true 41 + clock-names: 42 + items: 43 + - const: pclk 44 + - const: ipclk 40 45 41 46 ranges: true 42 47 ··· 118 113 - description: Operating clock for UART/SPI/I2C protocol 119 114 120 115 clock-names: 121 - items: 122 - - const: pclk 123 - - const: ipclk 116 + maxItems: 2 124 117 125 118 required: 126 119 - reg