Skip to content

Commit e76fe87

Browse files
James BottomleyJames Bottomley
authored andcommitted
Merge branch 'misc' into for-next
2 parents e0b9142 + 2bbeb8d commit e76fe87

File tree

7 files changed

+839
-41
lines changed

7 files changed

+839
-41
lines changed

Documentation/devicetree/bindings/ufs/ufs-common.yaml

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,25 @@ properties:
2020
items:
2121
- description: Minimum frequency for given clock in Hz
2222
- description: Maximum frequency for given clock in Hz
23+
deprecated: true
2324
description: |
25+
Preferred is operating-points-v2.
26+
2427
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
2842

2943
interrupts:
3044
maxItems: 1
@@ -75,8 +89,23 @@ properties:
7589

7690
dependencies:
7791
freq-table-hz: [ clocks ]
92+
operating-points-v2: [ clocks, clock-names ]
7893

7994
required:
8095
- interrupts
8196

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+
82111
additionalProperties: true

0 commit comments

Comments
 (0)