]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: cpufreq: cpufreq-qcom-hw: Add missing constraint for interrupt-names
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 13 Mar 2025 09:08:20 +0000 (10:08 +0100)
committerViresh Kumar <viresh.kumar@linaro.org>
Mon, 17 Mar 2025 06:05:24 +0000 (11:35 +0530)
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>
Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml

index 90d9e7f43406522f16ac80c76d82f8ea3d346b45..ee2a7eff1657f8a028c71c4450bf140a8083386d 100644 (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: