File tree Expand file tree Collapse file tree 1 file changed +25
-2
lines changed
Documentation/devicetree/bindings/clock Expand file tree Collapse file tree 1 file changed +25
-2
lines changed Original file line number Diff line number Diff line change @@ -62,13 +62,30 @@ properties:
62
62
maxItems : 1
63
63
64
64
' #clock-cells ' :
65
- const : 1
65
+ true
66
66
67
67
clock-output-names :
68
68
minItems : 1
69
69
maxItems : 45
70
70
71
71
allOf :
72
+ - if :
73
+ properties :
74
+ compatible :
75
+ contains :
76
+ enum :
77
+ - brcm,cygnus-armpll
78
+ - brcm,nsp-armpll
79
+ then :
80
+ properties :
81
+ ' #clock-cells ' :
82
+ const : 0
83
+ else :
84
+ properties :
85
+ ' #clock-cells ' :
86
+ const : 1
87
+ required :
88
+ - clock-output-names
72
89
- if :
73
90
properties :
74
91
compatible :
@@ -359,7 +376,6 @@ required:
359
376
- reg
360
377
- clocks
361
378
- ' #clock-cells'
362
- - clock-output-names
363
379
364
380
additionalProperties : false
365
381
@@ -393,3 +409,10 @@ examples:
393
409
clocks = <&osc2>;
394
410
clock-output-names = "keypad", "adc/touch", "pwm";
395
411
};
412
+ - |
413
+ arm_clk@0 {
414
+ #clock-cells = <0>;
415
+ compatible = "brcm,nsp-armpll";
416
+ clocks = <&osc>;
417
+ reg = <0x0 0x1000>;
418
+ };
You can’t perform that action at this time.
0 commit comments