File tree Expand file tree Collapse file tree 1 file changed +38
-36
lines changed
Documentation/devicetree/bindings/pwm Expand file tree Collapse file tree 1 file changed +38
-36
lines changed Original file line number Diff line number Diff line change @@ -51,42 +51,44 @@ properties:
51
51
required :
52
52
- compatible
53
53
- reg
54
- - " #pwm-cells"
55
-
56
- if :
57
- properties :
58
- compatible :
59
- contains :
60
- enum :
61
- - rockchip,rk3328-pwm
62
- - rockchip,rv1108-pwm
63
-
64
- then :
65
- properties :
66
- clocks :
67
- items :
68
- - description : Used to derive the functional clock for the device.
69
- - description : Used as the APB bus clock.
70
-
71
- clock-names :
72
- items :
73
- - const : pwm
74
- - const : pclk
75
-
76
- required :
77
- - clocks
78
- - clock-names
79
-
80
- else :
81
- properties :
82
- clocks :
83
- maxItems : 1
84
- description :
85
- Used both to derive the functional clock
86
- for the device and as the bus clock.
87
-
88
- required :
89
- - clocks
54
+
55
+ allOf :
56
+ - $ref : pwm.yaml#
57
+
58
+ - if :
59
+ properties :
60
+ compatible :
61
+ contains :
62
+ enum :
63
+ - rockchip,rk3328-pwm
64
+ - rockchip,rv1108-pwm
65
+
66
+ then :
67
+ properties :
68
+ clocks :
69
+ items :
70
+ - description : Used to derive the functional clock for the device.
71
+ - description : Used as the APB bus clock.
72
+
73
+ clock-names :
74
+ items :
75
+ - const : pwm
76
+ - const : pclk
77
+
78
+ required :
79
+ - clocks
80
+ - clock-names
81
+
82
+ else :
83
+ properties :
84
+ clocks :
85
+ maxItems : 1
86
+ description :
87
+ Used both to derive the functional clock
88
+ for the device and as the bus clock.
89
+
90
+ required :
91
+ - clocks
90
92
91
93
additionalProperties : false
92
94
You can’t perform that action at this time.
0 commit comments