1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/iio/temperature/adi,ltc2983.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Analog Devices LTC2983, LTC2986, LTM2985 Multi-sensor Temperature system
10 - Nuno Sá <nuno.sa@analog.com>
13 Analog Devices LTC2983, LTC2984, LTC2986, LTM2985 Multi-Sensor Digital
14 Temperature Measurement Systems
16 https://www.analog.com/media/en/technical-documentation/data-sheets/2983fc.pdf
17 https://www.analog.com/media/en/technical-documentation/data-sheets/2984fb.pdf
18 https://www.analog.com/media/en/technical-documentation/data-sheets/29861fa.pdf
19 https://www.analog.com/media/en/technical-documentation/data-sheets/ltm2985.pdf
24 description: Sensor node common constraints
29 Channel number. Connects the sensor to the channel with this number
35 description: Type of sensor connected to the device.
36 $ref: /schemas/types.yaml#/definitions/uint32
60 adi,mux-delay-config-us:
62 Extra delay prior to each conversion, in addition to the internal 1ms
63 delay, for the multiplexer to switch input configurations and
66 This property is supposed to be in microseconds, but to maintain
67 compatibility, this value will be multiplied by 100 before usage.
71 adi,filter-notch-freq:
73 Notch frequency of the digital filter.
77 $ref: /schemas/types.yaml#/definitions/uint32
90 $ref: '#/$defs/sensor-node'
91 unevaluatedProperties: false
93 description: Thermocouple sensor.
98 1 - Type J Thermocouple
99 2 - Type K Thermocouple
100 3 - Type E Thermocouple
101 4 - Type N Thermocouple
102 5 - Type R Thermocouple
103 6 - Type S Thermocouple
104 7 - Type T Thermocouple
105 8 - Type B Thermocouple
106 9 - Custom Thermocouple
107 $ref: /schemas/types.yaml#/definitions/uint32
112 description: Whether the sensor is single-ended.
115 adi,sensor-oc-current-microamp:
116 description: Pulsed current value applied during open-circuit detect.
117 enum: [10, 100, 500, 1000]
120 adi,cold-junction-handle:
122 Sensor responsible for measuring the thermocouple cold junction
124 $ref: /schemas/types.yaml#/definitions/phandle
126 adi,custom-thermocouple:
128 Used for digitizing custom thermocouples.
129 See Page 59 of the datasheet.
130 $ref: /schemas/types.yaml#/definitions/int64-matrix
135 - description: Voltage point in nV, signed.
136 - description: Temperature point in uK.
145 - adi,custom-thermocouple
148 $ref: '#/$defs/sensor-node'
149 unevaluatedProperties: false
151 description: Diode sensor.
155 description: Sensor type for diodes.
156 $ref: /schemas/types.yaml#/definitions/uint32
160 description: Whether the sensor is single-ended.
163 adi,three-conversion-cycles:
165 Whether to use three conversion cycles to remove parasitic
166 resistance between the device and the diode.
171 Whether to use a running average of the diode temperature
172 reading to reduce the noise when the diode is used as a cold
173 junction temperature element on an isothermal block where
174 temperatures change slowly.
177 adi,excitation-current-microamp:
179 Magnitude of the 1l excitation current applied to the diode.
180 4l excitation current will be 4 times this value, and 8l
181 excitation current will be 8 times value.
182 enum: [10, 20, 40, 80]
185 adi,ideal-factor-value:
187 Diode ideality factor.
188 Set this property to 1000000 times the real value.
189 $ref: /schemas/types.yaml#/definitions/uint32
193 $ref: '#/$defs/sensor-node'
194 unevaluatedProperties: false
195 description: RTD sensor.
210 16 - RTD PT-1000 (0.00375)
213 $ref: /schemas/types.yaml#/definitions/uint32
218 description: Associated sense resistor sensor.
219 $ref: /schemas/types.yaml#/definitions/phandle
223 Number of wires used by the RTD.
224 5 means 4 wires with Kelvin sense resistor.
225 $ref: /schemas/types.yaml#/definitions/uint32
231 Whether to enable sense resistor sharing, where one sense
232 resistor is used by multiple sensors.
235 adi,excitation-current-microamp:
236 description: Excitation current applied to the RTD.
237 enum: [5, 10, 25, 50, 100, 250, 500, 1000]
242 RTD curve and the corresponding Callendar-VanDusen constants.
247 $ref: /schemas/types.yaml#/definitions/uint32
254 Used for digitizing custom RTDs.
255 See Page 62 of the datasheet.
256 $ref: /schemas/types.yaml#/definitions/uint64-matrix
261 - description: Resistance point in uOhms.
262 - description: Temperature point in uK.
276 Whether to enable excitation current rotation to automatically
277 remove parasitic thermocouple effects.
281 adi,current-rotate: [ "adi,rsense-share" ]
292 $ref: '#/$defs/sensor-node'
293 unevaluatedProperties: false
294 description: Thermistor sensor.
299 19 - Thermistor 44004/44033 2.252kohm at 25°C
300 20 - Thermistor 44005/44030 3kohm at 25°C
301 21 - Thermistor 44007/44034 5kohm at 25°C
302 22 - Thermistor 44006/44031 10kohm at 25°C
303 23 - Thermistor 44008/44032 30kohm at 25°C
304 24 - Thermistor YSI 400 2.252kohm at 25°C
305 25 - Thermistor Spectrum 1003k 1kohm
306 26 - Thermistor Custom Steinhart-Hart
307 27 - Custom Thermistor
308 $ref: /schemas/types.yaml#/definitions/uint32
313 description: Associated sense resistor sensor.
314 $ref: /schemas/types.yaml#/definitions/phandle
317 description: Whether the sensor is single-ended.
322 Whether to enable sense resistor sharing, where one sense
323 resistor is used by multiple sensors.
328 Whether to enable excitation current rotation to automatically
329 remove parasitic thermocouple effects.
332 adi,excitation-current-nanoamp:
334 Excitation current applied to the thermistor.
335 0 sets the sensor in auto-range mode.
336 enum: [0, 250, 500, 1000, 5000, 10000, 25000, 50000, 100000, 250000,
340 adi,custom-thermistor:
342 Used for digitizing custom thermistors.
343 See Page 65 of the datasheet.
344 $ref: /schemas/types.yaml#/definitions/uint64-matrix
349 - description: Resistance point in uOhms.
350 - description: Temperature point in uK.
352 adi,custom-steinhart:
354 Steinhart-Hart coefficients in raw format, used for digitizing
356 See Page 68 of the datasheet.
357 $ref: /schemas/types.yaml#/definitions/uint32-array
365 adi,current-rotate: [ "adi,rsense-share" ]
374 adi,excitation-current-nanoamp:
375 enum: [250, 500, 1000, 5000, 10000, 25000, 50000, 100000,
376 250000, 500000, 1000000]
379 - adi,custom-steinhart
386 adi,excitation-current-nanoamp:
387 enum: [250, 500, 1000, 5000, 10000, 25000, 50000, 100000,
388 250000, 500000, 1000000]
391 - adi,custom-thermistor
394 $ref: '#/$defs/sensor-node'
395 unevaluatedProperties: false
396 description: Direct ADC sensor.
400 description: Sensor type for direct ADC sensors.
401 $ref: /schemas/types.yaml#/definitions/uint32
405 description: Whether the sensor is single-ended.
409 $ref: '#/$defs/sensor-node'
410 unevaluatedProperties: false
411 description: Active analog temperature sensor.
415 description: Sensor type for active analog temperature sensors.
416 $ref: /schemas/types.yaml#/definitions/uint32
420 description: Whether the sensor is single-ended.
425 Used for digitizing active analog temperature sensors.
426 See Page 67 of the LTM2985 datasheet.
427 $ref: /schemas/types.yaml#/definitions/uint64-matrix
432 - description: Voltage point in nV, signed.
433 - description: Temperature point in uK.
439 $ref: '#/$defs/sensor-node'
440 unevaluatedProperties: false
441 description: Sense resistor sensor.
449 description: Sensor type sense resistor sensors.
450 $ref: /schemas/types.yaml#/definitions/uint32
453 adi,rsense-val-milli-ohms:
454 description: Value of the sense resistor.
457 - adi,rsense-val-milli-ohms
464 additionalProperties: false
480 #include <dt-bindings/interrupt-controller/irq.h>
482 #address-cells = <1>;
485 temperature-sensor@0 {
486 compatible = "adi,ltc2983";
489 #address-cells = <1>;
492 interrupts = <20 IRQ_TYPE_EDGE_RISING>;
493 interrupt-parent = <&gpio>;
497 adi,sensor-type = <8>; //Type B
498 adi,sensor-oc-current-microamp = <10>;
499 adi,cold-junction-handle = <&diode5>;
504 adi,sensor-type = <28>;
509 adi,sensor-type = <29>;
510 adi,rsense-val-milli-ohms = <1200000>; //1.2Kohms
515 adi,sensor-type = <15>; //PT1000
516 /*2-wire, internal gnd, no current rotation*/
517 adi,number-of-wires = <2>;
519 adi,excitation-current-microamp = <500>;
520 adi,rsense-handle = <&rsense2>;
525 adi,sensor-type = <30>;
531 adi,sensor-type = <26>; //Steinhart
532 adi,rsense-handle = <&rsense2>;
533 adi,custom-steinhart = <0x00f371ec 0x12345678
534 0x2c0f8733 0x10018c66 0xa0feaccd
535 0x90021d99>; //6 entries
540 adi,sensor-type = <9>; //custom thermocouple
542 adi,custom-thermocouple =
543 /bits/ 64 <(-50220000) 0>,
544 /bits/ 64 <(-30200000) 99100000>,
545 /bits/ 64 <(-5300000) 135400000>,
546 /bits/ 64 <0 273150000>,
547 /bits/ 64 <40200000 361200000>,
548 /bits/ 64 <55300000 522100000>,
549 /bits/ 64 <88300000 720300000>,
550 /bits/ 64 <132200000 811200000>,
551 /bits/ 64 <188700000 922500000>,
552 /bits/ 64 <460400000 1000000000>; //10 pairs