Files
linux-cryptodev-2.6/Documentation/devicetree/bindings/iio/temperature/maxim,max31856.yaml
Jonathan Cameron 17d1ffdfb6 dt-bindings:iio:temperature:maxim,max31856 yaml conversion.
Simple txt to yaml conversion of this binding.
Paresh Chaudhary's email is bouncing so for now I've listed
myself as maintainer.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20201031134110.724233-28-jic23@kernel.org
2020-11-16 20:13:08 +00:00

55 lines
1.2 KiB
YAML

# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/iio/temperature/maxim,max31856.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Maxim MAX31856 thermocouple support
maintainers:
- Jonathan Cameron <jic23@kernel.org>
description: |
https://datasheets.maximintegrated.com/en/ds/MAX31856.pdf
properties:
compatible:
const: maxim,max31856
reg:
maxItems: 1
spi-max-frequency: true
spi-cpha: true
thermocouple-type:
$ref: /schemas/types.yaml#/definitions/uint32
description:
Type of thermocouple (THERMOCOUPLE_TYPE_K if omitted).
Use defines in dt-bindings/iio/temperature/thermocouple.h.
Supported types are B, E, J, K, N, R, S, T.
required:
- compatible
- reg
- spi-cpha
additionalProperties: false
examples:
- |
#include <dt-bindings/iio/temperature/thermocouple.h>
spi {
#address-cells = <1>;
#size-cells = <0>;
temp-sensor@0 {
compatible = "maxim,max31856";
reg = <0>;
spi-max-frequency = <5000000>;
spi-cpha;
thermocouple-type = <THERMOCOUPLE_TYPE_K>;
};
};
...