]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dt-bindings: i2c: qcom,i2c-cci: add missing clocks constraint in if:then:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 20 Aug 2024 06:31:24 +0000 (08:31 +0200)
committerAndi Shyti <andi.shyti@kernel.org>
Mon, 9 Sep 2024 22:34:03 +0000 (00:34 +0200)
commitc1a5e6ffdd4f02ca32ef526ad83320cf123f27b8
tree7032475a40015d8c4ec8bde84006f00f4e27e5ff
parent3a04293b14a120aa81e678b1b673c178cc5273f2
dt-bindings: i2c: qcom,i2c-cci: add missing clocks constraint in if:then:

Top level defines clocks as variable from 3 to 6 items, so each clause
in if:then: should narrow it further with explicit min and maxItems.
Without minItems, the constrain from top-level is being applied, thus
qcom,msm8996-cci allows between 3 and 4 clocks.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml