Skip to content

Commit 2a5711c

Browse files
krzkandersson
authored andcommitted
dt-bindings: clock: qcom,sc7280-lpasscorecc: order properties to match convention
By convention we expect first "compatible", then "reg" and then rest. Order properties to match convention and what is in "required:" block. Signed-off-by: Krzysztof Kozlowski <[email protected]> Acked-by: Rob Herring (Arm) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent a751a65 commit 2a5711c

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

Documentation/devicetree/bindings/clock/qcom,sc7280-lpasscorecc.yaml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,25 @@ description: |
1818
include/dt-bindings/clock/qcom,lpassaudiocc-sc7280.h
1919
2020
properties:
21-
clocks: true
22-
23-
clock-names: true
24-
25-
reg: true
26-
2721
compatible:
2822
enum:
2923
- qcom,sc7280-lpassaoncc
3024
- qcom,sc7280-lpassaudiocc
3125
- qcom,sc7280-lpasscorecc
3226
- qcom,sc7280-lpasshm
3327

34-
power-domains:
35-
maxItems: 1
28+
reg: true
29+
30+
clocks: true
31+
32+
clock-names: true
3633

3734
'#clock-cells':
3835
const: 1
3936

37+
power-domains:
38+
maxItems: 1
39+
4040
'#power-domain-cells':
4141
const: 1
4242

@@ -57,8 +57,6 @@ required:
5757
- '#clock-cells'
5858
- '#power-domain-cells'
5959

60-
additionalProperties: false
61-
6260
allOf:
6361
- if:
6462
properties:
@@ -125,6 +123,9 @@ allOf:
125123

126124
reg:
127125
maxItems: 1
126+
127+
additionalProperties: false
128+
128129
examples:
129130
- |
130131
#include <dt-bindings/clock/qcom,rpmh.h>

0 commit comments

Comments
 (0)