blob: 3f5a43561bf16c38995058e5319e49606ef14d10 [file] [log] [blame]
Hartmut Knaack983b97b2012-08-12 18:15:49 +02001Kernel driver adt7410
2=====================
3
4Supported chips:
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -03005
Hartmut Knaack983b97b2012-08-12 18:15:49 +02006 * Analog Devices ADT7410
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -03007
Hartmut Knaack983b97b2012-08-12 18:15:49 +02008 Prefix: 'adt7410'
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -03009
Jean Delvareab302bb2013-02-28 13:05:13 +010010 Addresses scanned: None
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030011
Hartmut Knaack983b97b2012-08-12 18:15:49 +020012 Datasheet: Publicly available at the Analog Devices website
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030013
Alexander A. Klimovad736c12020-07-19 19:55:12 +020014 https://www.analog.com/static/imported-files/data_sheets/ADT7410.pdf
Jean Delvareab302bb2013-02-28 13:05:13 +010015 * Analog Devices ADT7420
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030016
Jean Delvareab302bb2013-02-28 13:05:13 +010017 Prefix: 'adt7420'
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030018
Jean Delvareab302bb2013-02-28 13:05:13 +010019 Addresses scanned: None
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030020
Jean Delvareab302bb2013-02-28 13:05:13 +010021 Datasheet: Publicly available at the Analog Devices website
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030022
Alexander A. Klimovad736c12020-07-19 19:55:12 +020023 https://www.analog.com/static/imported-files/data_sheets/ADT7420.pdf
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030024
Lars-Peter Clausen51c2a482013-03-12 11:38:46 +010025 * Analog Devices ADT7310
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030026
Lars-Peter Clausen51c2a482013-03-12 11:38:46 +010027 Prefix: 'adt7310'
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030028
Lars-Peter Clausen51c2a482013-03-12 11:38:46 +010029 Addresses scanned: None
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030030
Lars-Peter Clausen51c2a482013-03-12 11:38:46 +010031 Datasheet: Publicly available at the Analog Devices website
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030032
Alexander A. Klimovad736c12020-07-19 19:55:12 +020033 https://www.analog.com/static/imported-files/data_sheets/ADT7310.pdf
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030034
Lars-Peter Clausen51c2a482013-03-12 11:38:46 +010035 * Analog Devices ADT7320
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030036
Lars-Peter Clausen51c2a482013-03-12 11:38:46 +010037 Prefix: 'adt7320'
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030038
Lars-Peter Clausen51c2a482013-03-12 11:38:46 +010039 Addresses scanned: None
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030040
Lars-Peter Clausen51c2a482013-03-12 11:38:46 +010041 Datasheet: Publicly available at the Analog Devices website
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030042
Alexander A. Klimovad736c12020-07-19 19:55:12 +020043 https://www.analog.com/static/imported-files/data_sheets/ADT7320.pdf
Hartmut Knaack983b97b2012-08-12 18:15:49 +020044
45Author: Hartmut Knaack <knaack.h@gmx.de>
46
47Description
48-----------
49
Lars-Peter Clausen51c2a482013-03-12 11:38:46 +010050The ADT7310/ADT7410 is a temperature sensor with rated temperature range of
51-55°C to +150°C. It has a high accuracy of +/-0.5°C and can be operated at a
52resolution of 13 bits (0.0625°C) or 16 bits (0.0078°C). The sensor provides an
53INT pin to indicate that a minimum or maximum temperature set point has been
54exceeded, as well as a critical temperature (CT) pin to indicate that the
55critical temperature set point has been exceeded. Both pins can be set up with a
56common hysteresis of 0°C - 15°C and a fault queue, ranging from 1 to 4 events.
57Both pins can individually set to be active-low or active-high, while the whole
58device can either run in comparator mode or interrupt mode. The ADT7410 supports
59continuous temperature sampling, as well as sampling one temperature value per
60second or even just get one sample on demand for power saving. Besides, it can
61completely power down its ADC, if power management is required.
Hartmut Knaack983b97b2012-08-12 18:15:49 +020062
Lars-Peter Clausen51c2a482013-03-12 11:38:46 +010063The ADT7320/ADT7420 is register compatible, the only differences being the
64package, a slightly narrower operating temperature range (-40°C to +150°C), and
65a better accuracy (0.25°C instead of 0.50°C.)
66
67The difference between the ADT7310/ADT7320 and ADT7410/ADT7420 is the control
68interface, the ADT7310 and ADT7320 use SPI while the ADT7410 and ADT7420 use
69I2C.
Jean Delvareab302bb2013-02-28 13:05:13 +010070
Hartmut Knaack983b97b2012-08-12 18:15:49 +020071Configuration Notes
72-------------------
73
74Since the device uses one hysteresis value, which is an offset to minimum,
75maximum and critical temperature, it can only be set for temp#_max_hyst.
76However, temp#_min_hyst and temp#_crit_hyst show their corresponding
77hysteresis.
78The device is set to 16 bit resolution and comparator mode.
79
80sysfs-Interface
81---------------
82
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030083======================== ====================================================
84temp#_input temperature input
85temp#_min temperature minimum setpoint
86temp#_max temperature maximum setpoint
87temp#_crit critical temperature setpoint
88temp#_min_hyst hysteresis for temperature minimum (read-only)
89temp#_max_hyst hysteresis for temperature maximum (read/write)
90temp#_crit_hyst hysteresis for critical temperature (read-only)
91temp#_min_alarm temperature minimum alarm flag
92temp#_max_alarm temperature maximum alarm flag
93temp#_crit_alarm critical temperature alarm flag
94======================== ====================================================