summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/iio/adc/sigma-delta-modulator.yaml
blob: a390343d0c2a636ff3ddac11f338ea4c701c1880 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/iio/adc/sigma-delta-modulator.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Device-Tree bindings for sigma delta modulator

maintainers:
  - Arnaud Pouliquen <arnaud.pouliquen@st.com>

properties:
  compatible:
    description: |
      "sd-modulator" can be used as a generic SD modulator,
      if the modulator is not specified in the compatible list.
    enum:
      - sd-modulator
      - ads1201

  '#io-channel-cells':
    const: 0

required:
  - compatible
  - '#io-channel-cells'

additionalProperties: false

examples:
  - |
    ads1202: adc {
      compatible = "sd-modulator";
      #io-channel-cells = <0>;
    };

...