blob: 9817941e5f1932a014ae1e597b6749dca61fe552 [file] [log] [blame]
Hartmut Knaack983b97b2012-08-12 18:15:49 +02001Kernel driver adt7410
2=====================
3
4Supported chips:
5 * Analog Devices ADT7410
6 Prefix: 'adt7410'
Jean Delvareab302bb2013-02-28 13:05:13 +01007 Addresses scanned: None
Hartmut Knaack983b97b2012-08-12 18:15:49 +02008 Datasheet: Publicly available at the Analog Devices website
9 http://www.analog.com/static/imported-files/data_sheets/ADT7410.pdf
Jean Delvareab302bb2013-02-28 13:05:13 +010010 * Analog Devices ADT7420
11 Prefix: 'adt7420'
12 Addresses scanned: None
13 Datasheet: Publicly available at the Analog Devices website
14 http://www.analog.com/static/imported-files/data_sheets/ADT7420.pdf
Lars-Peter Clausen51c2a482013-03-12 11:38:46 +010015 * Analog Devices ADT7310
16 Prefix: 'adt7310'
17 Addresses scanned: None
18 Datasheet: Publicly available at the Analog Devices website
19 http://www.analog.com/static/imported-files/data_sheets/ADT7310.pdf
20 * Analog Devices ADT7320
21 Prefix: 'adt7320'
22 Addresses scanned: None
23 Datasheet: Publicly available at the Analog Devices website
24 http://www.analog.com/static/imported-files/data_sheets/ADT7320.pdf
Hartmut Knaack983b97b2012-08-12 18:15:49 +020025
26Author: Hartmut Knaack <knaack.h@gmx.de>
27
28Description
29-----------
30
Lars-Peter Clausen51c2a482013-03-12 11:38:46 +010031The ADT7310/ADT7410 is a temperature sensor with rated temperature range of
32-55°C to +150°C. It has a high accuracy of +/-0.5°C and can be operated at a
33resolution of 13 bits (0.0625°C) or 16 bits (0.0078°C). The sensor provides an
34INT pin to indicate that a minimum or maximum temperature set point has been
35exceeded, as well as a critical temperature (CT) pin to indicate that the
36critical temperature set point has been exceeded. Both pins can be set up with a
37common hysteresis of 0°C - 15°C and a fault queue, ranging from 1 to 4 events.
38Both pins can individually set to be active-low or active-high, while the whole
39device can either run in comparator mode or interrupt mode. The ADT7410 supports
40continuous temperature sampling, as well as sampling one temperature value per
41second or even just get one sample on demand for power saving. Besides, it can
42completely power down its ADC, if power management is required.
Hartmut Knaack983b97b2012-08-12 18:15:49 +020043
Lars-Peter Clausen51c2a482013-03-12 11:38:46 +010044The ADT7320/ADT7420 is register compatible, the only differences being the
45package, a slightly narrower operating temperature range (-40°C to +150°C), and
46a better accuracy (0.25°C instead of 0.50°C.)
47
48The difference between the ADT7310/ADT7320 and ADT7410/ADT7420 is the control
49interface, the ADT7310 and ADT7320 use SPI while the ADT7410 and ADT7420 use
50I2C.
Jean Delvareab302bb2013-02-28 13:05:13 +010051
Hartmut Knaack983b97b2012-08-12 18:15:49 +020052Configuration Notes
53-------------------
54
55Since the device uses one hysteresis value, which is an offset to minimum,
56maximum and critical temperature, it can only be set for temp#_max_hyst.
57However, temp#_min_hyst and temp#_crit_hyst show their corresponding
58hysteresis.
59The device is set to 16 bit resolution and comparator mode.
60
61sysfs-Interface
62---------------
63
64temp#_input - temperature input
65temp#_min - temperature minimum setpoint
66temp#_max - temperature maximum setpoint
67temp#_crit - critical temperature setpoint
68temp#_min_hyst - hysteresis for temperature minimum (read-only)
69temp#_max_hyst - hysteresis for temperature maximum (read/write)
70temp#_crit_hyst - hysteresis for critical temperature (read-only)
71temp#_min_alarm - temperature minimum alarm flag
72temp#_max_alarm - temperature maximum alarm flag
73temp#_crit_alarm - critical temperature alarm flag