Skip to content

Commit 169b9b1

Browse files
krzkvireshk
authored andcommitted
dt-bindings: cpufreq: cpufreq-qcom-hw: Narrow properties on SDX75, SA8775p and SM8650
Add SDX75 and SA8775p compatibles to respective if:then: blocks to narrow their properties and add a new section for SM8650 with four 'reg' and 'interrupts' (top-level already allows four). SA8755p DTS comes without interrupts, but only because they might not be available for OS under given firmware. 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>
1 parent 684ab6f commit 169b9b1

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

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

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ allOf:
112112
enum:
113113
- qcom,qcm2290-cpufreq-hw
114114
- qcom,sar2130p-cpufreq-epss
115+
- qcom,sdx75-cpufreq-epss
115116
then:
116117
properties:
117118
reg:
@@ -133,6 +134,7 @@ allOf:
133134
enum:
134135
- qcom,qdu1000-cpufreq-epss
135136
- qcom,sa8255p-cpufreq-epss
137+
- qcom,sa8775p-cpufreq-epss
136138
- qcom,sc7180-cpufreq-hw
137139
- qcom,sc8180x-cpufreq-hw
138140
- qcom,sc8280xp-cpufreq-epss
@@ -214,6 +216,29 @@ allOf:
214216
minItems: 2
215217
maxItems: 2
216218

219+
- if:
220+
properties:
221+
compatible:
222+
contains:
223+
enum:
224+
- qcom,sm8650-cpufreq-epss
225+
then:
226+
properties:
227+
reg:
228+
minItems: 4
229+
maxItems: 4
230+
231+
reg-names:
232+
minItems: 4
233+
maxItems: 4
234+
235+
interrupts:
236+
minItems: 4
237+
maxItems: 4
238+
239+
interrupt-names:
240+
minItems: 4
241+
maxItems: 4
217242

218243
examples:
219244
- |

0 commit comments

Comments
 (0)