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.
45 $ref: /schemas/types.yaml#/definitions/uint32
56 "@([1-9]|1[0-9]|20)$":
62 The channel number. It can be connected to one of the 20 channels of
68 description: Identifies the type of sensor connected to the device.
69 $ref: /schemas/types.yaml#/definitions/uint32
78 Represents a thermocouple sensor which is connected to one of the device
84 1 - Type J Thermocouple
85 2 - Type K Thermocouple
86 3 - Type E Thermocouple
87 4 - Type N Thermocouple
88 5 - Type R Thermocouple
89 6 - Type S Thermocouple
90 7 - Type T Thermocouple
91 8 - Type B Thermocouple
92 9 - Custom Thermocouple
93 $ref: /schemas/types.yaml#/definitions/uint32
99 Boolean property which set's the thermocouple as single-ended.
102 adi,sensor-oc-current-microamp:
104 This property set's the pulsed current value applied during
106 enum: [10, 100, 500, 1000]
108 adi,cold-junction-handle:
110 Phandle which points to a sensor object responsible for measuring
111 the thermocouple cold junction temperature.
112 $ref: "/schemas/types.yaml#/definitions/phandle"
114 adi,custom-thermocouple:
116 This is a table, where each entry should be a pair of
117 voltage(mv)-temperature(K). The entries must be given in nv and uK
118 so that, the original values must be multiplied by 1000000. For
119 more details look at table 69 and 70.
120 Note should be signed, but dtc doesn't currently maintain the
122 $ref: /schemas/types.yaml#/definitions/uint64-matrix
132 Represents a diode sensor which is connected to one of the device
137 description: Identifies the sensor as a diode.
138 $ref: /schemas/types.yaml#/definitions/uint32
142 description: Boolean property which set's the diode as single-ended.
145 adi,three-conversion-cycles:
147 Boolean property which set's three conversion cycles removing
148 parasitic resistance effects between the LTC2983 and the diode.
153 Boolean property which enables a running average of the diode
154 temperature reading. This reduces the noise when the diode is used
155 as a cold junction temperature element on an isothermal block
156 where temperatures change slowly.
159 adi,excitation-current-microamp:
161 This property controls the magnitude of the excitation current
162 applied to the diode. Depending on the number of conversions
163 cycles, this property will assume different predefined values on
164 each cycle. Just set the value of the first cycle (1l).
165 enum: [10, 20, 40, 80]
167 adi,ideal-factor-value:
169 This property sets the diode ideality factor. The real value must
170 be multiplied by 1000000 to remove the fractional part. For more
171 information look at table 20 of the datasheet.
172 $ref: /schemas/types.yaml#/definitions/uint32
177 Represents a rtd sensor which is connected to one of the device channels.
192 16 - RTD PT-1000 (0.00375)
195 $ref: /schemas/types.yaml#/definitions/uint32
201 Phandle pointing to a rsense object associated with this RTD.
202 $ref: "/schemas/types.yaml#/definitions/phandle"
206 Identifies the number of wires used by the RTD. Setting this
207 property to 5 means 4 wires with Kelvin Rsense.
208 $ref: /schemas/types.yaml#/definitions/uint32
213 Boolean property which enables Rsense sharing, where one sense
214 resistor is used for multiple 2-, 3-, and/or 4-wire RTDs.
219 Boolean property which enables excitation current rotation to
220 automatically remove parasitic thermocouple effects. Note that
221 this property is not allowed for 2- and 3-wire RTDs.
224 adi,excitation-current-microamp:
226 This property controls the magnitude of the excitation current
228 enum: [5, 10, 25, 50, 100, 250, 500, 1000]
232 This property set the RTD curve used and the corresponding
233 Callendar-VanDusen constants. Look at table 30 of the datasheet.
234 $ref: /schemas/types.yaml#/definitions/uint32
240 This is a table, where each entry should be a pair of
241 resistance(ohm)-temperature(K). The entries added here are in uohm
242 and uK. For more details values look at table 74 and 75.
243 $ref: /schemas/types.yaml#/definitions/uint64-matrix
255 adi,current-rotate: [ "adi,rsense-share" ]
260 Represents a thermistor sensor which is connected to one of the device
266 19 - Thermistor 44004/44033 2.252kohm at 25°C
267 20 - Thermistor 44005/44030 3kohm at 25°C
268 21 - Thermistor 44007/44034 5kohm at 25°C
269 22 - Thermistor 44006/44031 10kohm at 25°C
270 23 - Thermistor 44008/44032 30kohm at 25°C
271 24 - Thermistor YSI 400 2.252kohm at 25°C
272 25 - Thermistor Spectrum 1003k 1kohm
273 26 - Thermistor Custom Steinhart-Hart
274 27 - Custom Thermistor
275 $ref: /schemas/types.yaml#/definitions/uint32
281 Phandle pointing to a rsense object associated with this
283 $ref: "/schemas/types.yaml#/definitions/phandle"
287 Boolean property which set's the thermistor as single-ended.
292 Boolean property which enables Rsense sharing, where one sense
293 resistor is used for multiple thermistors. Note that this property
294 is ignored if adi,single-ended is set.
299 Boolean property which enables excitation current rotation to
300 automatically remove parasitic thermocouple effects.
303 adi,excitation-current-nanoamp:
305 This property controls the magnitude of the excitation current
306 applied to the thermistor. Value 0 set's the sensor in auto-range
308 $ref: /schemas/types.yaml#/definitions/uint32
309 enum: [0, 250, 500, 1000, 5000, 10000, 25000, 50000, 100000, 250000,
312 adi,custom-thermistor:
314 This is a table, where each entry should be a pair of
315 resistance(ohm)-temperature(K). The entries added here are in uohm
316 and uK only for custom thermistors. For more details look at table
318 $ref: /schemas/types.yaml#/definitions/uint64-matrix
325 adi,custom-steinhart:
327 Steinhart-Hart coefficients are also supported and can
328 be programmed into the device memory using this property. For
329 Steinhart sensors the coefficients are given in the raw
330 format. Look at table 82 for more information.
331 $ref: /schemas/types.yaml#/definitions/uint32-array
340 adi,current-rotate: [ "adi,rsense-share" ]
344 description: Represents a channel which is being used as a direct adc.
348 description: Identifies the sensor as a direct adc.
349 $ref: /schemas/types.yaml#/definitions/uint32
353 description: Boolean property which set's the adc as single-ended.
359 Represents a rsense which is connected to one of the device channels.
360 Rsense are used by thermistors and RTD's.
368 description: Identifies the sensor as a rsense.
369 $ref: /schemas/types.yaml#/definitions/uint32
372 adi,rsense-val-milli-ohms:
374 Sets the value of the sense resistor. Look at table 20 of the
375 datasheet for information.
378 - adi,rsense-val-milli-ohms
385 additionalProperties: false
389 #include <dt-bindings/interrupt-controller/irq.h>
391 #address-cells = <1>;
394 sensor_ltc2983: ltc2983@0 {
395 compatible = "adi,ltc2983";
398 #address-cells = <1>;
401 interrupts = <20 IRQ_TYPE_EDGE_RISING>;
402 interrupt-parent = <&gpio>;
406 adi,sensor-type = <8>; //Type B
407 adi,sensor-oc-current-microamp = <10>;
408 adi,cold-junction-handle = <&diode5>;
413 adi,sensor-type = <28>;
418 adi,sensor-type = <29>;
419 adi,rsense-val-milli-ohms = <1200000>; //1.2Kohms
424 adi,sensor-type = <15>; //PT1000
425 /*2-wire, internal gnd, no current rotation*/
426 adi,number-of-wires = <2>;
428 adi,excitation-current-microamp = <500>;
429 adi,rsense-handle = <&rsense2>;
434 adi,sensor-type = <30>;
440 adi,sensor-type = <26>; //Steinhart
441 adi,rsense-handle = <&rsense2>;
442 adi,custom-steinhart = <0x00F371EC 0x12345678
443 0x2C0F8733 0x10018C66 0xA0FEACCD
444 0x90021D99>; //6 entries
449 adi,sensor-type = <9>; //custom thermocouple
451 adi,custom-thermocouple = /bits/ 64
453 <(-30200000) 99100000>,
454 <(-5300000) 135400000>,
456 <40200000 361200000>,
457 <55300000 522100000>,
458 <88300000 720300000>,
459 <132200000 811200000>,
460 <188700000 922500000>,
461 <460400000 1000000000>; //10 pairs