xref: /openbmc/linux/Documentation/devicetree/bindings/iio/adc/sigma-delta-modulator.yaml (revision 7ae9fb1b7ecbb5d85d07857943f677fd1a559b18)
157b8879cSOlivier Moysan# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
257b8879cSOlivier Moysan%YAML 1.2
357b8879cSOlivier Moysan---
457b8879cSOlivier Moysan$id: http://devicetree.org/schemas/iio/adc/sigma-delta-modulator.yaml#
557b8879cSOlivier Moysan$schema: http://devicetree.org/meta-schemas/core.yaml#
657b8879cSOlivier Moysan
7*9d69d47fSKrzysztof Kozlowskititle: Sigma delta modulator
857b8879cSOlivier Moysan
957b8879cSOlivier Moysanmaintainers:
10f4eedebdSPatrice Chotard  - Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
1157b8879cSOlivier Moysan
1257b8879cSOlivier Moysanproperties:
1357b8879cSOlivier Moysan  compatible:
1457b8879cSOlivier Moysan    description: |
1557b8879cSOlivier Moysan      "sd-modulator" can be used as a generic SD modulator,
1657b8879cSOlivier Moysan      if the modulator is not specified in the compatible list.
1757b8879cSOlivier Moysan    enum:
1857b8879cSOlivier Moysan      - sd-modulator
1957b8879cSOlivier Moysan      - ads1201
2057b8879cSOlivier Moysan
2157b8879cSOlivier Moysan  '#io-channel-cells':
2257b8879cSOlivier Moysan    const: 0
2357b8879cSOlivier Moysan
2457b8879cSOlivier Moysanrequired:
2557b8879cSOlivier Moysan  - compatible
2657b8879cSOlivier Moysan  - '#io-channel-cells'
2757b8879cSOlivier Moysan
2857b8879cSOlivier MoysanadditionalProperties: false
2957b8879cSOlivier Moysan
3057b8879cSOlivier Moysanexamples:
3157b8879cSOlivier Moysan  - |
3257b8879cSOlivier Moysan    ads1202: adc {
3357b8879cSOlivier Moysan      compatible = "sd-modulator";
3457b8879cSOlivier Moysan      #io-channel-cells = <0>;
3557b8879cSOlivier Moysan    };
3657b8879cSOlivier Moysan
3757b8879cSOlivier Moysan...
38