1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-C 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/iio/tempera 4 $id: http://devicetree.org/schemas/iio/temperature/maxim,max31865.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Maxim MAX31865 Resistance Temperature D 7 title: Maxim MAX31865 Resistance Temperature Detector. 8 8 9 maintainers: 9 maintainers: 10 - Navin Sankar Velliangiri <navin@linumiz.com 10 - Navin Sankar Velliangiri <navin@linumiz.com> 11 11 12 description: | 12 description: | 13 https://datasheets.maximintegrated.com/en/ds 13 https://datasheets.maximintegrated.com/en/ds/MAX31865.pdf 14 14 15 properties: 15 properties: 16 compatible: 16 compatible: 17 const: maxim,max31865 17 const: maxim,max31865 18 18 19 reg: 19 reg: 20 maxItems: 1 20 maxItems: 1 21 21 22 maxim,3-wire: 22 maxim,3-wire: 23 description: 23 description: 24 Identifies the number of wires used by t 24 Identifies the number of wires used by the RTD. Setting this property 25 enables 3-wire RTD connection. Else 2-wi 25 enables 3-wire RTD connection. Else 2-wire or 4-wire RTD connection. 26 type: boolean 26 type: boolean 27 27 28 spi-cpha: true 28 spi-cpha: true 29 29 30 required: 30 required: 31 - compatible 31 - compatible 32 - reg 32 - reg 33 - spi-cpha 33 - spi-cpha 34 34 35 allOf: 35 allOf: 36 - $ref: /schemas/spi/spi-peripheral-props.ya 36 - $ref: /schemas/spi/spi-peripheral-props.yaml# 37 37 38 unevaluatedProperties: false 38 unevaluatedProperties: false 39 39 40 examples: 40 examples: 41 - | 41 - | 42 spi { 42 spi { 43 #address-cells = <1>; 43 #address-cells = <1>; 44 #size-cells = <0>; 44 #size-cells = <0>; 45 45 46 temperature-sensor@0 { 46 temperature-sensor@0 { 47 compatible = "maxim,max31865"; 47 compatible = "maxim,max31865"; 48 reg = <0>; 48 reg = <0>; 49 spi-max-frequency = <400000>; 49 spi-max-frequency = <400000>; 50 spi-cpha; 50 spi-cpha; 51 maxim,3-wire; 51 maxim,3-wire; 52 }; 52 }; 53 }; 53 }; 54 ... 54 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.