[PATCH 1/3] dt-bindings: cpufreq: cpufreq-qcom-hw: Add missing constraint for interrupt-names
From: Krzysztof Kozlowski
Date: Thu Mar 13 2025 - 05:09:53 EST
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@xxxxxxxxxx>
---
Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml b/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml
index e937eb7355e7fb74c0aeafb4cb9f5ed80d96e6c3..6633a70e322019bf2f1cfdce8f3225b307dfffb6 100644
--- a/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml
+++ b/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml
@@ -127,6 +127,7 @@ allOf:
interrupt-names:
minItems: 1
+ maxItems: 1
- if:
properties:
@@ -160,6 +161,7 @@ allOf:
interrupt-names:
minItems: 2
+ maxItems: 2
- if:
properties:
@@ -187,6 +189,7 @@ allOf:
interrupt-names:
minItems: 3
+ maxItems: 3
- if:
properties:
@@ -211,6 +214,7 @@ allOf:
interrupt-names:
minItems: 2
+ maxItems: 2
examples:
--
2.43.0