| Jordan Crouse | 1c301fc | 2009-01-15 22:27:47 +0100 | [diff] [blame] | 1 | This describes the interface for the ADT7475 driver: | 
|  | 2 |  | 
|  | 3 | (there are 4 fans, numbered fan1 to fan4): | 
|  | 4 |  | 
|  | 5 | fanX_input		Read the current speed of the fan (in RPMs) | 
|  | 6 | fanX_min		Read/write the minimum speed of the fan.  Dropping | 
|  | 7 | below this sets an alarm. | 
|  | 8 |  | 
|  | 9 | (there are three PWMs, numbered pwm1 to pwm3): | 
|  | 10 |  | 
|  | 11 | pwmX			Read/write the current duty cycle of the PWM.  Writes | 
|  | 12 | only have effect when auto mode is turned off (see | 
|  | 13 | below).  Range is 0 - 255. | 
|  | 14 |  | 
|  | 15 | pwmX_enable		Fan speed control method: | 
|  | 16 |  | 
|  | 17 | 0 - No control (fan at full speed) | 
|  | 18 | 1 - Manual fan speed control (using pwm[1-*]) | 
|  | 19 | 2 - Automatic fan speed control | 
|  | 20 |  | 
|  | 21 | pwmX_auto_channels_temp	Select which channels affect this PWM | 
|  | 22 |  | 
|  | 23 | 1 - TEMP1 controls PWM | 
|  | 24 | 2 - TEMP2 controls PWM | 
|  | 25 | 4 - TEMP3 controls PWM | 
|  | 26 | 6 - TEMP2 and TEMP3 control PWM | 
|  | 27 | 7 - All three inputs control PWM | 
|  | 28 |  | 
|  | 29 | pwmX_freq		Read/write the PWM frequency in Hz. The number | 
|  | 30 | should be one of the following: | 
|  | 31 |  | 
|  | 32 | 11 Hz | 
|  | 33 | 14 Hz | 
|  | 34 | 22 Hz | 
|  | 35 | 29 Hz | 
|  | 36 | 35 Hz | 
|  | 37 | 44 Hz | 
|  | 38 | 58 Hz | 
|  | 39 | 88 Hz | 
|  | 40 |  | 
|  | 41 | pwmX_auto_point1_pwm	Read/write the minimum PWM duty cycle in automatic mode | 
|  | 42 |  | 
|  | 43 | pwmX_auto_point2_pwm	Read/write the maximum PWM duty cycle in automatic mode | 
|  | 44 |  | 
|  | 45 | (there are three temperature settings numbered temp1 to temp3): | 
|  | 46 |  | 
|  | 47 | tempX_input		Read the current temperature.  The value is in milli | 
|  | 48 | degrees of Celsius. | 
|  | 49 |  | 
|  | 50 | tempX_max		Read/write the upper temperature limit - exceeding this | 
|  | 51 | will cause an alarm. | 
|  | 52 |  | 
|  | 53 | tempX_min		Read/write the lower temperature limit - exceeding this | 
|  | 54 | will cause an alarm. | 
|  | 55 |  | 
|  | 56 | tempX_offset		Read/write the temperature adjustment offset | 
|  | 57 |  | 
|  | 58 | tempX_crit		Read/write the THERM limit for remote1. | 
|  | 59 |  | 
|  | 60 | tempX_crit_hyst		Set the temperature value below crit where the | 
|  | 61 | fans will stay on - this helps drive the temperature | 
|  | 62 | low enough so it doesn't stay near the edge and | 
|  | 63 | cause THERM to keep tripping. | 
|  | 64 |  | 
|  | 65 | tempX_auto_point1_temp	Read/write the minimum temperature where the fans will | 
|  | 66 | turn on in automatic mode. | 
|  | 67 |  | 
|  | 68 | tempX_auto_point2_temp	Read/write the maximum temperature over which the fans | 
|  | 69 | will run in automatic mode.  tempX_auto_point1_temp | 
|  | 70 | and tempX_auto_point2_temp together define the | 
|  | 71 | range of automatic control. | 
|  | 72 |  | 
|  | 73 | tempX_alarm		Read a 1 if the max/min alarm is set | 
|  | 74 | tempX_fault		Read a 1 if either temp1 or temp3 diode has a fault | 
|  | 75 |  | 
|  | 76 | (There are two voltage settings, in1 and in2): | 
|  | 77 |  | 
|  | 78 | inX_input		Read the current voltage on VCC.  Value is in | 
|  | 79 | millivolts. | 
|  | 80 |  | 
|  | 81 | inX_min			read/write the minimum voltage limit. | 
|  | 82 | Dropping below this causes an alarm. | 
|  | 83 |  | 
|  | 84 | inX_max			read/write the maximum voltage limit. | 
|  | 85 | Exceeding this causes an alarm. | 
|  | 86 |  | 
|  | 87 | inX_alarm		Read a 1 if the max/min alarm is set. |