Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/iio/temperature/maxim,max31865.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Maxim MAX31865 Resistance Temperature Detector.
0008 
0009 maintainers:
0010   - Navin Sankar Velliangiri <navin@linumiz.com>
0011 
0012 description: |
0013   https://datasheets.maximintegrated.com/en/ds/MAX31865.pdf
0014 
0015 properties:
0016   compatible:
0017     const: maxim,max31865
0018 
0019   reg:
0020     maxItems: 1
0021 
0022   maxim,3-wire:
0023     description:
0024       Identifies the number of wires used by the RTD. Setting this property
0025       enables 3-wire RTD connection. Else 2-wire or 4-wire RTD connection.
0026     type: boolean
0027 
0028   spi-max-frequency: true
0029   spi-cpha: true
0030 
0031 required:
0032   - compatible
0033   - reg
0034   - spi-cpha
0035 
0036 additionalProperties: false
0037 
0038 examples:
0039   - |
0040     spi {
0041        #address-cells = <1>;
0042        #size-cells = <0>;
0043 
0044        temp_sensor@0 {
0045          compatible = "maxim,max31865";
0046          reg = <0>;
0047          spi-max-frequency = <400000>;
0048          spi-cpha;
0049          maxim,3-wire;
0050        };
0051     };
0052 ...