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,max31855k.yaml# 55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 65def4c47SEmmanuel Vadot 75def4c47SEmmanuel Vadottitle: Maxim MAX31855 and similar thermocouples 85def4c47SEmmanuel Vadot 95def4c47SEmmanuel Vadotmaintainers: 105def4c47SEmmanuel Vadot - Matt Ranostay <matt.ranostay@konsulko.com> 115def4c47SEmmanuel Vadot 125def4c47SEmmanuel Vadotdescription: | 135def4c47SEmmanuel Vadot https://datasheets.maximintegrated.com/en/ds/MAX6675.pdf 145def4c47SEmmanuel Vadot https://datasheets.maximintegrated.com/en/ds/MAX31855.pdf 155def4c47SEmmanuel Vadot 165def4c47SEmmanuel Vadotproperties: 175def4c47SEmmanuel Vadot compatible: 185def4c47SEmmanuel Vadot description: 195def4c47SEmmanuel Vadot The generic maxim,max31855 compatible is deprecated in favour of 205def4c47SEmmanuel Vadot the thermocouple type specific variants. 215def4c47SEmmanuel Vadot enum: 225def4c47SEmmanuel Vadot - maxim,max6675 235def4c47SEmmanuel Vadot - maxim,max31855 245def4c47SEmmanuel Vadot - maxim,max31855k 255def4c47SEmmanuel Vadot - maxim,max31855j 265def4c47SEmmanuel Vadot - maxim,max31855n 275def4c47SEmmanuel Vadot - maxim,max31855s 285def4c47SEmmanuel Vadot - maxim,max31855t 295def4c47SEmmanuel Vadot - maxim,max31855e 305def4c47SEmmanuel Vadot - maxim,max31855r 315def4c47SEmmanuel Vadot 325def4c47SEmmanuel Vadot reg: 335def4c47SEmmanuel Vadot maxItems: 1 345def4c47SEmmanuel Vadot 355def4c47SEmmanuel Vadot spi-cpha: true 365def4c47SEmmanuel Vadot 375def4c47SEmmanuel Vadotrequired: 385def4c47SEmmanuel Vadot - compatible 395def4c47SEmmanuel Vadot - reg 405def4c47SEmmanuel Vadot 415def4c47SEmmanuel VadotallOf: 42*7ef62cebSEmmanuel Vadot - $ref: /schemas/spi/spi-peripheral-props.yaml# 435def4c47SEmmanuel Vadot - if: 445def4c47SEmmanuel Vadot properties: 455def4c47SEmmanuel Vadot compatible: 465def4c47SEmmanuel Vadot contains: 475def4c47SEmmanuel Vadot enum: 485def4c47SEmmanuel Vadot - maxim,max6675 495def4c47SEmmanuel Vadot then: 505def4c47SEmmanuel Vadot required: 515def4c47SEmmanuel Vadot - spi-cpha 525def4c47SEmmanuel Vadot else: 535def4c47SEmmanuel Vadot properties: 545def4c47SEmmanuel Vadot spi-cpha: false 555def4c47SEmmanuel Vadot 56*7ef62cebSEmmanuel VadotunevaluatedProperties: false 575def4c47SEmmanuel Vadot 585def4c47SEmmanuel Vadotexamples: 595def4c47SEmmanuel Vadot - | 605def4c47SEmmanuel Vadot spi { 615def4c47SEmmanuel Vadot #address-cells = <1>; 625def4c47SEmmanuel Vadot #size-cells = <0>; 635def4c47SEmmanuel Vadot 645def4c47SEmmanuel Vadot temp-sensor@0 { 655def4c47SEmmanuel Vadot compatible = "maxim,max31855k"; 665def4c47SEmmanuel Vadot reg = <0>; 675def4c47SEmmanuel Vadot spi-max-frequency = <4300000>; 685def4c47SEmmanuel Vadot }; 695def4c47SEmmanuel Vadot temp-sensor@1 { 705def4c47SEmmanuel Vadot compatible = "maxim,max6675"; 715def4c47SEmmanuel Vadot reg = <1>; 725def4c47SEmmanuel Vadot spi-max-frequency = <4300000>; 735def4c47SEmmanuel Vadot spi-cpha; 745def4c47SEmmanuel Vadot }; 755def4c47SEmmanuel Vadot }; 765def4c47SEmmanuel Vadot... 77