| 1 | Kernel driver `adm1025.o' |
|---|
| 2 | ========================= |
|---|
| 3 | |
|---|
| 4 | Status: Complete, known to work but not heavily tested |
|---|
| 5 | |
|---|
| 6 | Supported chips: |
|---|
| 7 | * Analog Devices ADM1025 |
|---|
| 8 | Prefix: 'adm1025' |
|---|
| 9 | Addresses scanned: I2C 0x2c - 0x2e |
|---|
| 10 | Datasheet: Publicly available at the Analog Devices website |
|---|
| 11 | * Philips NE1619 |
|---|
| 12 | Prefix: 'ne1619' |
|---|
| 13 | Addresses scanned: I2C 0x2c - 0x2d |
|---|
| 14 | Datasheet: Publicly available at the Philips website |
|---|
| 15 | |
|---|
| 16 | The NE1619 presents some differences with the original ADM1025: |
|---|
| 17 | * Only two possible addresses (0x2c - 0x2d). |
|---|
| 18 | * No temperature offset register, but we don't use it anyway. |
|---|
| 19 | * No INT mode for pin 16. We don't play with it anyway. |
|---|
| 20 | |
|---|
| 21 | Author: Chen-Yuan Wu <gwu@esoft.com> and Jean Delvare <khali@linux-fr.org> |
|---|
| 22 | |
|---|
| 23 | License: GPL |
|---|
| 24 | |
|---|
| 25 | |
|---|
| 26 | Module Parameters |
|---|
| 27 | ----------------- |
|---|
| 28 | |
|---|
| 29 | * force: short array (min = 1, max = 48) |
|---|
| 30 | List of adapter,address pairs to boldly assume to be present |
|---|
| 31 | * force_adm1025: short array (min = 1, max = 48) |
|---|
| 32 | List of adapter,address pairs which are unquestionably assumed to contain |
|---|
| 33 | a `adm1025' chip |
|---|
| 34 | * force_ne1619: short array (min = 1, max = 48) |
|---|
| 35 | List of adapter,address pairs which are unquestionably assumed to contain |
|---|
| 36 | a `ne1619' chip |
|---|
| 37 | * probe: short array (min = 1, max = 48) |
|---|
| 38 | List of adapter,address pairs to scan additionally |
|---|
| 39 | * probe_range: short array (min = 1, max = 48) |
|---|
| 40 | List of adapter,start-addr,end-addr triples to scan additionally |
|---|
| 41 | * ignore: short array (min = 1, max = 48) |
|---|
| 42 | List of adapter,address pairs not to scan |
|---|
| 43 | * ignore_range: short array (min = 1, max = 48) |
|---|
| 44 | List of adapter,start-addr,end-addr triples not to scan |
|---|
| 45 | |
|---|
| 46 | |
|---|
| 47 | Description |
|---|
| 48 | ----------- |
|---|
| 49 | |
|---|
| 50 | (This is from Analog Devices.) The ADM1025 is a complete system hardware |
|---|
| 51 | monitor for microprocessor-based systems, providing measurement and limit |
|---|
| 52 | comparison of various system parameters. Five voltage measurement inputs |
|---|
| 53 | are provided, for monitoring +2.5V, +3.3V, +5V and +12V power supplies and |
|---|
| 54 | the processor core voltage. The ADM1025 can monitor a sixth power-supply |
|---|
| 55 | voltage by measuring its own VCC. One input (two pins) is dedicated to a |
|---|
| 56 | remote temperature-sensing diode and an on-chip temperature sensor allows |
|---|
| 57 | ambient temperature to be monitored. |
|---|
| 58 | |
|---|
| 59 | One specificity of this chip is that the pin 11 can be hardwired in two |
|---|
| 60 | different manners. It can act as the +12V power-supply voltage analog |
|---|
| 61 | input, or as the a fifth digital entry for the VID reading (bit 4). It's |
|---|
| 62 | kind of strange since both are useful, and the reason for designing the |
|---|
| 63 | chip that way is obscure at least to me. The bit 5 of the configuration |
|---|
| 64 | register can be used to define how the chip is hardwired. Please note |
|---|
| 65 | that it is not a choice you have to make as the user. The choice was |
|---|
| 66 | already made by your motherboard's maker. If the configuration bit isn't |
|---|
| 67 | set properly, you'll have a wrong +12V reading or a wrong VID reading. |
|---|
| 68 | The way the driver handles that is to preserve this bit through the |
|---|
| 69 | initialization process, assuming that the BIOS set it up properly |
|---|
| 70 | beforehand. If it turns out not to be true in some cases, we'll provide |
|---|
| 71 | a module parameter to force modes. |
|---|
| 72 | |
|---|
| 73 | |
|---|
| 74 | Chip Features |
|---|
| 75 | ------------- |
|---|
| 76 | |
|---|
| 77 | Chips 'adm1025' and 'ne1619' |
|---|
| 78 | |
|---|
| 79 | LABEL LABEL CLASS COMPUTE CLASS MODE MAGN |
|---|
| 80 | in0 - - R- 2 |
|---|
| 81 | in1 - - R- 2 |
|---|
| 82 | in2 - - R- 2 |
|---|
| 83 | in3 - - R- 2 |
|---|
| 84 | in4 - - R- 2 |
|---|
| 85 | in5 - - R- 2 |
|---|
| 86 | in0_min in0 in0 RW 2 |
|---|
| 87 | in1_min in1 in1 RW 2 |
|---|
| 88 | in2_min in2 in2 RW 2 |
|---|
| 89 | in3_min in3 in3 RW 2 |
|---|
| 90 | in4_min in4 in4 RW 2 |
|---|
| 91 | in5_min in5 in5 RW 2 |
|---|
| 92 | in0_max in0 in0 RW 2 |
|---|
| 93 | in1_max in1 in1 RW 2 |
|---|
| 94 | in2_max in2 in2 RW 2 |
|---|
| 95 | in3_max in3 in3 RW 2 |
|---|
| 96 | in4_max in4 in4 RW 2 |
|---|
| 97 | in5_max in5 in5 RW 2 |
|---|
| 98 | temp1 - - R- 1 |
|---|
| 99 | temp1_low temp1 temp1 RW 1 |
|---|
| 100 | temp1_high temp1 temp1 RW 1 |
|---|
| 101 | temp2 - - R- 1 |
|---|
| 102 | temp2_low temp2 temp2 RW 1 |
|---|
| 103 | temp2_high temp2 temp2 RW 1 |
|---|
| 104 | vid - - R- 3 |
|---|
| 105 | vrm - - RW 1 |
|---|
| 106 | alarms - - R- 0 |
|---|
| 107 | |
|---|
| 108 | LABEL FEATURE SYMBOL SYSCTL FILE:N |
|---|
| 109 | in0 SENSORS_ADM1025_IN0 in0:3 |
|---|
| 110 | in1 SENSORS_ADM1025_IN1 in1:3 |
|---|
| 111 | in2 SENSORS_ADM1025_IN2 in2:3 |
|---|
| 112 | in3 SENSORS_ADM1025_IN3 in3:3 |
|---|
| 113 | in4 SENSORS_ADM1025_IN4 in4:3 |
|---|
| 114 | in5 SENSORS_ADM1025_IN5 in5:3 |
|---|
| 115 | in0_min SENSORS_ADM1025_IN0_MIN in0:1 |
|---|
| 116 | in1_min SENSORS_ADM1025_IN1_MIN in1:1 |
|---|
| 117 | in2_min SENSORS_ADM1025_IN2_MIN in2:1 |
|---|
| 118 | in3_min SENSORS_ADM1025_IN3_MIN in3:1 |
|---|
| 119 | in4_min SENSORS_ADM1025_IN4_MIN in4:1 |
|---|
| 120 | in5_min SENSORS_ADM1025_IN5_MIN in5:1 |
|---|
| 121 | in0_max SENSORS_ADM1025_IN0_MAX in0:2 |
|---|
| 122 | in1_max SENSORS_ADM1025_IN1_MAX in1:2 |
|---|
| 123 | in2_max SENSORS_ADM1025_IN2_MAX in2:2 |
|---|
| 124 | in3_max SENSORS_ADM1025_IN3_MAX in3:2 |
|---|
| 125 | in4_max SENSORS_ADM1025_IN4_MAX in4:2 |
|---|
| 126 | in5_max SENSORS_ADM1025_IN5_MAX in5:2 |
|---|
| 127 | temp1 SENSORS_ADM1025_TEMP1 temp1:3 |
|---|
| 128 | temp1_low SENSORS_ADM1025_TEMP1_LOW temp1:2 |
|---|
| 129 | temp1_high SENSORS_ADM1025_TEMP1_HIGH temp1:1 |
|---|
| 130 | temp2 SENSORS_ADM1025_TEMP2 temp2:3 |
|---|
| 131 | temp2_low SENSORS_ADM1025_TEMP2_LOW temp2:2 |
|---|
| 132 | temp2_high SENSORS_ADM1025_TEMP2_HIGH temp2:1 |
|---|
| 133 | vid SENSORS_ADM1025_VID vid:1 |
|---|
| 134 | vrm SENSORS_ADM1025_VRM vrm:1 |
|---|
| 135 | alarms SENSORS_ADM1025_ALARMS alarms:1 |
|---|