brintos

brintos / linux-shallow public Read only

0
0
Text · 1.9 KiB · a02036e Raw
78 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/iio/cdc/adi,ad7746.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: AD7746 24-Bit Capacitance-to-Digital Converter with Temperature Sensor8 9maintainers:10  - Michael Hennerich <michael.hennerich@analog.com>11 12description: |13  AD7746 24-Bit Capacitance-to-Digital Converter with Temperature Sensor14 15  Specifications about the part can be found at:16  https://www.analog.com/media/en/technical-documentation/data-sheets/ad7291.pdf17 18properties:19  compatible:20    enum:21      - adi,ad774522      - adi,ad774623      - adi,ad774724 25  reg:26    maxItems: 127 28  adi,excitation-vdd-permille:29    description: |30      Set VDD per mille to be used as the excitation voltage.31    $ref: /schemas/types.yaml#/definitions/uint3232    enum: [125, 250, 375, 500]33 34  adi,exca-output-en:35    description: Enables the EXCA pin as the excitation output.36    type: boolean37 38  adi,exca-output-invert:39    description: |40      Inverts the excitation output in the EXCA pin.41      Normally only one of the EXCX pins would be inverted, check the following42      application notes for more details43      https://www.analog.com/media/en/technical-documentation/application-notes/AN-1585.pdf44    type: boolean45 46  adi,excb-output-en:47    description: Enables the EXCB pin as the excitation output.48    type: boolean49 50  adi,excb-output-invert:51    description: Inverts the excitation output in the EXCB pin.52    type: boolean53 54required:55  - compatible56  - reg57 58additionalProperties: false59 60examples:61  - |62    i2c {63      #address-cells = <1>;64      #size-cells = <0>;65 66      ad7746: cdc@48 {67        compatible = "adi,ad7746";68        reg = <0x48>;69        adi,excitation-vdd-permille = <125>;70 71        adi,exca-output-en;72        adi,exca-output-invert;73        adi,excb-output-en;74        adi,excb-output-invert;75      };76    };77...78