summaryrefslogtreecommitdiffstats
path: root/Documentation/hwmon
diff options
context:
space:
mode:
authorKamil Debski <k.debski@samsung.com>2014-07-16 17:46:42 +0200
committerGuenter Roeck <linux@roeck-us.net>2014-08-04 07:01:38 -0700
commitd82d57767c85984132cde4efaf89ad6db290cda3 (patch)
treeeb22ad9c566ea5c4818125134fa3775e4b831e8a /Documentation/hwmon
parent7a7176aa4bf49685ddbef9adbdaf7383dc62ceed (diff)
downloadop-kernel-dev-d82d57767c85984132cde4efaf89ad6db290cda3.zip
op-kernel-dev-d82d57767c85984132cde4efaf89ad6db290cda3.tar.gz
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/hwmon')
-rw-r--r--Documentation/hwmon/pwm-fan17
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/hwmon/pwm-fan b/Documentation/hwmon/pwm-fan
new file mode 100644
index 0000000..18529d2
--- /dev/null
+++ b/Documentation/hwmon/pwm-fan
@@ -0,0 +1,17 @@
+Kernel driver pwm-fan
+=====================
+
+This driver enables the use of a PWM module to drive a fan. It uses the
+generic PWM interface thus it is hardware independent. It can be used on
+many SoCs, as long as the SoC supplies a PWM line driver that exposes
+the generic PWM API.
+
+Author: Kamil Debski <k.debski@samsung.com>
+
+Description
+-----------
+
+The driver implements a simple interface for driving a fan connected to
+a PWM output. It uses the generic PWM interface, thus it can be used with
+a range of SoCs. The driver exposes the fan to the user space through
+the hwmon's sysfs interface.
OpenPOWER on IntegriCloud