Back to home page

OSCL-LXR

 
 

    


0001 Kernel driver adt7410
0002 =====================
0003 
0004 Supported chips:
0005 
0006   * Analog Devices ADT7410
0007 
0008     Prefix: 'adt7410'
0009 
0010     Addresses scanned: None
0011 
0012     Datasheet: Publicly available at the Analog Devices website
0013 
0014                https://www.analog.com/static/imported-files/data_sheets/ADT7410.pdf
0015   * Analog Devices ADT7420
0016 
0017     Prefix: 'adt7420'
0018 
0019     Addresses scanned: None
0020 
0021     Datasheet: Publicly available at the Analog Devices website
0022 
0023                https://www.analog.com/static/imported-files/data_sheets/ADT7420.pdf
0024 
0025   * Analog Devices ADT7310
0026 
0027     Prefix: 'adt7310'
0028 
0029     Addresses scanned: None
0030 
0031     Datasheet: Publicly available at the Analog Devices website
0032 
0033                https://www.analog.com/static/imported-files/data_sheets/ADT7310.pdf
0034 
0035   * Analog Devices ADT7320
0036 
0037     Prefix: 'adt7320'
0038 
0039     Addresses scanned: None
0040 
0041     Datasheet: Publicly available at the Analog Devices website
0042 
0043                https://www.analog.com/static/imported-files/data_sheets/ADT7320.pdf
0044 
0045 Author: Hartmut Knaack <knaack.h@gmx.de>
0046 
0047 Description
0048 -----------
0049 
0050 The ADT7310/ADT7410 is a temperature sensor with rated temperature range of
0051 -55°C to +150°C. It has a high accuracy of +/-0.5°C and can be operated at a
0052 resolution of 13 bits (0.0625°C) or 16 bits (0.0078°C). The sensor provides an
0053 INT pin to indicate that a minimum or maximum temperature set point has been
0054 exceeded, as well as a critical temperature (CT) pin to indicate that the
0055 critical temperature set point has been exceeded. Both pins can be set up with a
0056 common hysteresis of 0°C - 15°C and a fault queue, ranging from 1 to 4 events.
0057 Both pins can individually set to be active-low or active-high, while the whole
0058 device can either run in comparator mode or interrupt mode. The ADT7410 supports
0059 continuous temperature sampling, as well as sampling one temperature value per
0060 second or even just get one sample on demand for power saving. Besides, it can
0061 completely power down its ADC, if power management is required.
0062 
0063 The ADT7320/ADT7420 is register compatible, the only differences being the
0064 package, a slightly narrower operating temperature range (-40°C to +150°C), and
0065 a better accuracy (0.25°C instead of 0.50°C.)
0066 
0067 The difference between the ADT7310/ADT7320 and ADT7410/ADT7420 is the control
0068 interface, the ADT7310 and ADT7320 use SPI while the ADT7410 and ADT7420 use
0069 I2C.
0070 
0071 Configuration Notes
0072 -------------------
0073 
0074 Since the device uses one hysteresis value, which is an offset to minimum,
0075 maximum and critical temperature, it can only be set for temp#_max_hyst.
0076 However, temp#_min_hyst and temp#_crit_hyst show their corresponding
0077 hysteresis.
0078 The device is set to 16 bit resolution and comparator mode.
0079 
0080 sysfs-Interface
0081 ---------------
0082 
0083 ======================== ====================================================
0084 temp#_input              temperature input
0085 temp#_min                temperature minimum setpoint
0086 temp#_max                temperature maximum setpoint
0087 temp#_crit               critical temperature setpoint
0088 temp#_min_hyst           hysteresis for temperature minimum (read-only)
0089 temp#_max_hyst           hysteresis for temperature maximum (read/write)
0090 temp#_crit_hyst          hysteresis for critical temperature (read-only)
0091 temp#_min_alarm          temperature minimum alarm flag
0092 temp#_max_alarm          temperature maximum alarm flag
0093 temp#_crit_alarm         critical temperature alarm flag
0094 ======================== ====================================================