mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 21:33:00 +00:00
d82d57767c
The pwm-fan driver enables control of fans connected to PWM lines. This driver uses the PWM framework, so it is compatible with all PWM devices that provide drivers through the PWM framework. Signed-off-by: Kamil Debski <k.debski@samsung.com> Reviewed-by: Varka Bhadram <varkabhadram@gmail.com> Reviewed-by: Tobias Klauser <tklauser@distanz.ch> [Guenter Roeck: Last argument to devm_of_pwm_get is pointer, use NULL] Signed-off-by: Guenter Roeck <linux@roeck-us.net>
13 lines
244 B
Plaintext
13 lines
244 B
Plaintext
Bindings for a fan connected to the PWM lines
|
|
|
|
Required properties:
|
|
- compatible : "pwm-fan"
|
|
- pwms : the PWM that is used to control the PWM fan
|
|
|
|
Example:
|
|
pwm-fan {
|
|
compatible = "pwm-fan";
|
|
status = "okay";
|
|
pwms = <&pwm 0 10000 0>;
|
|
};
|