diff options
author | Kamil Debski <k.debski@samsung.com> | 2014-07-16 19:46:42 +0400 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2014-08-04 18:01:38 +0400 |
commit | d82d57767c85984132cde4efaf89ad6db290cda3 (patch) | |
tree | eb22ad9c566ea5c4818125134fa3775e4b831e8a /Documentation/devicetree/bindings/hwmon | |
parent | 7a7176aa4bf49685ddbef9adbdaf7383dc62ceed (diff) | |
download | linux-d82d57767c85984132cde4efaf89ad6db290cda3.tar.xz |
hwmon: Add pwm-fan driver
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>
Diffstat (limited to 'Documentation/devicetree/bindings/hwmon')
-rw-r--r-- | Documentation/devicetree/bindings/hwmon/pwm-fan.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/hwmon/pwm-fan.txt b/Documentation/devicetree/bindings/hwmon/pwm-fan.txt new file mode 100644 index 000000000000..610757ce4492 --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/pwm-fan.txt @@ -0,0 +1,12 @@ +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>; + }; |