xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/temperature/maxim_thermocouple.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunMaxim thermocouple support
2*4882a593Smuzhiyun
3*4882a593Smuzhiyun* https://datasheets.maximintegrated.com/en/ds/MAX6675.pdf
4*4882a593Smuzhiyun* https://datasheets.maximintegrated.com/en/ds/MAX31855.pdf
5*4882a593Smuzhiyun
6*4882a593SmuzhiyunRequired properties:
7*4882a593Smuzhiyun
8*4882a593Smuzhiyun	- compatible: must be "maxim,max6675" or one of the following:
9*4882a593Smuzhiyun	   "maxim,max31855k", "maxim,max31855j", "maxim,max31855n",
10*4882a593Smuzhiyun	   "maxim,max31855s", "maxim,max31855t", "maxim,max31855e",
11*4882a593Smuzhiyun	   "maxim,max31855r"; the generic "max,max31855" is deprecated.
12*4882a593Smuzhiyun	- reg: SPI chip select number for the device
13*4882a593Smuzhiyun	- spi-max-frequency: must be 4300000
14*4882a593Smuzhiyun	- spi-cpha: must be defined for max6675 to enable SPI mode 1
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun	Refer to spi/spi-bus.txt for generic SPI slave bindings.
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunExample:
19*4882a593Smuzhiyun
20*4882a593Smuzhiyun	max31855@0 {
21*4882a593Smuzhiyun		compatible = "maxim,max31855k";
22*4882a593Smuzhiyun		reg = <0>;
23*4882a593Smuzhiyun		spi-max-frequency = <4300000>;
24*4882a593Smuzhiyun	};
25