dt-bindings: cpufreq: cpufreq-qcom-hw: Add missing constraint for interrupt-names

When narrowing properties per variant, the 'interrupt-names' should have
the same constraints as 'interrupts'.  Add missing upper bound on the
property.

Fixes: e690032024 ("dt-bindings: cpufreq: cpufreq-qcom-hw: Add QCM2290")
Fixes: 7ae24e054f ("dt-bindings: cpufreq: cpufreq-qcom-hw: Sanitize data per compatible")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
This commit is contained in:
Krzysztof Kozlowski 2025-03-13 10:08:20 +01:00 committed by Viresh Kumar
parent c6d5df7000
commit a298c20f39

View File

@ -128,6 +128,7 @@ allOf:
interrupt-names:
minItems: 1
maxItems: 1
- if:
properties:
@ -161,6 +162,7 @@ allOf:
interrupt-names:
minItems: 2
maxItems: 2
- if:
properties:
@ -189,6 +191,7 @@ allOf:
interrupt-names:
minItems: 3
maxItems: 3
- if:
properties:
@ -213,6 +216,7 @@ allOf:
interrupt-names:
minItems: 2
maxItems: 2
examples: