Analog Devices AD485X family

Schema identifier ($id): "http://devicetree.org/schemas/iio/adc/adi,ad4851.yaml#"

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

Maintainers (maintainers): "Sergiu Cuciurean <sergiu.cuciurean@analog.com>", "Dragos Bogdan <dragos.bogdan@analog.com>", "Antoniu Miclaus <antoniu.miclaus@analog.com>"

Analog Devices AD485X fully buffered, 8-channel simultaneous sampling, 16/20-bit, 1 MSPS data acquisition system (DAS) with differential, wide common-mode range inputs.

https://www.analog.com/media/en/technical-documentation/data-sheets/ad4855.pdf https://www.analog.com/media/en/technical-documentation/data-sheets/ad4856.pdf https://www.analog.com/media/en/technical-documentation/data-sheets/ad4857.pdf https://www.analog.com/media/en/technical-documentation/data-sheets/ad4858.pdf

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "adi,ad4851", "adi,ad4852", "adi,ad4853", "adi,ad4854", "adi,ad4855", "adi,ad4856", "adi,ad4857", "adi,ad4858", "adi,ad4858i"

reg — required here #

Maximum number of items (maxItems): 1

vcc-supply — required here #

true — No constraints added by this property rule.

vee-supply — required here #

true — No constraints added by this property rule.

vdd-supply — required here #

true — No constraints added by this property rule.

vddh-supply — not listed as required here #

true — No constraints added by this property rule.

vddl-supply — not listed as required here #

true — No constraints added by this property rule.

vio-supply — required here #

true — No constraints added by this property rule.

vrefbuf-supply — not listed as required here #

true — No constraints added by this property rule.

vrefio-supply — not listed as required here #

true — No constraints added by this property rule.

pwms — required here #

PWM connected to the CNV pin.

Maximum number of items (maxItems): 1

io-backends — not listed as required here #

Maximum number of items (maxItems): 1

pd-gpios — not listed as required here #

Maximum number of items (maxItems): 1

spi-max-frequency — not listed as required here #

Maximum value (maximum): 25000000

spi-3wire — not listed as required here #

true — No constraints added by this property rule.

#address-cells — not listed as required here #

Exact value (const): 1

#size-cells — not listed as required here #

Exact value (const): 0

Properties matching a name pattern (patternProperties) #

^channel(@[0-7])?$ — name matches this regular expression #

Shared schema rule ($ref): adc.yaml

Value type (type): "object"

Represents the channels which are connected to the ADC.

Properties and child nodes (properties) #

reg — required here

The channel number, as specified in the datasheet (from 0 to 7).

Minimum value (minimum): 0

Maximum value (maximum): 7

diff-channels — not listed as required here

Each channel can be configured as a bipolar differential channel. The ADC uses the same positive and negative inputs for this. This property must be specified as 'reg' (or the channel number) for both positive and negative inputs (i.e. diff-channels = <reg reg>). Since the configuration is bipolar differential, the 'bipolar' property is required.

Array item rules (items)

Minimum value (minimum): 0

Maximum value (maximum): 7

bipolar — not listed as required here

true — No constraints added by this property rule.

Required in this object (required): "reg"

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

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "vcc-supply", "vee-supply", "vdd-supply", "vio-supply", "pwms"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

spi {
    #address-cells = <1>;
    #size-cells = <0>;

    adc@0{
        #address-cells = <1>;
        #size-cells = <0>;
        compatible = "adi,ad4858";
        reg = <0>;
        spi-max-frequency = <10000000>;
        vcc-supply = <&vcc>;
        vdd-supply = <&vdd>;
        vee-supply = <&vee>;
        vddh-supply = <&vddh>;
        vddl-supply = <&vddl>;
        vio-supply = <&vio>;
        pwms = <&pwm_gen 0 0>;
        io-backends = <&iio_backend>;

        channel@0 {
          reg = <0>;
          diff-channels = <0 0>;
          bipolar;
        };

        channel@1 {
          reg = <1>;
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Line 2: Copyright 2024 Analog Devices Inc.

Edit this page