From: Krzysztof Kozlowski Date: Thu, 13 Mar 2025 09:08:20 +0000 (+0100) Subject: dt-bindings: cpufreq: cpufreq-qcom-hw: Add missing constraint for interrupt-names X-Git-Tag: v6.15-rc1~191^2~4^2^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a298c20f39dea74d1edaa50a1c37856b0f5f55c3;p=thirdparty%2Fkernel%2Flinux.git 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: 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 Acked-by: Rob Herring (Arm) Signed-off-by: Viresh Kumar --- diff --git a/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml b/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml index 90d9e7f434065..ee2a7eff1657f 100644 --- a/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml +++ b/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml @@ -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: