Hartmut Knaack | 983b97b | 2012-08-12 18:15:49 +0200 | [diff] [blame] | 1 | Kernel driver adt7410 |
| 2 | ===================== |
| 3 | |
| 4 | Supported chips: |
| 5 | * Analog Devices ADT7410 |
| 6 | Prefix: 'adt7410' |
| 7 | Addresses scanned: I2C 0x48 - 0x4B |
| 8 | Datasheet: Publicly available at the Analog Devices website |
| 9 | http://www.analog.com/static/imported-files/data_sheets/ADT7410.pdf |
| 10 | |
| 11 | Author: Hartmut Knaack <knaack.h@gmx.de> |
| 12 | |
| 13 | Description |
| 14 | ----------- |
| 15 | |
| 16 | The ADT7410 is a temperature sensor with rated temperature range of -55°C to |
| 17 | +150°C. It has a high accuracy of +/-0.5°C and can be operated at a resolution |
| 18 | of 13 bits (0.0625°C) or 16 bits (0.0078°C). The sensor provides an INT pin to |
| 19 | indicate that a minimum or maximum temperature set point has been exceeded, as |
| 20 | well as a critical temperature (CT) pin to indicate that the critical |
| 21 | temperature set point has been exceeded. Both pins can be set up with a common |
| 22 | hysteresis of 0°C - 15°C and a fault queue, ranging from 1 to 4 events. Both |
| 23 | pins can individually set to be active-low or active-high, while the whole |
| 24 | device can either run in comparator mode or interrupt mode. The ADT7410 |
| 25 | supports continous temperature sampling, as well as sampling one temperature |
| 26 | value per second or even justget one sample on demand for power saving. |
| 27 | Besides, it can completely power down its ADC, if power management is |
| 28 | required. |
| 29 | |
| 30 | Configuration Notes |
| 31 | ------------------- |
| 32 | |
| 33 | Since the device uses one hysteresis value, which is an offset to minimum, |
| 34 | maximum and critical temperature, it can only be set for temp#_max_hyst. |
| 35 | However, temp#_min_hyst and temp#_crit_hyst show their corresponding |
| 36 | hysteresis. |
| 37 | The device is set to 16 bit resolution and comparator mode. |
| 38 | |
| 39 | sysfs-Interface |
| 40 | --------------- |
| 41 | |
| 42 | temp#_input - temperature input |
| 43 | temp#_min - temperature minimum setpoint |
| 44 | temp#_max - temperature maximum setpoint |
| 45 | temp#_crit - critical temperature setpoint |
| 46 | temp#_min_hyst - hysteresis for temperature minimum (read-only) |
| 47 | temp#_max_hyst - hysteresis for temperature maximum (read/write) |
| 48 | temp#_crit_hyst - hysteresis for critical temperature (read-only) |
| 49 | temp#_min_alarm - temperature minimum alarm flag |
| 50 | temp#_max_alarm - temperature maximum alarm flag |
| 51 | temp#_crit_alarm - critical temperature alarm flag |