brintos

brintos / linux-shallow public Read only

0
0
Text · 1.6 KiB · 0805ed7 Raw
77 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/iio/temperature/maxim,max31855k.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Maxim MAX31855 and similar thermocouples8 9maintainers:10  - Matt Ranostay <matt.ranostay@konsulko.com>11 12description: |13  https://datasheets.maximintegrated.com/en/ds/MAX6675.pdf14  https://datasheets.maximintegrated.com/en/ds/MAX31855.pdf15 16properties:17  compatible:18    description:19      The generic maxim,max31855 compatible is deprecated in favour of20      the thermocouple type specific variants.21    enum:22      - maxim,max667523      - maxim,max3185524      - maxim,max31855k25      - maxim,max31855j26      - maxim,max31855n27      - maxim,max31855s28      - maxim,max31855t29      - maxim,max31855e30      - maxim,max31855r31 32  reg:33    maxItems: 134 35  spi-cpha: true36 37required:38  - compatible39  - reg40 41allOf:42  - $ref: /schemas/spi/spi-peripheral-props.yaml#43  - if:44      properties:45        compatible:46          contains:47            enum:48              - maxim,max667549    then:50      required:51        - spi-cpha52    else:53      properties:54        spi-cpha: false55 56unevaluatedProperties: false57 58examples:59  - |60    spi {61        #address-cells = <1>;62        #size-cells = <0>;63 64        temp-sensor@0 {65            compatible = "maxim,max31855k";66            reg = <0>;67            spi-max-frequency = <4300000>;68        };69        temp-sensor@1 {70            compatible = "maxim,max6675";71            reg = <1>;72            spi-max-frequency = <4300000>;73            spi-cpha;74        };75    };76...77