82 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/adc/adi,ad7923.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Analog Devices AD7923 and similars with 4 and 8 Channel ADCs.8 9maintainers:10 - Michael Hennerich <michael.hennerich@analog.com>11 12description: |13 Analog Devices AD7904, AD7914, AD7923, AD7924 4 Channel ADCs, and AD7908,14 AD7918, AD7927, AD7928 8 Channels ADCs.15 16 Specifications about the part can be found at:17 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7923.pdf18 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7904_7914_7924.pdf19 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7908_7918_7928.pdf20 21properties:22 compatible:23 oneOf:24 - enum:25 - adi,ad790426 - adi,ad790827 - adi,ad791428 - adi,ad791829 - adi,ad792330 - adi,ad792831 - const: adi,ad792432 deprecated: true33 - items:34 - const: adi,ad792435 - const: adi,ad792336 - items:37 - const: adi,ad792738 - const: adi,ad792839 40 reg:41 maxItems: 142 43 refin-supply:44 description: |45 The regulator supply for ADC reference voltage.46 47 adi,range-double:48 description: Sets the analog input range from 0 to 2xVREF.49 type: boolean50 51 '#address-cells':52 const: 153 54 '#size-cells':55 const: 056 57required:58 - compatible59 - reg60 61allOf:62 - $ref: /schemas/spi/spi-peripheral-props.yaml#63 64unevaluatedProperties: false65 66examples:67 - |68 spi {69 #address-cells = <1>;70 #size-cells = <0>;71 72 ad7928: adc@0 {73 compatible = "adi,ad7928";74 reg = <0>;75 spi-max-frequency = <25000000>;76 refin-supply = <&adc_vref>;77 78 #address-cells = <1>;79 #size-cells = <0>;80 };81 };82