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 '#address-cells': 40 const: 1 41 42 '#size-cells': 43 const: 0 44 45required: 46 - compatible 47 - reg 48 49allOf: 50 - $ref: /schemas/spi/spi-peripheral-props.yaml# 51 52unevaluatedProperties: false 53 54examples: 55 - | 56 spi { 57 #address-cells = <1>; 58 #size-cells = <0>; 59 60 ad7928: adc@0 { 61 compatible = "adi,ad7928"; 62 reg = <0>; 63 spi-max-frequency = <25000000>; 64 refin-supply = <&adc_vref>; 65 66 #address-cells = <1>; 67 #size-cells = <0>; 68 }; 69 }; 70