Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/sys/contrib/device-tree/Bindings/iio/temperature/max31856.txt
48525 views
1
Maxim MAX31856 thermocouple support
2
3
https://datasheets.maximintegrated.com/en/ds/MAX31856.pdf
4
5
Optional 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
9
Required 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
26