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 Multi-sensor Temperature system
10 - Nuno Sá <nuno.sa@analog.com>
13 Analog Devices LTC2983 Multi-Sensor Digital Temperature Measurement System
14 https://www.analog.com/media/en/technical-documentation/data-sheets/2983fc.pdf
27 adi,mux-delay-config-us:
29 The LTC2983 performs 2 or 3 internal conversion cycles per temperature
30 result. Each conversion cycle is performed with different excitation and
31 input multiplexer configurations. Prior to each conversion, these
32 excitation circuits and input switch configurations are changed and an
33 internal 1ms delay ensures settling prior to the conversion cycle in most
34 cases. An extra delay can be configured using this property. The value is
35 rounded to nearest 100us.
38 adi,filter-notch-freq:
40 Set's the default setting of the digital filter. The default is
41 simultaneous 50/60Hz rejection.
46 - $ref: /schemas/types.yaml#/definitions/uint32
57 "@([1-9]|1[0-9]|20)$":
63 The channel number. It can be connected to one of the 20 channels of
69 description: Identifies the type of sensor connected to the device.
70 $ref: /schemas/types.yaml#/definitions/uint32
79 Represents a thermocouple sensor which is connected to one of the device
85 1 - Type J Thermocouple
86 2 - Type K Thermocouple
87 3 - Type E Thermocouple
88 4 - Type N Thermocouple
89 5 - Type R Thermocouple
90 6 - Type S Thermocouple
91 7 - Type T Thermocouple
92 8 - Type B Thermocouple
93 9 - Custom Thermocouple
95 - $ref: /schemas/types.yaml#/definitions/uint32
101 Boolean property which set's the thermocouple as single-ended.
104 adi,sensor-oc-current-microamp:
106 This property set's the pulsed current value applied during
108 enum: [10, 100, 500, 1000]
110 adi,cold-junction-handle:
112 Phandle which points to a sensor object responsible for measuring
113 the thermocouple cold junction temperature.
114 $ref: "/schemas/types.yaml#/definitions/phandle"
116 adi,custom-thermocouple:
118 This is a table, where each entry should be a pair of
119 voltage(mv)-temperature(K). The entries must be given in nv and uK
120 so that, the original values must be multiplied by 1000000. For
121 more details look at table 69 and 70.
122 Note should be signed, but dtc doesn't currently maintain the
125 - $ref: /schemas/types.yaml#/definitions/uint64-matrix
135 Represents a diode sensor which is connected to one of the device
140 description: Identifies the sensor as a diode.
142 - $ref: /schemas/types.yaml#/definitions/uint32
146 description: Boolean property which set's the diode as single-ended.
149 adi,three-conversion-cycles:
151 Boolean property which set's three conversion cycles removing
152 parasitic resistance effects between the LTC2983 and the diode.
157 Boolean property which enables a running average of the diode
158 temperature reading. This reduces the noise when the diode is used
159 as a cold junction temperature element on an isothermal block
160 where temperatures change slowly.
163 adi,excitation-current-microamp:
165 This property controls the magnitude of the excitation current
166 applied to the diode. Depending on the number of conversions
167 cycles, this property will assume different predefined values on
168 each cycle. Just set the value of the first cycle (1l).
169 enum: [10, 20, 40, 80]
171 adi,ideal-factor-value:
173 This property sets the diode ideality factor. The real value must
174 be multiplied by 1000000 to remove the fractional part. For more
175 information look at table 20 of the datasheet.
176 $ref: /schemas/types.yaml#/definitions/uint32
181 Represents a rtd sensor which is connected to one of the device channels.
196 16 - RTD PT-1000 (0.00375)
200 - $ref: /schemas/types.yaml#/definitions/uint32
206 Phandle pointing to a rsense object associated with this RTD.
207 $ref: "/schemas/types.yaml#/definitions/phandle"
211 Identifies the number of wires used by the RTD. Setting this
212 property to 5 means 4 wires with Kelvin Rsense.
214 - $ref: /schemas/types.yaml#/definitions/uint32
219 Boolean property which enables Rsense sharing, where one sense
220 resistor is used for multiple 2-, 3-, and/or 4-wire RTDs.
225 Boolean property which enables excitation current rotation to
226 automatically remove parasitic thermocouple effects. Note that
227 this property is not allowed for 2- and 3-wire RTDs.
230 adi,excitation-current-microamp:
232 This property controls the magnitude of the excitation current
234 enum: [5, 10, 25, 50, 100, 250, 500, 1000]
238 This property set the RTD curve used and the corresponding
239 Callendar-VanDusen constants. Look at table 30 of the datasheet.
241 - $ref: /schemas/types.yaml#/definitions/uint32
247 This is a table, where each entry should be a pair of
248 resistance(ohm)-temperature(K). The entries added here are in uohm
249 and uK. For more details values look at table 74 and 75.
251 - $ref: /schemas/types.yaml#/definitions/uint64-matrix
263 adi,current-rotate: [ "adi,rsense-share" ]
268 Represents a thermistor sensor which is connected to one of the device
274 19 - Thermistor 44004/44033 2.252kohm at 25°C
275 20 - Thermistor 44005/44030 3kohm at 25°C
276 21 - Thermistor 44007/44034 5kohm at 25°C
277 22 - Thermistor 44006/44031 10kohm at 25°C
278 23 - Thermistor 44008/44032 30kohm at 25°C
279 24 - Thermistor YSI 400 2.252kohm at 25°C
280 25 - Thermistor Spectrum 1003k 1kohm
281 26 - Thermistor Custom Steinhart-Hart
282 27 - Custom Thermistor
284 - $ref: /schemas/types.yaml#/definitions/uint32
290 Phandle pointing to a rsense object associated with this
292 $ref: "/schemas/types.yaml#/definitions/phandle"
296 Boolean property which set's the thermistor as single-ended.
301 Boolean property which enables Rsense sharing, where one sense
302 resistor is used for multiple thermistors. Note that this property
303 is ignored if adi,single-ended is set.
308 Boolean property which enables excitation current rotation to
309 automatically remove parasitic thermocouple effects.
312 adi,excitation-current-nanoamp:
314 This property controls the magnitude of the excitation current
315 applied to the thermistor. Value 0 set's the sensor in auto-range
318 - $ref: /schemas/types.yaml#/definitions/uint32
319 - enum: [0, 250, 500, 1000, 5000, 10000, 25000, 50000, 100000,
320 250000, 500000, 1000000]
322 adi,custom-thermistor:
324 This is a table, where each entry should be a pair of
325 resistance(ohm)-temperature(K). The entries added here are in uohm
326 and uK only for custom thermistors. For more details look at table
329 - $ref: /schemas/types.yaml#/definitions/uint64-matrix
336 adi,custom-steinhart:
338 Steinhart-Hart coefficients are also supported and can
339 be programmed into the device memory using this property. For
340 Steinhart sensors the coefficients are given in the raw
341 format. Look at table 82 for more information.
343 - $ref: /schemas/types.yaml#/definitions/uint32-array
352 adi,current-rotate: [ "adi,rsense-share" ]
356 description: Represents a channel which is being used as a direct adc.
360 description: Identifies the sensor as a direct adc.
362 - $ref: /schemas/types.yaml#/definitions/uint32
366 description: Boolean property which set's the adc as single-ended.
372 Represents a rsense which is connected to one of the device channels.
373 Rsense are used by thermistors and RTD's.
381 description: Identifies the sensor as a rsense.
383 - $ref: /schemas/types.yaml#/definitions/uint32
386 adi,rsense-val-milli-ohms:
388 Sets the value of the sense resistor. Look at table 20 of the
389 datasheet for information.
392 - adi,rsense-val-milli-ohms
399 additionalProperties: false
403 #include <dt-bindings/interrupt-controller/irq.h>
405 #address-cells = <1>;
408 sensor_ltc2983: ltc2983@0 {
409 compatible = "adi,ltc2983";
412 #address-cells = <1>;
415 interrupts = <20 IRQ_TYPE_EDGE_RISING>;
416 interrupt-parent = <&gpio>;
420 adi,sensor-type = <8>; //Type B
421 adi,sensor-oc-current-microamp = <10>;
422 adi,cold-junction-handle = <&diode5>;
427 adi,sensor-type = <28>;
432 adi,sensor-type = <29>;
433 adi,rsense-val-milli-ohms = <1200000>; //1.2Kohms
438 adi,sensor-type = <15>; //PT1000
439 /*2-wire, internal gnd, no current rotation*/
440 adi,number-of-wires = <2>;
442 adi,excitation-current-microamp = <500>;
443 adi,rsense-handle = <&rsense2>;
448 adi,sensor-type = <30>;
454 adi,sensor-type = <26>; //Steinhart
455 adi,rsense-handle = <&rsense2>;
456 adi,custom-steinhart = <0x00F371EC 0x12345678
457 0x2C0F8733 0x10018C66 0xA0FEACCD
458 0x90021D99>; //6 entries
463 adi,sensor-type = <9>; //custom thermocouple
465 adi,custom-thermocouple = /bits/ 64
467 <(-30200000) 99100000>,
468 <(-5300000) 135400000>,
470 <40200000 361200000>,
471 <55300000 522100000>,
472 <88300000 720300000>,
473 <132200000 811200000>,
474 <188700000 922500000>,
475 <460400000 1000000000>; //10 pairs