102 | | The GSC implements system voltage and temperature monitoring (similar to industry standard AD7418) at i2c slave address 0x29. For each analog to digital converter (ADC) input, the value can be read at a register offset. A single temperature sensor provides the board temperature in a 16-bit value (MSB first, LSB second) at register offset 0x00 in degrees Celcius. The voltage based ADC inputs provides a voltage (millivolt) as a 24-bit value (MSB first, LSB last). The ADC measurements are performed once per second (1Hz). |
| 102 | The GSC implements system voltage and temperature monitoring (similar to industry standard AD7418) at i2c slave address 0x29. For each analog to digital converter (ADC) input, the value can be read at a register offset. The register mapping differs depending on the version of the GSC: |
| 103 | |
| 104 | [=#hwmon_v3] |
| 105 | === GSC v3 (Newport) |
| 106 | The following 16-bit registers (MSB first, LSB second) are available: |
| 107 | |
| 108 | system monitor registers: |
| 109 | ||= Name =||= Register =||= Note =|| |
| 110 | || Board Temp =||= 0x08 =||= Deg C/10 || |
| 111 | || VBatt =||= 0x08 =||= Volts/1000 || |
| 112 | || FAN0 =||= 0x0A =||= Fan setpoint 0 ^1^ || |
| 113 | || FAN1 =||= 0x0C =||= Fan setpoint 1 ^1^ || |
| 114 | || FAN2 =||= 0x0E =||= Fan setpoint 2 ^1^ || |
| 115 | || FAN3 =||= 0x10 =||= Fan setpoint 3 ^1^ || |
| 116 | || FAN4 =||= 0x12 =||= Fan setpoint 4 ^1^ || |
| 117 | || FAN5 =||= 0x14 =||= Fan setpoint 5 ^1^ || |
| 118 | || FAN_TACH =||= 0x16 =||= FAN TACH pulses per second || |
| 119 | || ADC A0 =||= 0x80 =||= Raw ADC value ^2^ || |
| 120 | || ADC A1 =||= 0x82 =||= Raw ADC value ^2^ || |
| 121 | || ADC A2 =||= 0x84 =||= Raw ADC value ^2^ || |
| 122 | || ADC A3 =||= 0x86 =||= Raw ADC value ^2^ || |
| 123 | || ADC A4 =||= 0x88 =||= Raw ADC value ^2^ || |
| 124 | || ADC A5 =||= 0x8A =||= Raw ADC value ^2^ || |
| 125 | || ADC A6 =||= 0x8C =||= Raw ADC value ^2^ || |
| 126 | || ADC A7 =||= 0x8E =||= Raw ADC value ^2^ || |
| 127 | || ADC A8 =||= 0x90 =||= Raw ADC value ^2^ || |
| 128 | || ADC A9 =||= 0x92 =||= Raw ADC value ^2^ || |
| 129 | || ADC A10 =||= 0x94 =||= Raw ADC value ^2^ || |
| 130 | || ADC A11 =||= 0x96 =||= Raw ADC value ^2^ || |
| 131 | || ADC A12 =||= 0x98 =||= Raw ADC value ^2^ || |
| 132 | || ADC A13 =||= 0x9A =||= Raw ADC value ^2^ || |
| 133 | || ADC A14 =||= 0x9C =||= Raw ADC value ^2^ || |
| 134 | || ADC A15 =||= 0x9E =||= Raw ADC value ^2^ || |
| 135 | || ADC A30 =||= 0xA0 =||= Raw ADC value ^2^ || |
| 136 | || ADC A31 =||= 0xA2 =||= Raw ADC value ^2^ || |
| 137 | 1. See [#fan fan] below |
| 138 | 2. Consult individual board hardware manual or the Linux device-tree for a description of what voltage rail this is and what voltage divider is applied in order to scale it. The Newport Linux kernel and BDK use information from the Linux Device-tree to scale and name these ADC's |
| 139 | |
| 140 | |
| 141 | [=#hwmon_v1_v2] |
| 142 | === GSC v1/v2 (Laguna/Ventana) |
| 143 | A single temperature sensor provides the board temperature in a 16-bit value (MSB first, LSB second) at register offset 0x00 in degrees Celcius. The voltage based ADC inputs provides a voltage (millivolt) as a 24-bit value (MSB first, LSB last). The ADC measurements are performed once per second (1Hz). |