diff options
author | Joshua Scott <joshua.scott@alliedtelesis.co.nz> | 2016-08-08 01:35:45 (GMT) |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2016-09-09 04:34:16 (GMT) |
commit | aa18cc911ae2f172429d59169e95726b8e63525c (patch) | |
tree | d158a192829981a81aee9299b1895d7bf02eeb5a /Documentation/hwmon | |
parent | 30fe976fe7a8de2d29c152cdcae207231503d564 (diff) | |
download | linux-aa18cc911ae2f172429d59169e95726b8e63525c.tar.xz |
hwmon: (adt7470) Expose PWM frequency to sysfs
The ADT7470 supports a variety of PWM frequencies. This patch allows the
frequency to be configured and viewed through the sysfs entry pwm1_freq.
Signed-off-by: Joshua Scott <joshua.scott@alliedtelesis.co.nz>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/hwmon')
-rw-r--r-- | Documentation/hwmon/adt7470 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/hwmon/adt7470 b/Documentation/hwmon/adt7470 index 8ce4aa0..fe68e18 100644 --- a/Documentation/hwmon/adt7470 +++ b/Documentation/hwmon/adt7470 @@ -65,6 +65,23 @@ from 0 (off) to 255 (full speed). Fan speed will be set to maximum when the temperature sensor associated with the PWM control exceeds pwm#_auto_point2_temp. +The driver also allows control of the PWM frequency: + +* pwm1_freq + +The PWM frequency is rounded to the nearest one of: + +* 11.0 Hz +* 14.7 Hz +* 22.1 Hz +* 29.4 Hz +* 35.3 Hz +* 44.1 Hz +* 58.8 Hz +* 88.2 Hz +* 1.4 kHz +* 22.5 kHz + Notes ----- |