Skip to content

Commit a298c20

Browse files
krzkvireshk
authored andcommitted
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: e690032 ("dt-bindings: cpufreq: cpufreq-qcom-hw: Add QCM2290") Fixes: 7ae24e0 ("dt-bindings: cpufreq: cpufreq-qcom-hw: Sanitize data per compatible") Signed-off-by: Krzysztof Kozlowski <[email protected]> Acked-by: Rob Herring (Arm) <[email protected]> Signed-off-by: Viresh Kumar <[email protected]>
1 parent c6d5df7 commit a298c20

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ allOf:
128128

129129
interrupt-names:
130130
minItems: 1
131+
maxItems: 1
131132

132133
- if:
133134
properties:
@@ -161,6 +162,7 @@ allOf:
161162

162163
interrupt-names:
163164
minItems: 2
165+
maxItems: 2
164166

165167
- if:
166168
properties:
@@ -189,6 +191,7 @@ allOf:
189191

190192
interrupt-names:
191193
minItems: 3
194+
maxItems: 3
192195

193196
- if:
194197
properties:
@@ -213,6 +216,7 @@ allOf:
213216

214217
interrupt-names:
215218
minItems: 2
219+
maxItems: 2
216220

217221

218222
examples:

0 commit comments

Comments
 (0)