15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 25def4c47SEmmanuel Vadot%YAML 1.2 35def4c47SEmmanuel Vadot--- 45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/iio/temperature/maxim,max31856.yaml# 55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 65def4c47SEmmanuel Vadot 75def4c47SEmmanuel Vadottitle: Maxim MAX31856 thermocouple support 85def4c47SEmmanuel Vadot 95def4c47SEmmanuel Vadotmaintainers: 105def4c47SEmmanuel Vadot - Jonathan Cameron <jic23@kernel.org> 115def4c47SEmmanuel Vadot 125def4c47SEmmanuel Vadotdescription: | 135def4c47SEmmanuel Vadot https://datasheets.maximintegrated.com/en/ds/MAX31856.pdf 145def4c47SEmmanuel Vadot 155def4c47SEmmanuel Vadotproperties: 165def4c47SEmmanuel Vadot compatible: 175def4c47SEmmanuel Vadot const: maxim,max31856 185def4c47SEmmanuel Vadot 195def4c47SEmmanuel Vadot reg: 205def4c47SEmmanuel Vadot maxItems: 1 215def4c47SEmmanuel Vadot 225def4c47SEmmanuel Vadot spi-cpha: true 235def4c47SEmmanuel Vadot 245def4c47SEmmanuel Vadot thermocouple-type: 255def4c47SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 265def4c47SEmmanuel Vadot description: 275def4c47SEmmanuel Vadot Type of thermocouple (THERMOCOUPLE_TYPE_K if omitted). 285def4c47SEmmanuel Vadot Use defines in dt-bindings/iio/temperature/thermocouple.h. 295def4c47SEmmanuel Vadot Supported types are B, E, J, K, N, R, S, T. 305def4c47SEmmanuel Vadot 315def4c47SEmmanuel Vadotrequired: 325def4c47SEmmanuel Vadot - compatible 335def4c47SEmmanuel Vadot - reg 345def4c47SEmmanuel Vadot - spi-cpha 355def4c47SEmmanuel Vadot 36*7ef62cebSEmmanuel VadotallOf: 37*7ef62cebSEmmanuel Vadot - $ref: /schemas/spi/spi-peripheral-props.yaml# 38*7ef62cebSEmmanuel Vadot 39*7ef62cebSEmmanuel VadotunevaluatedProperties: false 405def4c47SEmmanuel Vadot 415def4c47SEmmanuel Vadotexamples: 425def4c47SEmmanuel Vadot - | 435def4c47SEmmanuel Vadot #include <dt-bindings/iio/temperature/thermocouple.h> 445def4c47SEmmanuel Vadot spi { 455def4c47SEmmanuel Vadot #address-cells = <1>; 465def4c47SEmmanuel Vadot #size-cells = <0>; 475def4c47SEmmanuel Vadot 485def4c47SEmmanuel Vadot temp-sensor@0 { 495def4c47SEmmanuel Vadot compatible = "maxim,max31856"; 505def4c47SEmmanuel Vadot reg = <0>; 515def4c47SEmmanuel Vadot spi-max-frequency = <5000000>; 525def4c47SEmmanuel Vadot spi-cpha; 535def4c47SEmmanuel Vadot thermocouple-type = <THERMOCOUPLE_TYPE_K>; 545def4c47SEmmanuel Vadot }; 555def4c47SEmmanuel Vadot }; 565def4c47SEmmanuel Vadot... 57