Based on kernel version 6.11
. Page generated on 2024-09-24 08:21 EST
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) %YAML 1.2 --- $id: http://devicetree.org/schemas/iio/temperature/maxim,max31855k.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: Maxim MAX31855 and similar thermocouples maintainers: - Matt Ranostay <matt.ranostay@konsulko.com> description: | https://datasheets.maximintegrated.com/en/ds/MAX6675.pdf https://datasheets.maximintegrated.com/en/ds/MAX31855.pdf properties: compatible: description: The generic maxim,max31855 compatible is deprecated in favour of the thermocouple type specific variants. enum: - maxim,max6675 - maxim,max31855 - maxim,max31855k - maxim,max31855j - maxim,max31855n - maxim,max31855s - maxim,max31855t - maxim,max31855e - maxim,max31855r reg: maxItems: 1 spi-cpha: true required: - compatible - reg allOf: - $ref: /schemas/spi/spi-peripheral-props.yaml# - if: properties: compatible: contains: enum: - maxim,max6675 then: required: - spi-cpha else: properties: spi-cpha: false unevaluatedProperties: false examples: - | spi { #address-cells = <1>; #size-cells = <0>; temp-sensor@0 { compatible = "maxim,max31855k"; reg = <0>; spi-max-frequency = <4300000>; }; temp-sensor@1 { compatible = "maxim,max6675"; reg = <1>; spi-max-frequency = <4300000>; spi-cpha; }; }; ... |