File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
Documentation/devicetree/bindings/hwmon Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,10 @@ properties:
53
53
default : 1
54
54
55
55
" #pwm-cells " :
56
- const : 4
56
+ oneOf :
57
+ - const : 3
58
+ - const : 4
59
+ deprecated : true
57
60
description : |
58
61
Number of cells in a PWM specifier.
59
62
- 0: The PWM channel
@@ -68,7 +71,7 @@ properties:
68
71
- 11363636 (88 Hz)
69
72
- 44444 (22 kHz)
70
73
- 2: PWM flags 0 or PWM_POLARITY_INVERTED
71
- - 3: The default PWM duty cycle in nanoseconds
74
+ - 3: The default PWM duty cycle in nanoseconds, defaults to period.
72
75
73
76
patternProperties :
74
77
" ^adi,bypass-attenuator-in[0-4]$ " :
@@ -124,15 +127,15 @@ examples:
124
127
adi,bypass-attenuator-in1 = <0>;
125
128
adi,pin10-function = "smbalert#";
126
129
adi,pin14-function = "tach4";
127
- #pwm-cells = <4 >;
130
+ #pwm-cells = <3 >;
128
131
129
- /* PWMs at 22.5 kHz frequency, 50% duty */
132
+ /* PWMs at 22.5 kHz frequency */
130
133
fan-0 {
131
- pwms = <&pwm 0 44444 0 22222 >;
134
+ pwms = <&pwm 0 44444 0>;
132
135
};
133
136
134
137
fan-1 {
135
- pwms = <&pwm 2 44444 0 22222 >;
138
+ pwms = <&pwm 2 44444 0>;
136
139
};
137
140
};
138
141
};
You can’t perform that action at this time.
0 commit comments