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

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: bus: qcom,ssc-block-bus: rework arrays and drop redundant minItems

There is no need to specify "minItems" if it equals to "maxItems". On the
other hand number of items in an array can be specified via describing
items, which might bring some additional information. This simplifies a
bit the binding.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220712154602.26994-1-krzysztof.kozlowski@linaro.org

authored by

Krzysztof Kozlowski and committed by
Rob Herring
2aa0d4c8 d17e37c4

+11 -14
+11 -14
Documentation/devicetree/bindings/bus/qcom,ssc-block-bus.yaml
··· 28 28 - const: qcom,ssc-block-bus 29 29 30 30 reg: 31 - description: | 32 - Shall contain the addresses of the SSCAON_CONFIG0 and SSCAON_CONFIG1 33 - registers 34 - minItems: 2 35 - maxItems: 2 31 + items: 32 + - description: SSCAON_CONFIG0 registers 33 + - description: SSCAON_CONFIG1 registers 36 34 37 35 reg-names: 38 36 items: ··· 46 48 ranges: true 47 49 48 50 clocks: 49 - minItems: 6 50 51 maxItems: 6 51 52 52 53 clock-names: ··· 58 61 - const: ssc_ahbs 59 62 60 63 power-domains: 61 - description: Power domain phandles for the ssc_cx and ssc_mx power domains 62 - minItems: 2 63 - maxItems: 2 64 + items: 65 + - description: CX power domain 66 + - description: MX power domain 64 67 65 68 power-domain-names: 66 69 items: ··· 68 71 - const: ssc_mx 69 72 70 73 resets: 71 - description: | 72 - Reset phandles for the ssc_reset and ssc_bcr resets (note: ssc_bcr is the 73 - branch control register associated with the ssc_xo and ssc_ahbs clocks) 74 - minItems: 2 75 - maxItems: 2 74 + items: 75 + - description: Main reset 76 + - description: 77 + SSC Branch Control Register reset (associated with the ssc_xo and 78 + ssc_ahbs clocks) 76 79 77 80 reset-names: 78 81 items: