summaryrefslogtreecommitdiffstats
path: root/Documentation/hwmon
diff options
context:
space:
mode:
authorJaghathiswari Rankappagounder Natarajan <jaghu@google.com>2017-04-04 20:52:41 -0400
committerGuenter Roeck <linux@roeck-us.net>2017-04-10 16:12:18 -0400
commit2d7a548a3eff382da5cd743670693b7657327714 (patch)
tree271f02605416567bd58c140cbb469e798e0dc647 /Documentation/hwmon
parentd702b353b9d3fccbeabba96ed530ffc87f303465 (diff)
drivers: hwmon: Support for ASPEED PWM/Fan tach
The ASPEED AST2400/2500 PWM controller supports 8 PWM output ports. The ASPEED AST2400/2500 Fan tach controller supports 16 tachometer inputs. The device driver matches on the device tree node. The configuration values are read from the device tree and written to the respective registers. The driver provides a sysfs entries through which the user can configure the duty-cycle value (ranging from 0 to 100 percent) and read the fan tach rpm value. Signed-off-by: Jaghathiswari Rankappagounder Natarajan <jaghu@google.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/hwmon')
-rw-r--r--Documentation/hwmon/aspeed-pwm-tacho22
1 files changed, 22 insertions, 0 deletions
diff --git a/Documentation/hwmon/aspeed-pwm-tacho b/Documentation/hwmon/aspeed-pwm-tacho
new file mode 100644
index 000000000000..7cfb34977460
--- /dev/null
+++ b/Documentation/hwmon/aspeed-pwm-tacho
@@ -0,0 +1,22 @@
1Kernel driver aspeed-pwm-tacho
2==============================
3
4Supported chips:
5 ASPEED AST2400/2500
6
7Authors:
8 <jaghu@google.com>
9
10Description:
11------------
12This driver implements support for ASPEED AST2400/2500 PWM and Fan Tacho
13controller. The PWM controller supports upto 8 PWM outputs. The Fan tacho
14controller supports up to 16 tachometer inputs.
15
16The driver provides the following sensor accesses in sysfs:
17
18fanX_input ro provide current fan rotation value in RPM as reported
19 by the fan to the device.
20
21pwmX rw get or set PWM fan control value. This is an integer
22 value between 0(off) and 255(full speed).