Path: blob/master/Documentation/devicetree/bindings/iio/temperature/maxim,max31856.yaml
26309 views
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/iio/temperature/maxim,max31856.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Maxim MAX31856 thermocouple support78maintainers:9- Jonathan Cameron <jic23@kernel.org>1011description: |12https://datasheets.maximintegrated.com/en/ds/MAX31856.pdf1314properties:15compatible:16const: maxim,max318561718reg:19maxItems: 12021spi-cpha: true2223thermocouple-type:24$ref: /schemas/types.yaml#/definitions/uint3225description:26Type of thermocouple (THERMOCOUPLE_TYPE_K if omitted).27Use defines in dt-bindings/iio/temperature/thermocouple.h.28Supported types are B, E, J, K, N, R, S, T.2930required:31- compatible32- reg33- spi-cpha3435allOf:36- $ref: /schemas/spi/spi-peripheral-props.yaml#3738unevaluatedProperties: false3940examples:41- |42#include <dt-bindings/iio/temperature/thermocouple.h>43spi {44#address-cells = <1>;45#size-cells = <0>;4647temp-sensor@0 {48compatible = "maxim,max31856";49reg = <0>;50spi-max-frequency = <5000000>;51spi-cpha;52thermocouple-type = <THERMOCOUPLE_TYPE_K>;53};54};55...565758