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/sigma-delta-modulator.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Sigma delta modulator 8 9maintainers: 10 - Arnaud Pouliquen <arnaud.pouliquen@foss.st.com> 11 12properties: 13 compatible: 14 description: | 15 "sd-modulator" can be used as a generic SD modulator, 16 if the modulator is not specified in the compatible list. 17 enum: 18 - sd-modulator 19 - ads1201 20 21 '#io-backend-cells': 22 const: 0 23 24 '#io-channel-cells': 25 const: 0 26 27required: 28 - compatible 29 30anyOf: 31 - required: ['#io-backend-cells'] 32 - required: ['#io-channel-cells'] 33 34additionalProperties: false 35 36examples: 37 - | 38 // Backend binding example. SD modulator configured as an IIO backend device 39 ads1201_0: adc { 40 compatible = "sd-modulator"; 41 #io-backend-cells = <0>; 42 }; 43 44 - | 45 // Legacy binding example. SD modulator configured as an IIO channel provider 46 ads1201_1: adc { 47 compatible = "sd-modulator"; 48 #io-channel-cells = <0>; 49 }; 50 51... 52