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