Analog Devices Fast PulSAR Analog to Digital Converters

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

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

Maintainers (maintainers): "Michael Hennerich <Michael.Hennerich@analog.com>", "Nuno Sá <nuno.sa@analog.com>"

A family of single channel differential analog to digital converters.

* https://www.analog.com/en/products/ad7625.html * https://www.analog.com/en/products/ad7626.html * https://www.analog.com/en/products/ad7960.html * https://www.analog.com/en/products/ad7961.html

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "adi,ad7625", "adi,ad7626", "adi,ad7960", "adi,ad7961"

vdd1-supply — required here #

true — No constraints added by this property rule.

vdd2-supply — required here #

true — No constraints added by this property rule.

vio-supply — required here #

true — No constraints added by this property rule.

ref-supply — not listed as required here #

Voltage regulator for the external reference voltage (REF).

refin-supply — not listed as required here #

Voltage regulator for the reference buffer input (REFIN).

clocks — required here #

The clock connected to the CLK pins, gated by the clk_gate PWM.

Maximum number of items (maxItems): 1

pwms — required here #

Array item rules (items) #

Item 1

PWM connected to the CNV input on the ADC.

Item 2

PWM that gates the clock connected to the ADC's CLK input.

pwm-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "cnv"

Item 2

Exact value (const): "clk_gate"

io-backends — required here #

The AXI ADC IP block connected to the D+/- and DCO+/- lines of the ADC. An example backend can be found at http://analogdevicesinc.github.io/hdl/projects/pulsar_lvds/index.html.

Maximum number of items (maxItems): 1

adi,no-dco — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

Indicates the wiring of the DCO+/- lines. If true, then they are grounded and the device is in self-clocked mode. If this is not present, then the device is in echoed clock mode.

adi,en0-always-on — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

Indicates if EN0 is hard-wired to the high state. If neither this nor en0-gpios are present, then EN0 is hard-wired low.

adi,en1-always-on — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

Indicates if EN1 is hard-wired to the high state. If neither this nor en1-gpios are present, then EN1 is hard-wired low.

adi,en2-always-on — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

Indicates if EN2 is hard-wired to the high state. If neither this nor en2-gpios are present, then EN2 is hard-wired low.

adi,en3-always-on — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

Indicates if EN3 is hard-wired to the high state. If neither this nor en3-gpios are present, then EN3 is hard-wired low.

en0-gpios — not listed as required here #

Configurable EN0 pin.

en1-gpios — not listed as required here #

Configurable EN1 pin.

en2-gpios — not listed as required here #

Configurable EN2 pin.

en3-gpios — not listed as required here #

Configurable EN3 pin.

Required in this object (required): "compatible", "vdd1-supply", "vdd2-supply", "vio-supply", "clocks", "pwms", "pwm-names", "io-backends"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Required in this object (required): "ref-supply"

When the condition matches (then) #

Properties and child nodes (properties)

refin-supply — not listed as required here

false — Not permitted by this property rule.

Rule 2 #

Condition (if) #

Required in this object (required): "refin-supply"

When the condition matches (then) #

Properties and child nodes (properties)

ref-supply — not listed as required here

false — Not permitted by this property rule.

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "adi,ad7625", "adi,ad7626"

When the condition matches (then) #

Properties and child nodes (properties)

en2-gpios — not listed as required here

false — Not permitted by this property rule.

en3-gpios — not listed as required here

false — Not permitted by this property rule.

adi,en2-always-on — not listed as required here

false — Not permitted by this property rule.

adi,en3-always-on — not listed as required here

false — Not permitted by this property rule.

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "adi,ad7960", "adi,ad7961"

When the condition matches (then) #

Exactly one of these rules must match (oneOf)

Rule 1

Required in this object (required): "ref-supply"

Rule 2

Required in this object (required): "refin-supply"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
adc {
    compatible = "adi,ad7625";
    vdd1-supply = <&supply_5V>;
    vdd2-supply = <&supply_2_5V>;
    vio-supply = <&supply_2_5V>;
    io-backends = <&axi_adc>;
    clocks = <&ref_clk>;
    pwms = <&axi_pwm_gen 0 0>, <&axi_pwm_gen 1 0>;
    pwm-names = "cnv", "clk_gate";
    en0-gpios = <&gpio0 86 GPIO_ACTIVE_HIGH>;
    en1-gpios = <&gpio0 87 GPIO_ACTIVE_HIGH>;
};

Source notes #

Annotations retained from the schema source

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

Line 155: ad796x parts must have one of the two supplies

Edit this page