xref: /linux/Documentation/hwmon/lm90.rst (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
17ebd8b66SMauro Carvalho ChehabKernel driver lm90
27ebd8b66SMauro Carvalho Chehab==================
37ebd8b66SMauro Carvalho Chehab
47ebd8b66SMauro Carvalho ChehabSupported chips:
57ebd8b66SMauro Carvalho Chehab
6c09472fcSGuenter Roeck  * National Semiconductor LM84
7c09472fcSGuenter Roeck
8c09472fcSGuenter Roeck    Prefix: 'lm84'
9c09472fcSGuenter Roeck
10c09472fcSGuenter Roeck    Addresses scanned: I2C 0x18 - 0x1a, 0x29 - 0x2b, 0x4c - 0x4e
11c09472fcSGuenter Roeck
12c09472fcSGuenter Roeck    Datasheet: Publicly available at the National Semiconductor website
13c09472fcSGuenter Roeck
147ebd8b66SMauro Carvalho Chehab  * National Semiconductor LM90
157ebd8b66SMauro Carvalho Chehab
167ebd8b66SMauro Carvalho Chehab    Prefix: 'lm90'
177ebd8b66SMauro Carvalho Chehab
187ebd8b66SMauro Carvalho Chehab    Addresses scanned: I2C 0x4c
197ebd8b66SMauro Carvalho Chehab
207ebd8b66SMauro Carvalho Chehab    Datasheet: Publicly available at the National Semiconductor website
217ebd8b66SMauro Carvalho Chehab
227ebd8b66SMauro Carvalho Chehab	       http://www.national.com/pf/LM/LM90.html
237ebd8b66SMauro Carvalho Chehab
247ebd8b66SMauro Carvalho Chehab  * National Semiconductor LM89
257ebd8b66SMauro Carvalho Chehab
267ebd8b66SMauro Carvalho Chehab    Prefix: 'lm89' (no auto-detection)
277ebd8b66SMauro Carvalho Chehab
287ebd8b66SMauro Carvalho Chehab    Addresses scanned: I2C 0x4c and 0x4d
297ebd8b66SMauro Carvalho Chehab
307ebd8b66SMauro Carvalho Chehab    Datasheet: Publicly available at the National Semiconductor website
317ebd8b66SMauro Carvalho Chehab
327ebd8b66SMauro Carvalho Chehab	       http://www.national.com/mpf/LM/LM89.html
337ebd8b66SMauro Carvalho Chehab
347ebd8b66SMauro Carvalho Chehab  * National Semiconductor LM99
357ebd8b66SMauro Carvalho Chehab
367ebd8b66SMauro Carvalho Chehab    Prefix: 'lm99'
377ebd8b66SMauro Carvalho Chehab
387ebd8b66SMauro Carvalho Chehab    Addresses scanned: I2C 0x4c and 0x4d
397ebd8b66SMauro Carvalho Chehab
407ebd8b66SMauro Carvalho Chehab    Datasheet: Publicly available at the National Semiconductor website
417ebd8b66SMauro Carvalho Chehab
427ebd8b66SMauro Carvalho Chehab	       http://www.national.com/pf/LM/LM99.html
437ebd8b66SMauro Carvalho Chehab
447ebd8b66SMauro Carvalho Chehab  * National Semiconductor LM86
457ebd8b66SMauro Carvalho Chehab
467ebd8b66SMauro Carvalho Chehab    Prefix: 'lm86'
477ebd8b66SMauro Carvalho Chehab
487ebd8b66SMauro Carvalho Chehab    Addresses scanned: I2C 0x4c
497ebd8b66SMauro Carvalho Chehab
507ebd8b66SMauro Carvalho Chehab    Datasheet: Publicly available at the National Semiconductor website
517ebd8b66SMauro Carvalho Chehab
527ebd8b66SMauro Carvalho Chehab	       http://www.national.com/mpf/LM/LM86.html
537ebd8b66SMauro Carvalho Chehab
54f63f6cceSGuenter Roeck  * Analog Devices ADM1020
55f63f6cceSGuenter Roeck
56f63f6cceSGuenter Roeck    Prefix: 'adm1020'
57f63f6cceSGuenter Roeck
58f63f6cceSGuenter Roeck    Addresses scanned: I2C 0x4c - 0x4e
59f63f6cceSGuenter Roeck
60f63f6cceSGuenter Roeck    Datasheet: Publicly available at the Analog Devices website
61f63f6cceSGuenter Roeck
620c6bffd4SGuenter Roeck  * Analog Devices ADM1021
630c6bffd4SGuenter Roeck
640c6bffd4SGuenter Roeck    Prefix: 'adm1021'
650c6bffd4SGuenter Roeck
660c6bffd4SGuenter Roeck    Addresses scanned: I2C 0x18 - 0x1a, 0x29 - 0x2b, 0x4c - 0x4e
670c6bffd4SGuenter Roeck
680c6bffd4SGuenter Roeck    Datasheet: Publicly available at the Analog Devices website
690c6bffd4SGuenter Roeck
700c6bffd4SGuenter Roeck  * Analog Devices ADM1021A/ADM1023
710c6bffd4SGuenter Roeck
720c6bffd4SGuenter Roeck    Prefix: 'adm1023'
730c6bffd4SGuenter Roeck
740c6bffd4SGuenter Roeck    Addresses scanned: I2C 0x18 - 0x1a, 0x29 - 0x2b, 0x4c - 0x4e
750c6bffd4SGuenter Roeck
760c6bffd4SGuenter Roeck    Datasheet: Publicly available at the Analog Devices website
770c6bffd4SGuenter Roeck
787ebd8b66SMauro Carvalho Chehab  * Analog Devices ADM1032
797ebd8b66SMauro Carvalho Chehab
807ebd8b66SMauro Carvalho Chehab    Prefix: 'adm1032'
817ebd8b66SMauro Carvalho Chehab
827ebd8b66SMauro Carvalho Chehab    Addresses scanned: I2C 0x4c and 0x4d
837ebd8b66SMauro Carvalho Chehab
847ebd8b66SMauro Carvalho Chehab    Datasheet: Publicly available at the ON Semiconductor website
857ebd8b66SMauro Carvalho Chehab
866c7b66beSAlexander A. Klimov	       https://www.onsemi.com/PowerSolutions/product.do?id=ADM1032
877ebd8b66SMauro Carvalho Chehab
887ebd8b66SMauro Carvalho Chehab  * Analog Devices ADT7461
897ebd8b66SMauro Carvalho Chehab
907ebd8b66SMauro Carvalho Chehab    Prefix: 'adt7461'
917ebd8b66SMauro Carvalho Chehab
927ebd8b66SMauro Carvalho Chehab    Addresses scanned: I2C 0x4c and 0x4d
937ebd8b66SMauro Carvalho Chehab
947ebd8b66SMauro Carvalho Chehab    Datasheet: Publicly available at the ON Semiconductor website
957ebd8b66SMauro Carvalho Chehab
966c7b66beSAlexander A. Klimov	       https://www.onsemi.com/PowerSolutions/product.do?id=ADT7461
977ebd8b66SMauro Carvalho Chehab
987ebd8b66SMauro Carvalho Chehab  * Analog Devices ADT7461A
997ebd8b66SMauro Carvalho Chehab
1007ebd8b66SMauro Carvalho Chehab    Prefix: 'adt7461a'
1017ebd8b66SMauro Carvalho Chehab
1027ebd8b66SMauro Carvalho Chehab    Addresses scanned: I2C 0x4c and 0x4d
1037ebd8b66SMauro Carvalho Chehab
1047ebd8b66SMauro Carvalho Chehab    Datasheet: Publicly available at the ON Semiconductor website
1057ebd8b66SMauro Carvalho Chehab
1066c7b66beSAlexander A. Klimov	       https://www.onsemi.com/PowerSolutions/product.do?id=ADT7461A
1077ebd8b66SMauro Carvalho Chehab
108a9f3d3a8SGuenter Roeck  * Analog Devices ADT7481
109a9f3d3a8SGuenter Roeck
110a9f3d3a8SGuenter Roeck    Prefix: 'adt7481'
111a9f3d3a8SGuenter Roeck
112a9f3d3a8SGuenter Roeck    Addresses scanned: I2C 0x4b and 0x4c
113a9f3d3a8SGuenter Roeck
114a9f3d3a8SGuenter Roeck    Datasheet: Publicly available at the ON Semiconductor website
115a9f3d3a8SGuenter Roeck
116a9f3d3a8SGuenter Roeck	       https://www.onsemi.com/PowerSolutions/product.do?id=ADT7481
117a9f3d3a8SGuenter Roeck
118a9f3d3a8SGuenter Roeck  * Analog Devices ADT7482
119a9f3d3a8SGuenter Roeck
120a9f3d3a8SGuenter Roeck    Prefix: 'adt7482'
121a9f3d3a8SGuenter Roeck
122a9f3d3a8SGuenter Roeck    Addresses scanned: I2C 0x4c
123a9f3d3a8SGuenter Roeck
124a9f3d3a8SGuenter Roeck    Datasheet: Publicly available at the ON Semiconductor website
125a9f3d3a8SGuenter Roeck
126a9f3d3a8SGuenter Roeck	       https://www.onsemi.com/PowerSolutions/product.do?id=ADT7482
127a9f3d3a8SGuenter Roeck
128a9f3d3a8SGuenter Roeck  * Analog Devices ADT7483A
129a9f3d3a8SGuenter Roeck
130a9f3d3a8SGuenter Roeck    Prefix: 'adt7483a'
131a9f3d3a8SGuenter Roeck
132a9f3d3a8SGuenter Roeck    Addresses scanned: I2C 0x18, 0x19, 0x1a, 0x29, 0x2a, 0x2b, 0x4c, 0x4d, 0x4e
133a9f3d3a8SGuenter Roeck
134a9f3d3a8SGuenter Roeck    Datasheet: Publicly available at the ON Semiconductor website
135a9f3d3a8SGuenter Roeck
136a9f3d3a8SGuenter Roeck	       https://www.onsemi.com/PowerSolutions/product.do?id=ADT7483A
137a9f3d3a8SGuenter Roeck
1387ebd8b66SMauro Carvalho Chehab  * ON Semiconductor NCT1008
1397ebd8b66SMauro Carvalho Chehab
1407ebd8b66SMauro Carvalho Chehab    Prefix: 'nct1008'
1417ebd8b66SMauro Carvalho Chehab
1427ebd8b66SMauro Carvalho Chehab    Addresses scanned: I2C 0x4c and 0x4d
1437ebd8b66SMauro Carvalho Chehab
1447ebd8b66SMauro Carvalho Chehab    Datasheet: Publicly available at the ON Semiconductor website
1457ebd8b66SMauro Carvalho Chehab
1466c7b66beSAlexander A. Klimov	       https://www.onsemi.com/PowerSolutions/product.do?id=NCT1008
1477ebd8b66SMauro Carvalho Chehab
148af4540b1SGuenter Roeck  * ON Semiconductor NCT210
149af4540b1SGuenter Roeck
150af4540b1SGuenter Roeck    Prefix: 'adm1021'
151af4540b1SGuenter Roeck
152af4540b1SGuenter Roeck    Addresses scanned: I2C 0x18 - 0x1a, 0x29 - 0x2b, 0x4c - 0x4e
153af4540b1SGuenter Roeck
154af4540b1SGuenter Roeck    Datasheet: Publicly available at the ON Semiconductor website
155af4540b1SGuenter Roeck
156af4540b1SGuenter Roeck	       https://www.onsemi.com/PowerSolutions/product.do?id=NCT210
157af4540b1SGuenter Roeck
1582c6cb6c5SGuenter Roeck  * ON Semiconductor NCT214
1592c6cb6c5SGuenter Roeck
1602c6cb6c5SGuenter Roeck    Prefix: 'nct214'
1612c6cb6c5SGuenter Roeck
1622c6cb6c5SGuenter Roeck    Addresses scanned: I2C 0x18 - 0x1a, 0x29 - 0x2b, 0x4c - 0x4e
1632c6cb6c5SGuenter Roeck
1642c6cb6c5SGuenter Roeck    Datasheet: Publicly available at the ON Semiconductor website
1652c6cb6c5SGuenter Roeck
1662c6cb6c5SGuenter Roeck	       https://www.onsemi.com/PowerSolutions/product.do?id=NCT214
1672c6cb6c5SGuenter Roeck
168d8521f82SGuenter Roeck  * ON Semiconductor NCT218
169d8521f82SGuenter Roeck
170d8521f82SGuenter Roeck    Prefix: 'nct218'
171d8521f82SGuenter Roeck
172d8521f82SGuenter Roeck    Addresses scanned: I2C 0x4c - 0x4d
173d8521f82SGuenter Roeck
174d8521f82SGuenter Roeck    Datasheet: Publicly available at the ON Semiconductor website
175d8521f82SGuenter Roeck
176d8521f82SGuenter Roeck	       https://www.onsemi.com/PowerSolutions/product.do?id=NCT218
177d8521f82SGuenter Roeck
1782c6cb6c5SGuenter Roeck  * ON Semiconductor NCT72
1792c6cb6c5SGuenter Roeck
1802c6cb6c5SGuenter Roeck    Prefix: 'nct72'
1812c6cb6c5SGuenter Roeck
1822c6cb6c5SGuenter Roeck    Addresses scanned: I2C 0x4c - 0x4d
1832c6cb6c5SGuenter Roeck
1842c6cb6c5SGuenter Roeck    Datasheet: Publicly available at the ON Semiconductor website
1852c6cb6c5SGuenter Roeck
1862c6cb6c5SGuenter Roeck	       https://www.onsemi.com/PowerSolutions/product.do?id=NCT72
1872c6cb6c5SGuenter Roeck
188c09472fcSGuenter Roeck  * Maxim MAX1617
189c09472fcSGuenter Roeck
190c09472fcSGuenter Roeck    Prefix: 'max1617'
191c09472fcSGuenter Roeck
192c09472fcSGuenter Roeck    Addresses scanned: I2C 0x18 - 0x1a, 0x29 - 0x2b, 0x4c - 0x4e
193c09472fcSGuenter Roeck
194c09472fcSGuenter Roeck    Datasheet: Publicly available at the Maxim website
195c09472fcSGuenter Roeck
196c09472fcSGuenter Roeck  * Maxim MAX1617A
197c09472fcSGuenter Roeck
198c09472fcSGuenter Roeck    Prefix: 'max1617a'
199c09472fcSGuenter Roeck
200c09472fcSGuenter Roeck    Addresses scanned: I2C 0x18 - 0x1a, 0x29 - 0x2b, 0x4c - 0x4e
201c09472fcSGuenter Roeck
202c09472fcSGuenter Roeck    Datasheet: Publicly available at the Maxim website
203c09472fcSGuenter Roeck
2043c1ecccbSGuenter Roeck  * Maxim MAX6642
2053c1ecccbSGuenter Roeck
2063c1ecccbSGuenter Roeck    Prefix: 'max6642'
2073c1ecccbSGuenter Roeck
2083c1ecccbSGuenter Roeck    Addresses scanned: I2C 0x48-0x4f
2093c1ecccbSGuenter Roeck
2103c1ecccbSGuenter Roeck    Datasheet: Publicly available at the Maxim website
2113c1ecccbSGuenter Roeck
2123c1ecccbSGuenter Roeck	       http://datasheets.maxim-ic.com/en/ds/MAX6642.pdf
2133c1ecccbSGuenter Roeck
2147ebd8b66SMauro Carvalho Chehab  * Maxim MAX6646
2157ebd8b66SMauro Carvalho Chehab
2167ebd8b66SMauro Carvalho Chehab    Prefix: 'max6646'
2177ebd8b66SMauro Carvalho Chehab
2187ebd8b66SMauro Carvalho Chehab    Addresses scanned: I2C 0x4d
2197ebd8b66SMauro Carvalho Chehab
2207ebd8b66SMauro Carvalho Chehab    Datasheet: Publicly available at the Maxim website
2217ebd8b66SMauro Carvalho Chehab
2227ebd8b66SMauro Carvalho Chehab	       http://www.maxim-ic.com/quick_view2.cfm/qv_pk/3497
2237ebd8b66SMauro Carvalho Chehab
2247ebd8b66SMauro Carvalho Chehab  * Maxim MAX6647
2257ebd8b66SMauro Carvalho Chehab
2267ebd8b66SMauro Carvalho Chehab    Prefix: 'max6646'
2277ebd8b66SMauro Carvalho Chehab
2287ebd8b66SMauro Carvalho Chehab    Addresses scanned: I2C 0x4e
2297ebd8b66SMauro Carvalho Chehab
2307ebd8b66SMauro Carvalho Chehab    Datasheet: Publicly available at the Maxim website
2317ebd8b66SMauro Carvalho Chehab
2327ebd8b66SMauro Carvalho Chehab	       http://www.maxim-ic.com/quick_view2.cfm/qv_pk/3497
2337ebd8b66SMauro Carvalho Chehab
2347ebd8b66SMauro Carvalho Chehab  * Maxim MAX6648
2357ebd8b66SMauro Carvalho Chehab
236904a6fe6SGuenter Roeck    Prefix: 'max6648'
2377ebd8b66SMauro Carvalho Chehab
2387ebd8b66SMauro Carvalho Chehab    Addresses scanned: I2C 0x4c
2397ebd8b66SMauro Carvalho Chehab
2407ebd8b66SMauro Carvalho Chehab    Datasheet: Publicly available at the Maxim website
2417ebd8b66SMauro Carvalho Chehab
2427ebd8b66SMauro Carvalho Chehab	       http://www.maxim-ic.com/quick_view2.cfm/qv_pk/3500
2437ebd8b66SMauro Carvalho Chehab
2447ebd8b66SMauro Carvalho Chehab  * Maxim MAX6649
2457ebd8b66SMauro Carvalho Chehab
2467ebd8b66SMauro Carvalho Chehab    Prefix: 'max6646'
2477ebd8b66SMauro Carvalho Chehab
2487ebd8b66SMauro Carvalho Chehab    Addresses scanned: I2C 0x4c
2497ebd8b66SMauro Carvalho Chehab
2507ebd8b66SMauro Carvalho Chehab    Datasheet: Publicly available at the Maxim website
2517ebd8b66SMauro Carvalho Chehab
2527ebd8b66SMauro Carvalho Chehab	       http://www.maxim-ic.com/quick_view2.cfm/qv_pk/3497
2537ebd8b66SMauro Carvalho Chehab
254229d495dSJosh Lehan  * Maxim MAX6654
255229d495dSJosh Lehan
256229d495dSJosh Lehan    Prefix: 'max6654'
257229d495dSJosh Lehan
258229d495dSJosh Lehan    Addresses scanned: I2C 0x18, 0x19, 0x1a, 0x29, 0x2a, 0x2b,
259229d495dSJosh Lehan
260229d495dSJosh Lehan			   0x4c, 0x4d and 0x4e
261229d495dSJosh Lehan
262229d495dSJosh Lehan    Datasheet: Publicly available at the Maxim website
263229d495dSJosh Lehan
264229d495dSJosh Lehan	       https://www.maximintegrated.com/en/products/sensors/MAX6654.html
265229d495dSJosh Lehan
2667ebd8b66SMauro Carvalho Chehab  * Maxim MAX6657
2677ebd8b66SMauro Carvalho Chehab
2687ebd8b66SMauro Carvalho Chehab    Prefix: 'max6657'
2697ebd8b66SMauro Carvalho Chehab
2707ebd8b66SMauro Carvalho Chehab    Addresses scanned: I2C 0x4c
2717ebd8b66SMauro Carvalho Chehab
2727ebd8b66SMauro Carvalho Chehab    Datasheet: Publicly available at the Maxim website
2737ebd8b66SMauro Carvalho Chehab
2747ebd8b66SMauro Carvalho Chehab	       http://www.maxim-ic.com/quick_view2.cfm/qv_pk/2578
2757ebd8b66SMauro Carvalho Chehab
2767ebd8b66SMauro Carvalho Chehab  * Maxim MAX6658
2777ebd8b66SMauro Carvalho Chehab
2787ebd8b66SMauro Carvalho Chehab    Prefix: 'max6657'
2797ebd8b66SMauro Carvalho Chehab
2807ebd8b66SMauro Carvalho Chehab    Addresses scanned: I2C 0x4c
2817ebd8b66SMauro Carvalho Chehab
2827ebd8b66SMauro Carvalho Chehab    Datasheet: Publicly available at the Maxim website
2837ebd8b66SMauro Carvalho Chehab
2847ebd8b66SMauro Carvalho Chehab	       http://www.maxim-ic.com/quick_view2.cfm/qv_pk/2578
2857ebd8b66SMauro Carvalho Chehab
2867ebd8b66SMauro Carvalho Chehab  * Maxim MAX6659
2877ebd8b66SMauro Carvalho Chehab
2887ebd8b66SMauro Carvalho Chehab    Prefix: 'max6659'
2897ebd8b66SMauro Carvalho Chehab
2907ebd8b66SMauro Carvalho Chehab    Addresses scanned: I2C 0x4c, 0x4d, 0x4e
2917ebd8b66SMauro Carvalho Chehab
2927ebd8b66SMauro Carvalho Chehab    Datasheet: Publicly available at the Maxim website
2937ebd8b66SMauro Carvalho Chehab
2947ebd8b66SMauro Carvalho Chehab	       http://www.maxim-ic.com/quick_view2.cfm/qv_pk/2578
2957ebd8b66SMauro Carvalho Chehab
2967ebd8b66SMauro Carvalho Chehab  * Maxim MAX6680
2977ebd8b66SMauro Carvalho Chehab
2987ebd8b66SMauro Carvalho Chehab    Prefix: 'max6680'
2997ebd8b66SMauro Carvalho Chehab
3007ebd8b66SMauro Carvalho Chehab    Addresses scanned: I2C 0x18, 0x19, 0x1a, 0x29, 0x2a, 0x2b,
3017ebd8b66SMauro Carvalho Chehab
3027ebd8b66SMauro Carvalho Chehab			   0x4c, 0x4d and 0x4e
3037ebd8b66SMauro Carvalho Chehab
3047ebd8b66SMauro Carvalho Chehab    Datasheet: Publicly available at the Maxim website
3057ebd8b66SMauro Carvalho Chehab
3067ebd8b66SMauro Carvalho Chehab	       http://www.maxim-ic.com/quick_view2.cfm/qv_pk/3370
3077ebd8b66SMauro Carvalho Chehab
3087ebd8b66SMauro Carvalho Chehab  * Maxim MAX6681
3097ebd8b66SMauro Carvalho Chehab
3107ebd8b66SMauro Carvalho Chehab    Prefix: 'max6680'
3117ebd8b66SMauro Carvalho Chehab
3127ebd8b66SMauro Carvalho Chehab    Addresses scanned: I2C 0x18, 0x19, 0x1a, 0x29, 0x2a, 0x2b,
3137ebd8b66SMauro Carvalho Chehab
3147ebd8b66SMauro Carvalho Chehab			   0x4c, 0x4d and 0x4e
3157ebd8b66SMauro Carvalho Chehab
3167ebd8b66SMauro Carvalho Chehab    Datasheet: Publicly available at the Maxim website
3177ebd8b66SMauro Carvalho Chehab
3187ebd8b66SMauro Carvalho Chehab	       http://www.maxim-ic.com/quick_view2.cfm/qv_pk/3370
3197ebd8b66SMauro Carvalho Chehab
3207ebd8b66SMauro Carvalho Chehab  * Maxim MAX6692
3217ebd8b66SMauro Carvalho Chehab
322904a6fe6SGuenter Roeck    Prefix: 'max6648'
3237ebd8b66SMauro Carvalho Chehab
3247ebd8b66SMauro Carvalho Chehab    Addresses scanned: I2C 0x4c
3257ebd8b66SMauro Carvalho Chehab
3267ebd8b66SMauro Carvalho Chehab    Datasheet: Publicly available at the Maxim website
3277ebd8b66SMauro Carvalho Chehab
3287ebd8b66SMauro Carvalho Chehab	       http://www.maxim-ic.com/quick_view2.cfm/qv_pk/3500
3297ebd8b66SMauro Carvalho Chehab
3307ebd8b66SMauro Carvalho Chehab  * Maxim MAX6695
3317ebd8b66SMauro Carvalho Chehab
3327ebd8b66SMauro Carvalho Chehab    Prefix: 'max6695'
3337ebd8b66SMauro Carvalho Chehab
3347ebd8b66SMauro Carvalho Chehab    Addresses scanned: I2C 0x18
3357ebd8b66SMauro Carvalho Chehab
3367ebd8b66SMauro Carvalho Chehab    Datasheet: Publicly available at the Maxim website
3377ebd8b66SMauro Carvalho Chehab
3387ebd8b66SMauro Carvalho Chehab	       http://www.maxim-ic.com/datasheet/index.mvp/id/4199
3397ebd8b66SMauro Carvalho Chehab
3407ebd8b66SMauro Carvalho Chehab  * Maxim MAX6696
3417ebd8b66SMauro Carvalho Chehab
3427ebd8b66SMauro Carvalho Chehab    Prefix: 'max6695'
3437ebd8b66SMauro Carvalho Chehab
3447ebd8b66SMauro Carvalho Chehab    Addresses scanned: I2C 0x18, 0x19, 0x1a, 0x29, 0x2a, 0x2b,
3457ebd8b66SMauro Carvalho Chehab
3467ebd8b66SMauro Carvalho Chehab			   0x4c, 0x4d and 0x4e
3477ebd8b66SMauro Carvalho Chehab
3487ebd8b66SMauro Carvalho Chehab    Datasheet: Publicly available at the Maxim website
3497ebd8b66SMauro Carvalho Chehab
3507ebd8b66SMauro Carvalho Chehab	       http://www.maxim-ic.com/datasheet/index.mvp/id/4199
3517ebd8b66SMauro Carvalho Chehab
3527ebd8b66SMauro Carvalho Chehab  * Winbond/Nuvoton W83L771W/G
3537ebd8b66SMauro Carvalho Chehab
3547ebd8b66SMauro Carvalho Chehab    Prefix: 'w83l771'
3557ebd8b66SMauro Carvalho Chehab
3567ebd8b66SMauro Carvalho Chehab    Addresses scanned: I2C 0x4c
3577ebd8b66SMauro Carvalho Chehab
3587ebd8b66SMauro Carvalho Chehab    Datasheet: No longer available
3597ebd8b66SMauro Carvalho Chehab
3607ebd8b66SMauro Carvalho Chehab  * Winbond/Nuvoton W83L771AWG/ASG
3617ebd8b66SMauro Carvalho Chehab
3627ebd8b66SMauro Carvalho Chehab    Prefix: 'w83l771'
3637ebd8b66SMauro Carvalho Chehab
3647ebd8b66SMauro Carvalho Chehab    Addresses scanned: I2C 0x4c
3657ebd8b66SMauro Carvalho Chehab
3667ebd8b66SMauro Carvalho Chehab    Datasheet: Not publicly available, can be requested from Nuvoton
3677ebd8b66SMauro Carvalho Chehab
3687ebd8b66SMauro Carvalho Chehab  * Philips/NXP SA56004X
3697ebd8b66SMauro Carvalho Chehab
3707ebd8b66SMauro Carvalho Chehab    Prefix: 'sa56004'
3717ebd8b66SMauro Carvalho Chehab
3727ebd8b66SMauro Carvalho Chehab    Addresses scanned: I2C 0x48 through 0x4F
3737ebd8b66SMauro Carvalho Chehab
3747ebd8b66SMauro Carvalho Chehab    Datasheet: Publicly available at NXP website
3757ebd8b66SMauro Carvalho Chehab
3767ebd8b66SMauro Carvalho Chehab	       http://ics.nxp.com/products/interface/datasheet/sa56004x.pdf
3777ebd8b66SMauro Carvalho Chehab
3787ebd8b66SMauro Carvalho Chehab  * GMT G781
3797ebd8b66SMauro Carvalho Chehab
3807ebd8b66SMauro Carvalho Chehab    Prefix: 'g781'
3817ebd8b66SMauro Carvalho Chehab
3827ebd8b66SMauro Carvalho Chehab    Addresses scanned: I2C 0x4c, 0x4d
3837ebd8b66SMauro Carvalho Chehab
3847ebd8b66SMauro Carvalho Chehab    Datasheet: Not publicly available from GMT
3857ebd8b66SMauro Carvalho Chehab
3867ebd8b66SMauro Carvalho Chehab  * Texas Instruments TMP451
3877ebd8b66SMauro Carvalho Chehab
3887ebd8b66SMauro Carvalho Chehab    Prefix: 'tmp451'
3897ebd8b66SMauro Carvalho Chehab
3907ebd8b66SMauro Carvalho Chehab    Addresses scanned: I2C 0x4c
3917ebd8b66SMauro Carvalho Chehab
3927ebd8b66SMauro Carvalho Chehab    Datasheet: Publicly available at TI website
3937ebd8b66SMauro Carvalho Chehab
3946c7b66beSAlexander A. Klimov	       https://www.ti.com/litv/pdf/sbos686
3957ebd8b66SMauro Carvalho Chehab
396f8344f76SGuenter Roeck  * Texas Instruments TMP461
397f8344f76SGuenter Roeck
398f8344f76SGuenter Roeck    Prefix: 'tmp461'
399f8344f76SGuenter Roeck
400f8344f76SGuenter Roeck    Addresses scanned: I2C 0x48 through 0x4F
401f8344f76SGuenter Roeck
402f8344f76SGuenter Roeck    Datasheet: Publicly available at TI website
403f8344f76SGuenter Roeck
404f8344f76SGuenter Roeck	       https://www.ti.com/lit/gpn/tmp461
405f8344f76SGuenter Roeck
40637d1dc8dSGuenter Roeck  * Philips NE1617, NE1617A
40737d1dc8dSGuenter Roeck
40837d1dc8dSGuenter Roeck    Prefix: 'max1617' (probably detected as a max1617)
40937d1dc8dSGuenter Roeck
41037d1dc8dSGuenter Roeck    Addresses scanned: I2C 0x18 - 0x1a, 0x29 - 0x2b, 0x4c - 0x4e
41137d1dc8dSGuenter Roeck
41237d1dc8dSGuenter Roeck    Datasheets: Publicly available at the Philips website
41337d1dc8dSGuenter Roeck
414*9a198663SGuenter Roeck  * Philips NE1618
415*9a198663SGuenter Roeck
416*9a198663SGuenter Roeck    Prefix: 'ne1618'
417*9a198663SGuenter Roeck
418*9a198663SGuenter Roeck    Addresses scanned: I2C 0x18 - 0x1a, 0x29 - 0x2b, 0x4c - 0x4e
419*9a198663SGuenter Roeck
420*9a198663SGuenter Roeck    Datasheets: Publicly available at the Philips website
421*9a198663SGuenter Roeck
42237d1dc8dSGuenter Roeck  * Genesys Logic GL523SM
42337d1dc8dSGuenter Roeck
42437d1dc8dSGuenter Roeck    Prefix: 'gl523sm'
42537d1dc8dSGuenter Roeck
42637d1dc8dSGuenter Roeck    Addresses scanned: I2C 0x18 - 0x1a, 0x29 - 0x2b, 0x4c - 0x4e
42737d1dc8dSGuenter Roeck
42837d1dc8dSGuenter Roeck    Datasheet:
42937d1dc8dSGuenter Roeck
43037d1dc8dSGuenter Roeck  * TI THMC10
43137d1dc8dSGuenter Roeck
43237d1dc8dSGuenter Roeck    Prefix: 'thmc10'
43337d1dc8dSGuenter Roeck
43437d1dc8dSGuenter Roeck    Addresses scanned: I2C 0x18 - 0x1a, 0x29 - 0x2b, 0x4c - 0x4e
43537d1dc8dSGuenter Roeck
43637d1dc8dSGuenter Roeck    Datasheet: Publicly available at the TI website
43737d1dc8dSGuenter Roeck
43837d1dc8dSGuenter Roeck  * Onsemi MC1066
43937d1dc8dSGuenter Roeck
44037d1dc8dSGuenter Roeck    Prefix: 'mc1066'
44137d1dc8dSGuenter Roeck
44237d1dc8dSGuenter Roeck    Addresses scanned: I2C 0x18 - 0x1a, 0x29 - 0x2b, 0x4c - 0x4e
44337d1dc8dSGuenter Roeck
44437d1dc8dSGuenter Roeck    Datasheet: Publicly available at the Onsemi website
44537d1dc8dSGuenter Roeck
4467ebd8b66SMauro Carvalho ChehabAuthor: Jean Delvare <jdelvare@suse.de>
4477ebd8b66SMauro Carvalho Chehab
4487ebd8b66SMauro Carvalho Chehab
4497ebd8b66SMauro Carvalho ChehabDescription
4507ebd8b66SMauro Carvalho Chehab-----------
4517ebd8b66SMauro Carvalho Chehab
4527ebd8b66SMauro Carvalho ChehabThe LM90 is a digital temperature sensor. It senses its own temperature as
4537ebd8b66SMauro Carvalho Chehabwell as the temperature of up to one external diode. It is compatible
4547ebd8b66SMauro Carvalho Chehabwith many other devices, many of which are supported by this driver.
4557ebd8b66SMauro Carvalho Chehab
456c09472fcSGuenter RoeckThe family of chips supported by this driver is derived from MAX1617.
457c09472fcSGuenter RoeckThis chip as well as various compatible chips support a local and a remote
458c09472fcSGuenter Roecktemperature sensor with 8 bit accuracy. Later chips provide improved accuracy
459c09472fcSGuenter Roeckand other additional features such as hysteresis and temperature offset
460c09472fcSGuenter Roeckregisters.
461c09472fcSGuenter Roeck
4627ebd8b66SMauro Carvalho ChehabNote that there is no easy way to differentiate between the MAX6657,
4637ebd8b66SMauro Carvalho ChehabMAX6658 and MAX6659 variants. The extra features of the MAX6659 are only
4647ebd8b66SMauro Carvalho Chehabsupported by this driver if the chip is located at address 0x4d or 0x4e,
4657ebd8b66SMauro Carvalho Chehabor if the chip type is explicitly selected as max6659.
4667ebd8b66SMauro Carvalho ChehabThe MAX6680 and MAX6681 only differ in their pinout, therefore they obviously
4677ebd8b66SMauro Carvalho Chehabcan't (and don't need to) be distinguished.
4687ebd8b66SMauro Carvalho Chehab
4697ebd8b66SMauro Carvalho ChehabThe different chipsets of the family are not strictly identical, although
4707ebd8b66SMauro Carvalho Chehabvery similar. For reference, here comes a non-exhaustive list of specific
4717ebd8b66SMauro Carvalho Chehabfeatures:
4727ebd8b66SMauro Carvalho Chehab
473c09472fcSGuenter RoeckLM84:
474c09472fcSGuenter Roeck  * 8 bit sensor resolution
475c09472fcSGuenter Roeck
476f63f6cceSGuenter RoeckADM1020, ADM1021, GL523SM, MAX1617, NE1617, NE1617A, THMC10:
477c09472fcSGuenter Roeck  * 8 bit sensor resolution
478c09472fcSGuenter Roeck  * Low temperature limits
479c09472fcSGuenter Roeck
480*9a198663SGuenter RoeckNCT210, NE1618:
481af4540b1SGuenter Roeck  * 11 bit sensor resolution for remote temperature sensor
482af4540b1SGuenter Roeck  * Low temperature limits
483af4540b1SGuenter Roeck
4840c6bffd4SGuenter RoeckADM1021A, ADM1023:
4850c6bffd4SGuenter Roeck  * Temperature offset register for remote temperature sensor
4860c6bffd4SGuenter Roeck  * 11 bit resolution for remote temperature sensor
4870c6bffd4SGuenter Roeck  * Low temperature limits
4880c6bffd4SGuenter Roeck
4897ebd8b66SMauro Carvalho ChehabLM90:
490c09472fcSGuenter Roeck  * 11 bit resolution for remote temperature sensor
491c09472fcSGuenter Roeck  * Temperature offset register for remote temperature sensor
492c09472fcSGuenter Roeck  * Low and critical temperature limits
493c09472fcSGuenter Roeck  * Configurable conversion rate
4947ebd8b66SMauro Carvalho Chehab  * Filter and alert configuration register at 0xBF.
4957ebd8b66SMauro Carvalho Chehab  * ALERT is triggered by temperatures over critical limits.
4967ebd8b66SMauro Carvalho Chehab
4977ebd8b66SMauro Carvalho ChehabLM86 and LM89:
4987ebd8b66SMauro Carvalho Chehab  * Same as LM90
4997ebd8b66SMauro Carvalho Chehab  * Better external channel accuracy
5007ebd8b66SMauro Carvalho Chehab
5017ebd8b66SMauro Carvalho ChehabLM99:
5027ebd8b66SMauro Carvalho Chehab  * Same as LM89
5037ebd8b66SMauro Carvalho Chehab  * External temperature shifted by 16 degrees down
5047ebd8b66SMauro Carvalho Chehab
5057ebd8b66SMauro Carvalho ChehabADM1032:
5067ebd8b66SMauro Carvalho Chehab  * Consecutive alert register at 0x22.
5077ebd8b66SMauro Carvalho Chehab  * Conversion averaging.
5087ebd8b66SMauro Carvalho Chehab  * Up to 64 conversions/s.
5097ebd8b66SMauro Carvalho Chehab  * ALERT is triggered by open remote sensor.
5107ebd8b66SMauro Carvalho Chehab  * SMBus PEC support for Write Byte and Receive Byte transactions.
5117ebd8b66SMauro Carvalho Chehab
5127ebd8b66SMauro Carvalho ChehabADT7461, ADT7461A, NCT1008:
5137ebd8b66SMauro Carvalho Chehab  * Extended temperature range (breaks compatibility)
5147ebd8b66SMauro Carvalho Chehab  * Lower resolution for remote temperature
515425f5b5dSGuenter Roeck  * SMBus PEC support for Write Byte and Receive Byte transactions.
516a9f3d3a8SGuenter Roeck  * 10 bit temperature resolution
517a9f3d3a8SGuenter Roeck
518a9f3d3a8SGuenter RoeckADT7481, ADT7482, ADT7483:
519a9f3d3a8SGuenter Roeck  * Temperature offset register
520a9f3d3a8SGuenter Roeck  * SMBus PEC support
521a9f3d3a8SGuenter Roeck  * 10 bit temperature resolution for external sensors
522a9f3d3a8SGuenter Roeck  * Two remote sensors
523a9f3d3a8SGuenter Roeck  * Selectable address (ADT7483)
5247ebd8b66SMauro Carvalho Chehab
5253c1ecccbSGuenter RoeckMAX6642:
5263c1ecccbSGuenter Roeck  * No critical limit register
5273c1ecccbSGuenter Roeck  * Conversion rate not configurable
5283c1ecccbSGuenter Roeck  * Better local resolution (10 bit)
5293c1ecccbSGuenter Roeck  * 10 bit external sensor resolution
5303c1ecccbSGuenter Roeck
531904a6fe6SGuenter RoeckMAX6646, MAX6647, MAX6649:
532904a6fe6SGuenter Roeck  * Better local resolution
533904a6fe6SGuenter Roeck  * Extended range unsigned external temperature
534904a6fe6SGuenter Roeck
535904a6fe6SGuenter RoeckMAX6648, MAX6692:
536904a6fe6SGuenter Roeck  * Better local resolution
537904a6fe6SGuenter Roeck  * Unsigned temperature
538904a6fe6SGuenter Roeck
539399a8a00SGuenter RoeckMAX6654, MAX6690:
540229d495dSJosh Lehan  * Better local resolution
541229d495dSJosh Lehan  * Selectable address
542229d495dSJosh Lehan  * Remote sensor type selection
543229d495dSJosh Lehan  * Extended temperature range
544229d495dSJosh Lehan  * Extended resolution only available when conversion rate <= 1 Hz
545229d495dSJosh Lehan
5467ebd8b66SMauro Carvalho ChehabMAX6657 and MAX6658:
5477ebd8b66SMauro Carvalho Chehab  * Better local resolution
5487ebd8b66SMauro Carvalho Chehab  * Remote sensor type selection
5497ebd8b66SMauro Carvalho Chehab
5507ebd8b66SMauro Carvalho ChehabMAX6659:
5517ebd8b66SMauro Carvalho Chehab  * Better local resolution
5527ebd8b66SMauro Carvalho Chehab  * Selectable address
5537ebd8b66SMauro Carvalho Chehab  * Second critical temperature limit
5547ebd8b66SMauro Carvalho Chehab  * Remote sensor type selection
5557ebd8b66SMauro Carvalho Chehab
5567ebd8b66SMauro Carvalho ChehabMAX6680 and MAX6681:
5577ebd8b66SMauro Carvalho Chehab  * Selectable address
5587ebd8b66SMauro Carvalho Chehab  * Remote sensor type selection
5597ebd8b66SMauro Carvalho Chehab
5607ebd8b66SMauro Carvalho ChehabMAX6695 and MAX6696:
5617ebd8b66SMauro Carvalho Chehab  * Better local resolution
5627ebd8b66SMauro Carvalho Chehab  * Selectable address (max6696)
5637ebd8b66SMauro Carvalho Chehab  * Second critical temperature limit
5647ebd8b66SMauro Carvalho Chehab  * Two remote sensors
5657ebd8b66SMauro Carvalho Chehab
5667ebd8b66SMauro Carvalho ChehabW83L771W/G
5677ebd8b66SMauro Carvalho Chehab  * The G variant is lead-free, otherwise similar to the W.
5687ebd8b66SMauro Carvalho Chehab  * Filter and alert configuration register at 0xBF
5697ebd8b66SMauro Carvalho Chehab  * Moving average (depending on conversion rate)
5707ebd8b66SMauro Carvalho Chehab
5717ebd8b66SMauro Carvalho ChehabW83L771AWG/ASG
5727ebd8b66SMauro Carvalho Chehab  * Successor of the W83L771W/G, same features.
5737ebd8b66SMauro Carvalho Chehab  * The AWG and ASG variants only differ in package format.
5747ebd8b66SMauro Carvalho Chehab  * Diode ideality factor configuration (remote sensor) at 0xE3
5757ebd8b66SMauro Carvalho Chehab
5767ebd8b66SMauro Carvalho ChehabSA56004X:
5777ebd8b66SMauro Carvalho Chehab  * Better local resolution
5787ebd8b66SMauro Carvalho Chehab
5797ebd8b66SMauro Carvalho ChehabAll temperature values are given in degrees Celsius. Resolution
5807ebd8b66SMauro Carvalho Chehabis 1.0 degree for the local temperature, 0.125 degree for the remote
581229d495dSJosh Lehantemperature, except for the MAX6654, MAX6657, MAX6658 and MAX6659 which have
582229d495dSJosh Lehana resolution of 0.125 degree for both temperatures.
5837ebd8b66SMauro Carvalho Chehab
5847ebd8b66SMauro Carvalho ChehabEach sensor has its own high and low limits, plus a critical limit.
5857ebd8b66SMauro Carvalho ChehabAdditionally, there is a relative hysteresis value common to both critical
5867ebd8b66SMauro Carvalho Chehabvalues. To make life easier to user-space applications, two absolute values
5877ebd8b66SMauro Carvalho Chehabare exported, one for each channel, but these values are of course linked.
5887ebd8b66SMauro Carvalho ChehabOnly the local hysteresis can be set from user-space, and the same delta
5897ebd8b66SMauro Carvalho Chehabapplies to the remote hysteresis.
5907ebd8b66SMauro Carvalho Chehab
5917ebd8b66SMauro Carvalho ChehabThe lm90 driver will not update its values more frequently than configured with
5927ebd8b66SMauro Carvalho Chehabthe update_interval attribute; reading them more often will do no harm, but will
5937ebd8b66SMauro Carvalho Chehabreturn 'old' values.
5947ebd8b66SMauro Carvalho Chehab
5957ebd8b66SMauro Carvalho ChehabSMBus Alert Support
5967ebd8b66SMauro Carvalho Chehab-------------------
5977ebd8b66SMauro Carvalho Chehab
5987ebd8b66SMauro Carvalho ChehabThis driver has basic support for SMBus alert. When an alert is received,
5997ebd8b66SMauro Carvalho Chehabthe status register is read and the faulty temperature channel is logged.
6007ebd8b66SMauro Carvalho Chehab
6017ebd8b66SMauro Carvalho ChehabThe Analog Devices chips (ADM1032, ADT7461 and ADT7461A) and ON
6027ebd8b66SMauro Carvalho ChehabSemiconductor chips (NCT1008) do not implement the SMBus alert protocol
6037ebd8b66SMauro Carvalho Chehabproperly so additional care is needed: the ALERT output is disabled when
6047ebd8b66SMauro Carvalho Chehaban alert is received, and is re-enabled only when the alarm is gone.
6057ebd8b66SMauro Carvalho ChehabOtherwise the chip would block alerts from other chips in the bus as long
6067ebd8b66SMauro Carvalho Chehabas the alarm is active.
6077ebd8b66SMauro Carvalho Chehab
6087ebd8b66SMauro Carvalho ChehabPEC Support
6097ebd8b66SMauro Carvalho Chehab-----------
6107ebd8b66SMauro Carvalho Chehab
6117ebd8b66SMauro Carvalho ChehabThe ADM1032 is the only chip of the family which supports PEC. It does
6127ebd8b66SMauro Carvalho Chehabnot support PEC on all transactions though, so some care must be taken.
6137ebd8b66SMauro Carvalho Chehab
6147ebd8b66SMauro Carvalho ChehabWhen reading a register value, the PEC byte is computed and sent by the
6157ebd8b66SMauro Carvalho ChehabADM1032 chip. However, in the case of a combined transaction (SMBus Read
6167ebd8b66SMauro Carvalho ChehabByte), the ADM1032 computes the CRC value over only the second half of
6177ebd8b66SMauro Carvalho Chehabthe message rather than its entirety, because it thinks the first half
6187ebd8b66SMauro Carvalho Chehabof the message belongs to a different transaction. As a result, the CRC
6197ebd8b66SMauro Carvalho Chehabvalue differs from what the SMBus master expects, and all reads fail.
6207ebd8b66SMauro Carvalho Chehab
6217ebd8b66SMauro Carvalho ChehabFor this reason, the lm90 driver will enable PEC for the ADM1032 only if
6227ebd8b66SMauro Carvalho Chehabthe bus supports the SMBus Send Byte and Receive Byte transaction types.
6237ebd8b66SMauro Carvalho ChehabThese transactions will be used to read register values, instead of
6247ebd8b66SMauro Carvalho ChehabSMBus Read Byte, and PEC will work properly.
6257ebd8b66SMauro Carvalho Chehab
6267ebd8b66SMauro Carvalho ChehabAdditionally, the ADM1032 doesn't support SMBus Send Byte with PEC.
6277ebd8b66SMauro Carvalho ChehabInstead, it will try to write the PEC value to the register (because the
6287ebd8b66SMauro Carvalho ChehabSMBus Send Byte transaction with PEC is similar to a Write Byte transaction
6297ebd8b66SMauro Carvalho Chehabwithout PEC), which is not what we want. Thus, PEC is explicitly disabled
6307ebd8b66SMauro Carvalho Chehabon SMBus Send Byte transactions in the lm90 driver.
6317ebd8b66SMauro Carvalho Chehab
6327ebd8b66SMauro Carvalho ChehabPEC on byte data transactions represents a significant increase in bandwidth
6337ebd8b66SMauro Carvalho Chehabusage (+33% for writes, +25% for reads) in normal conditions. With the need
6347ebd8b66SMauro Carvalho Chehabto use two SMBus transaction for reads, this overhead jumps to +50%. Worse,
6357ebd8b66SMauro Carvalho Chehabtwo transactions will typically mean twice as much delay waiting for
6367ebd8b66SMauro Carvalho Chehabtransaction completion, effectively doubling the register cache refresh time.
6377ebd8b66SMauro Carvalho ChehabI guess reliability comes at a price, but it's quite expensive this time.
6387ebd8b66SMauro Carvalho Chehab
6393b0982ffSGuenter RoeckSo, as not everyone might enjoy the slowdown, PEC is disabled by default and
6403b0982ffSGuenter Roeckcan be enabled through sysfs. Just write 1 to the "pec" file and PEC will be
6413b0982ffSGuenter Roeckenabled. Write 0 to that file to disable PEC again.
642