^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) Kernel driver adt7410
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) =====================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Supported chips:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) * Analog Devices ADT7410
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) Prefix: 'adt7410'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) Addresses scanned: None
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) Datasheet: Publicly available at the Analog Devices website
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) https://www.analog.com/static/imported-files/data_sheets/ADT7410.pdf
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) * Analog Devices ADT7420
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) Prefix: 'adt7420'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) Addresses scanned: None
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) Datasheet: Publicly available at the Analog Devices website
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) https://www.analog.com/static/imported-files/data_sheets/ADT7420.pdf
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) * Analog Devices ADT7310
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) Prefix: 'adt7310'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) Addresses scanned: None
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) Datasheet: Publicly available at the Analog Devices website
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) https://www.analog.com/static/imported-files/data_sheets/ADT7310.pdf
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) * Analog Devices ADT7320
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) Prefix: 'adt7320'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) Addresses scanned: None
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) Datasheet: Publicly available at the Analog Devices website
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) https://www.analog.com/static/imported-files/data_sheets/ADT7320.pdf
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) Author: Hartmut Knaack <knaack.h@gmx.de>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) Description
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) -----------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) The ADT7310/ADT7410 is a temperature sensor with rated temperature range of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) -55°C to +150°C. It has a high accuracy of +/-0.5°C and can be operated at a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) resolution of 13 bits (0.0625°C) or 16 bits (0.0078°C). The sensor provides an
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) INT pin to indicate that a minimum or maximum temperature set point has been
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) exceeded, as well as a critical temperature (CT) pin to indicate that the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) critical temperature set point has been exceeded. Both pins can be set up with a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) common hysteresis of 0°C - 15°C and a fault queue, ranging from 1 to 4 events.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) Both pins can individually set to be active-low or active-high, while the whole
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) device can either run in comparator mode or interrupt mode. The ADT7410 supports
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) continuous temperature sampling, as well as sampling one temperature value per
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) second or even just get one sample on demand for power saving. Besides, it can
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) completely power down its ADC, if power management is required.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) The ADT7320/ADT7420 is register compatible, the only differences being the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) package, a slightly narrower operating temperature range (-40°C to +150°C), and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) a better accuracy (0.25°C instead of 0.50°C.)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) The difference between the ADT7310/ADT7320 and ADT7410/ADT7420 is the control
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) interface, the ADT7310 and ADT7320 use SPI while the ADT7410 and ADT7420 use
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) I2C.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) Configuration Notes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) -------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) Since the device uses one hysteresis value, which is an offset to minimum,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) maximum and critical temperature, it can only be set for temp#_max_hyst.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) However, temp#_min_hyst and temp#_crit_hyst show their corresponding
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) hysteresis.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) The device is set to 16 bit resolution and comparator mode.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) sysfs-Interface
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) ---------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) ======================== ====================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) temp#_input temperature input
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) temp#_min temperature minimum setpoint
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86) temp#_max temperature maximum setpoint
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) temp#_crit critical temperature setpoint
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) temp#_min_hyst hysteresis for temperature minimum (read-only)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89) temp#_max_hyst hysteresis for temperature maximum (read/write)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90) temp#_crit_hyst hysteresis for critical temperature (read-only)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91) temp#_min_alarm temperature minimum alarm flag
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92) temp#_max_alarm temperature maximum alarm flag
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93) temp#_crit_alarm critical temperature alarm flag
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94) ======================== ====================================================