xref: /freebsd/sys/contrib/device-tree/Bindings/iio/temperature/max31856.txt (revision e6bfd18d21b225af6a0ed67ceeaf1293b7b9eba5)
1Maxim MAX31856 thermocouple support
2
3https://datasheets.maximintegrated.com/en/ds/MAX31856.pdf
4
5Optional property:
6	- thermocouple-type: Type of thermocouple (THERMOCOUPLE_TYPE_K if
7		omitted). Supported types are B, E, J, K, N, R, S, T.
8
9Required properties:
10	- compatible: must be "maxim,max31856"
11	- reg: SPI chip select number for the device
12	- spi-max-frequency: As per datasheet max. supported freq is 5000000
13	- spi-cpha: must be defined for max31856 to enable SPI mode 1
14
15	Refer to spi/spi-bus.txt for generic SPI slave bindings.
16
17 Example:
18	temp-sensor@0 {
19		compatible = "maxim,max31856";
20		reg = <0>;
21		spi-max-frequency = <5000000>;
22		spi-cpha;
23		thermocouple-type = <THERMOCOUPLE_TYPE_K>;
24	};
25