1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 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, 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.pdf 18 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7904_7914_7924.pdf 19 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7908_7918_7928.pdf 20 21properties: 22 compatible: 23 enum: 24 - adi,ad7904 25 - adi,ad7914 26 - adi,ad7923 27 - adi,ad7924 28 - adi,ad7908 29 - adi,ad7918 30 - adi,ad7928 31 32 reg: 33 maxItems: 1 34 35 refin-supply: 36 description: | 37 The regulator supply for ADC reference voltage. 38 39 adi,range-double: 40 description: Sets the analog input range from 0 to 2xVREF. 41 type: boolean 42 43 '#address-cells': 44 const: 1 45 46 '#size-cells': 47 const: 0 48 49required: 50 - compatible 51 - reg 52 53allOf: 54 - $ref: /schemas/spi/spi-peripheral-props.yaml# 55 56unevaluatedProperties: false 57 58examples: 59 - | 60 spi { 61 #address-cells = <1>; 62 #size-cells = <0>; 63 64 ad7928: adc@0 { 65 compatible = "adi,ad7928"; 66 reg = <0>; 67 spi-max-frequency = <25000000>; 68 refin-supply = <&adc_vref>; 69 70 #address-cells = <1>; 71 #size-cells = <0>; 72 }; 73 }; 74