File tree Expand file tree Collapse file tree 7 files changed +839
-41
lines changed
Documentation/devicetree/bindings/ufs Expand file tree Collapse file tree 7 files changed +839
-41
lines changed Original file line number Diff line number Diff line change @@ -20,11 +20,25 @@ properties:
20
20
items :
21
21
- description : Minimum frequency for given clock in Hz
22
22
- description : Maximum frequency for given clock in Hz
23
+ deprecated : true
23
24
description : |
25
+ Preferred is operating-points-v2.
26
+
24
27
Array of <min max> operating frequencies in Hz stored in the same order
25
- as the clocks property. If this property is not defined or a value in the
26
- array is "0" then it is assumed that the frequency is set by the parent
27
- clock or a fixed rate clock source.
28
+ as the clocks property. If either this property or operating-points-v2 is
29
+ not defined or a value in the array is "0" then it is assumed that the
30
+ frequency is set by the parent clock or a fixed rate clock source.
31
+
32
+ operating-points-v2 :
33
+ description :
34
+ Preferred over freq-table-hz.
35
+ If present, each OPP must contain array of frequencies stored in the same
36
+ order for each clock. If clock frequency in the array is "0" then it is
37
+ assumed that the frequency is set by the parent clock or a fixed rate
38
+ clock source.
39
+
40
+ opp-table :
41
+ type : object
28
42
29
43
interrupts :
30
44
maxItems : 1
@@ -75,8 +89,23 @@ properties:
75
89
76
90
dependencies :
77
91
freq-table-hz : [ clocks ]
92
+ operating-points-v2 : [ clocks, clock-names ]
78
93
79
94
required :
80
95
- interrupts
81
96
97
+ allOf :
98
+ - if :
99
+ required :
100
+ - freq-table-hz
101
+ then :
102
+ properties :
103
+ operating-points-v2 : false
104
+ - if :
105
+ required :
106
+ - operating-points-v2
107
+ then :
108
+ properties :
109
+ freq-table-hz : false
110
+
82
111
additionalProperties : true
You can’t perform that action at this time.
0 commit comments