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
136 Represents a diode sensor which is connected to one of the device
141 description: Identifies the sensor as a diode.
143 - $ref: /schemas/types.yaml#/definitions/uint32
147 description: Boolean property which set's the diode as single-ended.
150 adi,three-conversion-cycles:
152 Boolean property which set's three conversion cycles removing
153 parasitic resistance effects between the LTC2983 and the diode.
158 Boolean property which enables a running average of the diode
159 temperature reading. This reduces the noise when the diode is used
160 as a cold junction temperature element on an isothermal block
161 where temperatures change slowly.
164 adi,excitation-current-microamp:
166 This property controls the magnitude of the excitation current
167 applied to the diode. Depending on the number of conversions
168 cycles, this property will assume different predefined values on
169 each cycle. Just set the value of the first cycle (1l).
170 enum: [10, 20, 40, 80]
172 adi,ideal-factor-value:
174 This property sets the diode ideality factor. The real value must
175 be multiplied by 1000000 to remove the fractional part. For more
176 information look at table 20 of the datasheet.
177 $ref: /schemas/types.yaml#/definitions/uint32
182 Represents a rtd sensor which is connected to one of the device channels.
197 16 - RTD PT-1000 (0.00375)
201 - $ref: /schemas/types.yaml#/definitions/uint32
207 Phandle pointing to a rsense object associated with this RTD.
208 $ref: "/schemas/types.yaml#/definitions/phandle"
212 Identifies the number of wires used by the RTD. Setting this
213 property to 5 means 4 wires with Kelvin Rsense.
215 - $ref: /schemas/types.yaml#/definitions/uint32
220 Boolean property which enables Rsense sharing, where one sense
221 resistor is used for multiple 2-, 3-, and/or 4-wire RTDs.
226 Boolean property which enables excitation current rotation to
227 automatically remove parasitic thermocouple effects. Note that
228 this property is not allowed for 2- and 3-wire RTDs.
231 adi,excitation-current-microamp:
233 This property controls the magnitude of the excitation current
235 enum: [5, 10, 25, 50, 100, 250, 500, 1000]
239 This property set the RTD curve used and the corresponding
240 Callendar-VanDusen constants. Look at table 30 of the datasheet.
242 - $ref: /schemas/types.yaml#/definitions/uint32
248 This is a table, where each entry should be a pair of
249 resistance(ohm)-temperature(K). The entries added here are in uohm
250 and uK. For more details values look at table 74 and 75.
252 - $ref: /schemas/types.yaml#/definitions/uint64-matrix
264 adi,current-rotate: [ adi,rsense-share ]
269 Represents a thermistor sensor which is connected to one of the device
275 19 - Thermistor 44004/44033 2.252kohm at 25°C
276 20 - Thermistor 44005/44030 3kohm at 25°C
277 21 - Thermistor 44007/44034 5kohm at 25°C
278 22 - Thermistor 44006/44031 10kohm at 25°C
279 23 - Thermistor 44008/44032 30kohm at 25°C
280 24 - Thermistor YSI 400 2.252kohm at 25°C
281 25 - Thermistor Spectrum 1003k 1kohm
282 26 - Thermistor Custom Steinhart-Hart
283 27 - Custom Thermistor
285 - $ref: /schemas/types.yaml#/definitions/uint32
291 Phandle pointing to a rsense object associated with this
293 $ref: "/schemas/types.yaml#/definitions/phandle"
297 Boolean property which set's the thermistor as single-ended.
302 Boolean property which enables Rsense sharing, where one sense
303 resistor is used for multiple thermistors. Note that this property
304 is ignored if adi,single-ended is set.
309 Boolean property which enables excitation current rotation to
310 automatically remove parasitic thermocouple effects.
313 adi,excitation-current-nanoamp:
315 This property controls the magnitude of the excitation current
316 applied to the thermistor. Value 0 set's the sensor in auto-range
319 - $ref: /schemas/types.yaml#/definitions/uint32
320 - enum: [0, 250, 500, 1000, 5000, 10000, 25000, 50000, 100000,
321 250000, 500000, 1000000]
323 adi,custom-thermistor:
325 This is a table, where each entry should be a pair of
326 resistance(ohm)-temperature(K). The entries added here are in uohm
327 and uK only for custom thermistors. For more details look at table
330 - $ref: /schemas/types.yaml#/definitions/uint64-matrix
338 adi,custom-steinhart:
340 Steinhart-Hart coefficients are also supported and can
341 be programmed into the device memory using this property. For
342 Steinhart sensors the coefficients are given in the raw
343 format. Look at table 82 for more information.
345 - $ref: /schemas/types.yaml#/definitions/uint32-array
354 adi,current-rotate: [ adi,rsense-share ]
358 description: Represents a channel which is being used as a direct adc.
362 description: Identifies the sensor as a direct adc.
364 - $ref: /schemas/types.yaml#/definitions/uint32
368 description: Boolean property which set's the adc as single-ended.
374 Represents a rsense which is connected to one of the device channels.
375 Rsense are used by thermistors and RTD's.
383 description: Identifies the sensor as a rsense.
385 - $ref: /schemas/types.yaml#/definitions/uint32
388 adi,rsense-val-milli-ohms:
390 Sets the value of the sense resistor. Look at table 20 of the
391 datasheet for information.
394 - adi,rsense-val-milli-ohms
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
475 460400000 1000000000>; //10 pairs