Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | |
| 7 | title: Sigma delta modulator |
| 8 | |
| 9 | maintainers: |
| 10 | - Arnaud Pouliquen <arnaud.pouliquen@foss.st.com> |
| 11 | |
| 12 | properties: |
| 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-channel-cells': |
| 22 | const: 0 |
| 23 | |
| 24 | required: |
| 25 | - compatible |
| 26 | - '#io-channel-cells' |
| 27 | |
| 28 | additionalProperties: false |
| 29 | |
| 30 | examples: |
| 31 | - | |
| 32 | ads1202: adc { |
| 33 | compatible = "sd-modulator"; |
| 34 | #io-channel-cells = <0>; |
| 35 | }; |
| 36 | |
| 37 | ... |