When narrowing properties per variant, the 'interrupt-names' should have
the same constraints as 'interrupts'. Add missing upper bound on the
property.
Fixes: e69003202434 ("dt-bindings: cpufreq: cpufreq-qcom-hw: Add QCM2290")
Fixes: 7ae24e054f75 ("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>
interrupt-names:
minItems: 1
+ maxItems: 1
- if:
properties:
interrupt-names:
minItems: 2
+ maxItems: 2
- if:
properties:
interrupt-names:
minItems: 3
+ maxItems: 3
- if:
properties:
interrupt-names:
minItems: 2
+ maxItems: 2
examples: