Skip to content

Commit 80bc642

Browse files
Marek Vasutgroeck
authored andcommitted
dt-bindings: hwmon: pwm-fan: Document start from stopped state properties
Delta AFC0612DB-F00 fan has to be set to at least 30% PWM duty cycle to spin up from a stopped state, and can be afterward throttled down to lower PWM duty cycle. Introduce support for operating such fans which need to start at higher PWM duty cycle first and can slow down next. Document two new DT properties, "fan-stop-to-start-percent" and "fan-stop-to-start-usec". The former describes the minimum percent of fan RPM at which it will surely spin up from stopped state. This value can be found in the fan datasheet and can be converted to PWM duty cycle easily. The "fan-stop-to-start-usec" describes the minimum time in microseconds for which the fan has to be set to stopped state start RPM for the fan to surely spin up. Signed-off-by: Marek Vasut <[email protected]> Acked-by: Conor Dooley <[email protected]> Message-ID: <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
1 parent 11d3562 commit 80bc642

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Documentation/devicetree/bindings/hwmon/pwm-fan.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,16 @@ properties:
3131
it must be self resetting edge interrupts.
3232
maxItems: 1
3333

34+
fan-stop-to-start-percent:
35+
description:
36+
Minimum fan RPM in percent to start when stopped.
37+
minimum: 0
38+
maximum: 100
39+
40+
fan-stop-to-start-us:
41+
description:
42+
Time to wait in microseconds after start when stopped.
43+
3444
pulses-per-revolution:
3545
description:
3646
Define the number of pulses per fan revolution for each tachometer

0 commit comments

Comments
 (0)