Sigma delta modulator

Schema identifier ($id): "http://devicetree.org/schemas/iio/adc/sigma-delta-modulator.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>"

Properties and child nodes (properties) #

compatible — required here #

"sd-modulator" can be used as a generic SD modulator, if the modulator is not specified in the compatible list.

Allowed values (enum): "sd-modulator", "ads1201"

#io-backend-cells — not listed as required here #

Exact value (const): 0

#io-channel-cells — not listed as required here #

Exact value (const): 0

vref-supply — not listed as required here #

Phandle to the vref input analog reference voltage.

Property dependencies (dependencies) #

vref-supply — applies when this property is present #

Also requires: "#io-backend-cells"

Required in this object (required): "compatible"

At least one of these rules must match (anyOf) #

Rule 1 #

Required in this object (required): "#io-backend-cells"

Rule 2 #

Required in this object (required): "#io-channel-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

// Backend binding example. SD modulator configured as an IIO backend device
ads1201_0: adc {
  compatible = "sd-modulator";
  vref-supply = <&vdd_adc>;
  #io-backend-cells = <0>;
};
// Legacy binding example. SD modulator configured as an IIO channel provider
ads1201_1: adc {
  compatible = "sd-modulator";
  #io-channel-cells = <0>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page