6 Addresses scanned: 0x18, 0x19, 0x1a, 0x2c, 0x2d, 0x2e, 0x4c, 0x4d, 0x4e
7 Datasheet: http://focus.ti.com/docs/prod/folders/print/amc6821.html
10 Tomaz Mertelj <tomaz.mertelj@guest.arnes.si>
16 This driver implements support for the Texas Instruments amc6821 chip.
17 The chip has one on-chip and one remote temperature sensor and one pwm fan
19 The pwm can be controlled either from software or automatically.
21 The driver provides the following sensor accesses in sysfs:
23 temp1_input ro on-chip temperature
31 temp2_input ro remote temperature
40 fan1_input ro tachometer speed
44 fan1_div rw Fan divisor can be either 2 or 4.
47 pwm1_enable rw regulator mode, 1=open loop, 2=fan controlled
48 by remote temperature, 3=fan controlled by
49 combination of the on-chip temperature and
50 remote-sensor temperature,
51 pwm1_auto_channels_temp ro 1 if pwm_enable==2, 3 if pwm_enable==3
52 pwm1_auto_point1_pwm ro Hardwired to 0, shared for both
54 pwm1_auto_point2_pwm rw This value is shared for both temperature
56 pwm1_auto_point3_pwm rw Hardwired to 255, shared for both
59 temp1_auto_point1_temp ro Hardwired to temp2_auto_point1_temp
60 which is rw. Below this temperature fan stops.
61 temp1_auto_point2_temp rw The low-temperature limit of the proportional
62 range. Below this temperature
63 pwm1 = pwm1_auto_point2_pwm. It can go from
64 0 degree C to 124 degree C in steps of
65 4 degree C. Read it out after writing to get
67 temp1_auto_point3_temp rw Above this temperature fan runs at maximum
68 speed. It can go from temp1_auto_point2_temp.
69 It can only have certain discrete values
70 which depend on temp1_auto_point2_temp and
71 pwm1_auto_point2_pwm. Read it out after
72 writing to get the actual value.
74 temp2_auto_point1_temp rw Must be between 0 degree C and 63 degree C and
75 it defines the passive cooling temperature.
76 Below this temperature the fan stops in
78 temp2_auto_point2_temp rw The low-temperature limit of the proportional
79 range. Below this temperature
80 pwm1 = pwm1_auto_point2_pwm. It can go from
81 0 degree C to 124 degree C in steps
84 temp2_auto_point3_temp rw Above this temperature fan runs at maximum
85 speed. It can only have certain discrete
86 values which depend on temp2_auto_point2_temp
87 and pwm1_auto_point2_pwm. Read it out after
88 writing to get actual value.
94 If your board has a BIOS that initializes the amc6821 correctly, you should
95 load the module with: init=0.
97 If your board BIOS doesn't initialize the chip, or you want
98 different settings, you can set the following parameters:
100 pwminv: 0 default pwm output, 1 inverts pwm output.