summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/iio/temperature
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Bindings/iio/temperature')
-rw-r--r--dts/Bindings/iio/temperature/maxim_thermocouple.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/dts/Bindings/iio/temperature/maxim_thermocouple.txt b/dts/Bindings/iio/temperature/maxim_thermocouple.txt
new file mode 100644
index 0000000000..28bc5c4d96
--- /dev/null
+++ b/dts/Bindings/iio/temperature/maxim_thermocouple.txt
@@ -0,0 +1,21 @@
+Maxim thermocouple support
+
+* https://datasheets.maximintegrated.com/en/ds/MAX6675.pdf
+* https://datasheets.maximintegrated.com/en/ds/MAX31855.pdf
+
+Required properties:
+
+ - compatible: must be "maxim,max31855" or "maxim,max6675"
+ - reg: SPI chip select number for the device
+ - spi-max-frequency: must be 4300000
+ - spi-cpha: must be defined for max6675 to enable SPI mode 1
+
+ Refer to spi/spi-bus.txt for generic SPI slave bindings.
+
+Example:
+
+ max31855@0 {
+ compatible = "maxim,max31855";
+ reg = <0>;
+ spi-max-frequency = <4300000>;
+ };